» LUFA mass storage question ?
I use Arduino Leonardo board for it..
Do a web search on "LUFA apitable_trampolines".
I believe it has something to do with the program too large for the flash memory.
* The following list indicates what microcontrollers are compatible with this demo.
Out of the box this bootloader builds for the AT90USB1287 with an 8KB bootloader section size, and will fit * into 6KB of bootloader space. If you wish to alter this size and/or change the AVR model, you will need to * edit the MCU, FLASH_SIZE_KB and BOOT_SECTION_SIZE_KB values in the accompanying makefile.
Where is "makefile" in atmel studio ?
Somewhere in the Project section.
Look in the upper right hand frame of the atmel studio ide.
How are you using LUFA in Studio?
If you downloaded the separate LUFA build tree then I would use the Makefile's that it already contains and in any AS7 project just use the "Use external Makefile" option. Don't be tempted to try and get AS7 to create projects that auto-generate Makefiles that "know" how to build LUFA - you will never succeed.
If, however you have added the "LUFA" extension to AS7 from the extension gallery then, like ASF, it uses a "Wizard" to create LUFA projects and it does know all the intricate detail of how to auto-generate Makefiles that will build LUFA. But in this case you should never be concerned with anything at the actual Makefile level. If you have read something that says "you need to do this .... in the Makefile" then you have to take "..." and do whatever it suggests in the configuration options of the Project you are building - which will then have a knock on effect into the auto-generated Makefiles.
Yes, I've been trying to run makefile manually, but now, my Leonardo unwriteable....I guess I corrupt the flash, I didn't change anything....but it happens..
How can I fix this atmega32U4....or no other way instead of unsoldering it ?
I got it fixed, with external clock 1MHz and change the fuse to external crystal....anyway what's the fuse setting for leonardo originally ?
If you dont load the bootloader, you get the 8k to use for lufa?
Oo, another fuse trouble again....now I can't talk to atmega32U4....any clues ? any possibilities using JTAG/paralell programming with another atmega board ?
Any other ways on overidding fuse ?