This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IAR and DFU problem

Hi 

I'd like to debug my code from IAR with nrf52840dk.

I'm using nrf5_SDK_thread_zigbee_v4.1.0.

I got this error after uploading the code inside the nf52840 dk

==>ELF/DWARF Error: Unsupported .debug_info format version: 4

I've checked the makefile, it's aligned with forum comment "-gdwarf-3"

If I remove "include debug information in output" in linker=>output, I can't debug the code, could you help me?

thanks 

Parents
  • Hi,

    Is it a custom library or a SDK library that uses this debug format? Also, which one of the SDK examples are you testing with? I tried the Thread bootloader (\thread\dfu\bootloader) which uses the uECC library, but did not get this error.

  • Hi

    I use nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8

    I can't compile \thread\dfu\bootloader, I got this error " Fatal Error[Pe1696]: cannot open source file "uECC.h" 

    I'm interested in coap example and I have tested simple coap client in thread\simple coap client, I can compile project with IAR 7.80 using the following mdk "nRF_MDK_8_27_0_IAR_NordicLicense.msi" provided by the sdk, but if I want debugging the firmware through the segger chip included in the nrf52840dk , I can't because I have these issues

    Tue Jun 30, 2020 13:21:41: ELF/DWARF Error: Unsupported .debug_info format version: 4

    Tue Jun 30, 2020 13:21:42: Failed to load debugee: Nordic\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\thread\simple_coap_client\pca10056\blank\iar\_build\ thread_simple_coap_client_pca10056.out

Reply
  • Hi

    I use nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8

    I can't compile \thread\dfu\bootloader, I got this error " Fatal Error[Pe1696]: cannot open source file "uECC.h" 

    I'm interested in coap example and I have tested simple coap client in thread\simple coap client, I can compile project with IAR 7.80 using the following mdk "nRF_MDK_8_27_0_IAR_NordicLicense.msi" provided by the sdk, but if I want debugging the firmware through the segger chip included in the nrf52840dk , I can't because I have these issues

    Tue Jun 30, 2020 13:21:41: ELF/DWARF Error: Unsupported .debug_info format version: 4

    Tue Jun 30, 2020 13:21:42: Failed to load debugee: Nordic\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\thread\simple_coap_client\pca10056\blank\iar\_build\ thread_simple_coap_client_pca10056.out

Children
Related