From: Robert Q. <da...@de...> - 2010-09-12 21:34:40
|
I've got another build for anyone interested in my CDC-ECM jackdaw branch. This one has a lot of additional changes and cleanups. It should work in Windows, Linux, and MacOS X. (Although on windows you don't get the debug serial port yet...) <http://svn.deepdarc.com/code/contiki/builds/ravenusbstick-2.x-cdcecm/ravenusbstick-878.elf> <http://svn.deepdarc.com/code/contiki/builds/ravenusbstick-2.x-cdcecm/ravenusbstick-878.hex> <http://svn.deepdarc.com/code/contiki/branches/contiki-2.x-cdcecm/> Some of the changes: * If a valid MAC can't be found in the EEPROM, generate a new valid one randomly. (Uses a RNG I added to the avr-ravenusb platform) * MAC addresses are no longer stored in that weird reverse order in RAM. This cleans up a lot of code. * I've added a new "settings" system for storing and retrieving arbitrary configuration settings. It is a key-value store which uses a 16-bit integer as the key. This way code doesn't have to reply on hard-coded EEPROM offsets to retrieve settings. * I've removed most of the jackdaw-specific stuff from the avr cpu directory, replaced with "hook" macros. The hook macros are defined in contiki-conf.h so that application-specific logic can be substituted more easily. * The energy scan mode should now work properly. * This version also supports the DFU bootloader! You can install the bootloader and then use the bootloader to load this firmware. You can then jump back to the bootloader by shorting the TX-RX pins on the bottom of the board while plugging it in (a wet finger will work), or by pressing 'D' from the USB serial debug menu. * Channel changes are now stored in the EEPROM, and will be remembered across power cycles. Let me know how it works for you! At some point soon I want to start cleaning up my changes for merging into the main trunk. Feel free to look thru the code changes and let me know your thoughts. __________________ Robert Quattlebaum Jabber: da...@de... eMail: da...@de... www: http://www.deepdarc.com/ |