I'm making great progress in getting the WizNet 810MJ (now 811MJ) Ethernet module with IP aboard to interface via SPI to a mega128 using AvrX and 100% my own...
If you turn interrupts off you will reduce the possibility of your issue to just one instruction time slot. I wrote the code below in this way because I...
thanks. Worried about impact of cli() to interrupt latency, I looked at the code for AvrXCancelTimerMessage(). It has a "BeginCritical" (an asm macro for cli,...
stevech11 sez, ... Usually I would expect that a function like AvrXCancelTimerMessage() would be thread safe. BeginCritical sure seems like an indication that...
He's extending the time interrupts are off in order to reduce the likelihood of a race condition where a timer expires after a message is handled, but before...
Right, Dean. I don't see any way to avoid using the cli() to eliminate the race condition. A new AvrXAPI call could be created to do the work (cancel a timer...
AvrXCancelTimerMessage was written to do the right thing regardless of the state of the system. If you get your message or semaphore from the ISR, calling ...
Larry - thanks very much. From the documents, it wasn't apparent that AvrXCancelTimerMessage() does as said below. I've created a MS Word and PDF document on...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the avrx group. File : /AvrX API Docs...
avrx@yahoogroups.com
Apr 12, 2008 3:02 am
1742
User written API files are in the folder in the "Files" section here http://finance.groups.yahoo.com/group/avrx/files/AvrX%20API%20Docs%20User-written%20/...
Yes. Your interpretation is correct. The only odd case is if the timer goes off just prior to the ISR so the timer is on the message queue ahead of the ISR...
Larry - right, so when I've just found a timer message item on the queue, I do a AvrXRecvMessage() on the same queue to ensure the queue is empty. As you say,...
User written API files are in the folder in the "Files" section here http://finance.groups.yahoo.com/group/avrx/files/AvrX%20API%20Docs%20User-writte\ n%20/...
Hi, I just noticed that the AVRX version for the IAR compiler is lagging that for the GCC compiler. Does this mean that the bugs fixed to get to 2.16g for GCC...
All it means is that I stopped trying to keep AvrX working on the IAR compilers. 99% of the code necessary to work with IAR is there, but someone needs to use...
Hello everyone! I'm new to the AVRX world and I would like to know if the ICCAVR compiler has a free version because I want to build the AVRX for the first...
ImageCraft is a good compiler. Well-optimized for AVR, and well supported by the small company that publishes it. http://www.imagecraft.com/ There is a 45-day...
Thank you all for your quick reply. Now I have al the tools prepared and ready to focus on deveoping apps. I would like to know if the AvrX modified for...
Hi, I was notified that BasicTest3 & 4 were not working in AvrX in C. The most recent versions of WinAVR seem to have revealed some hidden bugs which I've now...
Hi, I've updated my project to your version of AvrX and it works normally, as good as with Larrys code. What, exactly, was your problems you notified? ...
Brian, I tried to compile your AVRx in C with BasicTest1 and I get the following errors: Build started 3.5.2008 at 19:20:06 avr-gcc.exe -mmcu=atmega128 -Wall...
... Are you compiling from within AVR Studio? If so, I think this is getting the Makefile from somewhere other than the one I put in the zip file. When I...
Brian, you are correct, I forgot that AVRStudio creates its own makefile. After selecting "use external makefile" it build correctly. Thank you for the help...
Task A does AvrXSetSemaphore(&s) and the semaphore becomes SEM_DONE Later if Task A does AvrXTestSemaphore(&s) the semaphore becomes SEM_PEND (SEM_DONE is...
Hi all, I'm in the middle of writing a menu system for a mobile robot. I already use a handful of AvrX tasks on the robot. I would like to have a menu...
Hello, my name is gaurav and I´m new in this group! I have a problem with tht compiling of the AvrX 2.6e modified to ATmega16. That is my error when I want to...
Hello friends! I am working with the AvrX 2.6f on Atmega128 microcontroller. I am doing a Rs485 comunication with one PC sending the information that I gather...