1,581
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Files modified in USBaspLoader.2010-07-2 (yes, they should be in github. I'll get onto it dreckly.) | Files modified in USBaspLoader.2010-07-2 (yes, they should be in github. I'll get onto it dreckly.) | ||
===Notes & warnings:=== | |||
Don't use the 'make fuse' part. The default fuses used by the serial bootloader are fine and these don't make sense with the datasheet. Just use 'make main.hex', or set up the PROGRAMMER macro and use 'make flash'. I haven't tried to add this build to the ALLHEXFILES target and it probably makes no sense to do so, as the changes I made to usbconfig.h won't generate valid output for the other targets. | Don't use the 'make fuse' part. The default fuses used by the serial bootloader are fine and these don't make sense with the datasheet. Just use 'make main.hex', or set up the PROGRAMMER macro and use 'make flash'. I haven't tried to add this build to the ALLHEXFILES target and it probably makes no sense to do so, as the changes I made to usbconfig.h won't generate valid output for the other targets. | ||
| Line 30: | Line 30: | ||
There's a possible bug in the loader : it doesn't seem to move the interrupt vectors back down to the app code after using them for the bootloader. I think this might get corrected by the arduino runtime, but it would be better done in the bootloader in case code is loaded that assumes the AVR is straight out of reset. | There's a possible bug in the loader : it doesn't seem to move the interrupt vectors back down to the app code after using them for the bootloader. I think this might get corrected by the arduino runtime, but it would be better done in the bootloader in case code is loaded that assumes the AVR is straight out of reset. | ||
===Useful links=== | |||
*[http://forums.obdev.at/viewtopic.php?p=4436 http://forums.obdev.at/viewtopic.php?p=4436 ] Instructions for getting the correct permissions for the USB device in Linux | |||
*[http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=85342 http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=85342] Comment about interrupt vector table | |||
*[http://blog.schicks.net/wp-content/uploads/2009/09/bootloader_faq.pdf Bootloader FAQ] | |||
*[http://vusb.wikidot.com/troubleshooting http://vusb.wikidot.com/troubleshooting] Warning about compiler (wasn't a problem in the end) | |||
===Config files=== | |||
<nowiki> | <nowiki> | ||