Hello All,
I am working on nRF51822 use IAR nRF5 SDK 12.3.0.
I am trying to debug the DFU in IAR. At that time i got an error show below
I use IAR version show below,
So pleas give me solution as sson as possible.
Thanks & regards,
Urvisha Andani
Hello All,
I am working on nRF51822 use IAR nRF5 SDK 12.3.0.
I am trying to debug the DFU in IAR. At that time i got an error show below
I use IAR version show below,
So pleas give me solution as sson as possible.
Thanks & regards,
Urvisha Andani
Hi,
It because of the uECC library. The debug information generated by GCC is not compatible with IAR. Try to compile the library without '-g' or compile with '-gdwarf-3' to override the default DWARF version.
hi,
Thanks for reply.
Can you please share step to compile uECC? I have downloaded uECC library from github but haven't compile it.
Hi,
I have run this script and output is shown below,
But still having the same error.
Hi,
You need to change the compile flag in the Makefile as well: "CFLAGS += -Wall -Werror -Os -g3" --> "CFLAGS += -Wall -Werror -Os -gdwarf-3"
Hi,
Thanks for reply.
I haven't got this error but still advertisement is not start and debug window show like below,


And I have also try to scan my device in nRF connect application but not show in my device.
Which memory variant of the 51 are you using? And does the bootloader work if you just program it nrfjprog, etc.?
Memory setting is as like below,

And use nRF51822 QFAA.
Memory setting is as like below,

And use nRF51822 QFAA.
The memory settings are for the 32K RAM variant, while your chip has 16K. Try to change the RAM end address to 0x20004000 and start address to 0x20002500.
Edit: RAM base must be at least 0x200025e0 for the bootloader in SDK 12.3.0
Actually I am using mdbt40 custom board in which nRF51822 use.And in this module 32K RAM is available showing in specification of mdBT40 and link is given below,
https://www.seeedstudio.com/MDBT40-256RV3-nRF51822-based-BLE-module.html
I also change of RAM address as you told but not run show like below,

The APP RAM base must be 0x200025e0. Can you try this and see if you get the same result?
Thanks for the input by following them my problem got resolved.