I have been trying to solve this problem for a few weeks now but am not making any progress, so am asking again if anyone can help.
The problem is following:
- with a reference project all is fine; the debugger downloads the code to the target.
- when any existing projects are imported to AVR32 studio all build normally. If a binary is generated, it can be successfully downloaded using the programming function and the code also runs normally. But when the debugger is activated it hangs at 61%. The same is true for two projects of different sizes (always 61%) [one just 10k and the other about 70k] that have been imported. There is no error message apart from when the download is aborted (after a few minutes of waiting) indicating that here was a user interruption.
The ELF file (from which the bin is generate) seems normally valid (debug level chosen doesn't help).
So what could cause the debug download to hang in the case of these imported projects whereby standard examples work?
If anyone is interested in helping solve this I have attached a zip containing the bin and the elf (the elf is quite large since g3 debugging is set).
This is a small serial boot loader for the EVK1105 board - when it runs it blinks LED0 and there is a menu on the USART.
The bin file works correctly - downloading via AVR32 programmer. The elf seems to also cause the AVR32 debugger to hang - although probably not the same case as trying to debug since it hangs at 0%.