I have a project which I build using GCC from a makefile. This generates an elf file output of about 130k size. In my make file I convert it to binary using objcopy. This I download to the board in AVR32 studio using the program command - the download takes a few seconds or so and the board then runs correctly.
I have tried a few times in the past to get the project to work with AVR32 studio but have always failed to get it to load and debug. Now I have upgraded to AVR32 - 2.5 and GCC 2.4.2 to see whether anything has changed.
Since I can't find a way of getting AVR32 studio to use my (known-good) make file I let it import the project and use a managed make. The project builds normally (all objects are generated and there are no errors) but the ELF file that is generated is about 6.5Meg bytes in size(?). Trying to load the ELF to the board results in it hanging at 61% each time after a couple of minutes of loading something and then having to kill the process.
If I try to generate a BIN from the ELF using avr32-objcopy the binary file that is created has a size of 0 bytes (no error messages though). AVR32 can however view the symbols in the ELF file, so it can't be just filled with rubbish.
Does anyone know whether it is possible to configure AVR32 to automatically generate the binary - maybe it has more success that way(?).
Any other tips to getting started? (eg. is it possible to find the make file that AVR32 studio has created and is using?)