Hi, stephane, I'm successfully using malloc on mega128 with 60kilobytes external RAM and AVRX, also with WinAvr, but not the last version. My version is...
Cool! Thanks for the reply. I got frustrated and I just used a big array of structures in a pseudo-malloc arrangement (have a node_init() function return a...
You can simply allocate an array (or for that matter malloc()) the kernel stack. Just pass the pointer to the *end* of the array+1 to AvrXSetKernelStack()....
malloc *is* the heap. Malloc uses the empty space between the last data block and the bottom of the stack (C assumes a single thread with one stack). I don't...
Hi all again. malloc is smart enough to be used with AVRX. refer to http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user- manual/ (section related...
Sounds great. Thanks for al the info. I'm starting with the basic non-RTOS program and static pointer to External SRAM test. I have it working except it...
AvrXSetStack(0) just copies the SP that main() has. In Marin's case, the default SP was set to internal SRAM, not external and that blew up when his declared...
I'm not so familiar with gcc assembler. I think my setup actually the same, but without any additional files. Linker options allow to set all these symbols...
Thanks for the excellent summary. I'm building up to this slowly. I've tested my 32K SRAM using pure GCC (no AvrX) and it works fine. I'll try AvrX soon. I...
The only thing special about the 128 is the high 64k of FLASH. I guess AvrX wouldn't know how to access TCBs located in that area. Even GCC doesn't know how...
Thanks. I'll play around that soon. Up to now, everything is working, I have nearly 51K code and 10K static data. I wait to see what will happen when I pass...
Hello, When I compile an assembly file using winavr and run it in VMLAB / AVR studio I am unable to place breakpoints in the code. I have attached sample code...
Hi, ... As I am remember this was a question on another AVR-Mailinglist. If I have it correct in my mind, it is a problem of objtool which didn't support the...
I have two questions relating to message queues. 1) What limits the number of messages in a message queue? 2) When sending a message to the queue, is the queue...
Message queues are a linked list of messages. Each message has to be unique. There is no error checking for trying to add a message twice, but if you do that...
Could you test the semaphore of the message before sending it, say if( message.mcb.semaphore == SEM_PEND ) AvrXSendMessage( &messQueue, &message ); or some...
Could you do something like testing the semaphore of the message before sending since the semaphore is part of the message struct? if( theMessage.mcb.semaphore...
AvrX was written to be as lean as possible for small systems. Hence there is little or no error checking. It was up to the coder to insure that a block of...
I have not been able to locate a reference to this problem in the archives. Compiling the MessageTimers example from avrx2.6e with avrgcc for a AT90S8515 with...
The problem has been fixed. avrx.a was compiled for the AT90S8515 and the example files were incorrectly compiled for the AT90S8535. Have taken a good tour of...
Yes, if you build the monitor (avrx) code with the wrong cpu the Tx and Rx interrupt vectors get placed in the wrong slots and the results is "A" being printed...
WinAVR 10030312 is installed and have run some demos on the STK500 with an 8515. Downloaded AVRX 2.6 and spent the evening trying to get monitor.s to compile....
... wrong. ... Thanks for the tip Larry. Got 2.6e and it compiled the avrx directory just fine. Then when I went to the examples, there were several problems....
I'm trying to find out if anyone knows of any company that offers video e-mail for consumers or companies? If you do know of anyone, plesae let me know. Best...