February 15, 2010
about 5 years ago
Impossible for me to flash the sample code to the device :
- I did a backup of the orginal flash in the device
- I try to program the device doing this :
1/ unpack the 16 MHz version code http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip
2/ replace main.c by the 8 MHz version provided above
4/ Program the device : avrdude -F -p m328p -P /dev/ttyUSB0 -c arduino -b 19200 -U flash:w:main.hex
Step 1/ and 2/ are needed because the complete source code of the 8MHz version is not provided but only the main.c (why ???)
–> After the device is not working anymore. I have tried to modified the code to only make the LED blinking and it works.
Function i2Cinit seems to lock the device
- When I flash back the orginal hex, the device works.
Any idea ?
Anyone succeed any re-compiling the provided source ?
No public wish lists :(
Forgot your password?
No account? Register one!