Rev 409 | Blame | Compare with Previous | Last modification | View Log | Download
AVRcam Release 1.41/16/2005Whats New in v1.4:-Greatly improved the issue where the AVRcam would potentiallylock up in particular situations (especially after lots of framedumps). This was due to a combination of bugs, which have all been fixed:-turned off interrupts in certain critical sections that were missedpreviously-only allow PCLK to be piped into timer1 when needed (i.e., when dumpinga line or tracking a frame).-allowed the main executive to check both the fast event bitmask as wellas the normal event queue on each pass of the main executiveI'll be curious to hear if this has completely fixed the issue (I haven'tseen it happen after ~500 frame dumps, but the real test is whenothers try it :-). Also note: an input voltage below 6 volts willcause the system to work sometimes and lock up others. The input voltageregulator really wants to see a 6V minimum. I had drained8 AA NiMH batteries down to where they were only providing ~4.8 V at theinput. The system worked for a little while, and then started lockingup. I immediately changed batteries and everything was fine.-Improved how the colorMap gets written to EEPROM. Now, beforeeach byte in the colorMap is written to EEPROM, a check of thecurrent value in EEPROM is made to see if the old value matchesthe new value. If so, the write is skipped. Also, after a valueis written, it is read back to ensure that it is correct, andwill re-write up to three times if needed.-Moved the UART rx ISR to the UartInterface.c file, instead of havingit in its own UartInterfaceAsm.S file. The ISR is in C now.-Added a revision history to each source file so that people cansee the changes on a per-version basis.---Misc Info about AVRcam---* The AVRcam source files were built using the WinAVR distribution(version 3.3.1 of GCC). I haven't tested other versions of GCC,but they should compile without too much difficulty. The makefileused to build the source is included.* Currently, the AVRcam only works at a baud rate of 115.2 kbps. Iam in the process of working on autobaud routines that will set thebaud rate automatically at start up. I'm pretty sure the systemshould be able to track 8 objects all the way down to a baud rateof 38.4 kbps. Check back to www.jrobot.net for more info about theAVRcam.* Different portions of the code are #ifdef'ed in or out to showthe various debugging that can be turned on in the system. Thedebugging mechanisms are typically for dumping additional informationout to a serial terminal for viewing, and are not intended to workwith the AVRcamVIEW PC application. The code, as released, doesn'thave any debugging features turned on.* For more info about the AVRcam, check out http://www.jrobot.netJohn OrlandoJanuary 16, 2005