How to program the bootloader area with JLink in an ARM Cortex M0 device

697 Views Asked by At

I'm trying to program the bootloader area of a NUC240SE3AE device with JLink and JFlash but I'm having an error message:

"ERROR: Selected Data (0x100000 - 0x100FFF) does not fit into selected flash sectors." 

The chip does have that area implemented but as I found out in Segger's device database:

  • This device has only one flash bank,

  • The one for the main application, and the second area for the bootloader is missing.

So my question is: is there a workaround for this? How to program that flash area?

1

There are 1 best solutions below

2
On

The MCU's technical reference manual in the section System Memory Map proves that the memory range 0x100000 - 0x100FFF is not implemented. System Memory Map

It means the config of the flasher or linker is not correct. Please provide both configs for further investigation. Additionally, what is the firmware source?