Hello,
I got a strange error message when I try to load and debug my application. Each time I start debugging the following error occurs:
..
06.11.13 21:40:48 Found 2 JTAG devices, Total IRLen = 9:
06.11.13 21:40:48 #0 Id: 0x4BA00477, IRLen: 4, IRPrint: 0x1 CoreSight JTAG-DP
06.11.13 21:40:48 #1 Id: 0x06413041, IRLen: 5, IRPrint: 0x1 STM32 Boundary Scan
06.11.13 21:40:52 ELF/DWARF Error: Unexpected exception
06.11.13 21:40:52 Fatal error: Unknown exception in driver 8 Session aborted!
A attached the full debug log, if that helps. My setup is IAR Ewarm 6.4 with Eclipse, the target is a STM32F407ZE. The Log shows, that I used version V4.56d of the segger tools but I also have the problem with the newest version V4.78f.
The strange thing is, that the error occurs depending on the code that I compile. The project has previously worked fine and I was able to flash and debug. But when I add a call to a library function the above error occurs. The Library itself is also used on other code segements and works properly. The call to the one specific function adds about 20KBytes of ROM code to the flash file. Maybe it has something to do with that, but neither the compiler nor the linker complain about size. The section sizes seem to be ok and should fit in the controller.
Is there a way to check the elf-file? Maybe loading the file into the target using the J-Link commander? Is it possible to get some more detailed error log from the segger tools?
If it helps I could also provide the elf file but not in public.
I got a strange error message when I try to load and debug my application. Each time I start debugging the following error occurs:
..
06.11.13 21:40:48 Found 2 JTAG devices, Total IRLen = 9:
06.11.13 21:40:48 #0 Id: 0x4BA00477, IRLen: 4, IRPrint: 0x1 CoreSight JTAG-DP
06.11.13 21:40:48 #1 Id: 0x06413041, IRLen: 5, IRPrint: 0x1 STM32 Boundary Scan
06.11.13 21:40:52 ELF/DWARF Error: Unexpected exception
06.11.13 21:40:52 Fatal error: Unknown exception in driver 8 Session aborted!
A attached the full debug log, if that helps. My setup is IAR Ewarm 6.4 with Eclipse, the target is a STM32F407ZE. The Log shows, that I used version V4.56d of the segger tools but I also have the problem with the newest version V4.78f.
The strange thing is, that the error occurs depending on the code that I compile. The project has previously worked fine and I was able to flash and debug. But when I add a call to a library function the above error occurs. The Library itself is also used on other code segements and works properly. The call to the one specific function adds about 20KBytes of ROM code to the flash file. Maybe it has something to do with that, but neither the compiler nor the linker complain about size. The section sizes seem to be ok and should fit in the controller.
Is there a way to check the elf-file? Maybe loading the file into the target using the J-Link commander? Is it possible to get some more detailed error log from the segger tools?
If it helps I could also provide the elf file but not in public.