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

Device not run after executed "make flash".

Development software:

1. SDK 12.3.0

2. 51822 module

3. GCC

Computer platform:

1. OSX

Hardware version:

51822AA

Description:

I used the original hex in the sdk example to burn to the module, the module can run. but the hex complied by the code can not run. These two hexs are also different in size.

the original hex in the sdk example:

the hex complied by myself:

Do I need to modify the Makefile or ld file?

Parents
  • Hello,

    The pre-compiled hex is merged with the Softdevice (Nordic Bluetooth stack). That's why it's larger. You can use the flash_softdevice target to program the Softdevice: make flash_softdevice && make flash. 

    Also, if you are using the xxAA variant with 16K of RAM, you need to adjust the RAM size in the linker script. The examples are configured for xxAC by default which has 32K of RAM.  

Reply
  • Hello,

    The pre-compiled hex is merged with the Softdevice (Nordic Bluetooth stack). That's why it's larger. You can use the flash_softdevice target to program the Softdevice: make flash_softdevice && make flash. 

    Also, if you are using the xxAA variant with 16K of RAM, you need to adjust the RAM size in the linker script. The examples are configured for xxAC by default which has 32K of RAM.  

Children
No Data
Related