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

About section placement of "SEGGER Embedded Studio"

I have a question about "SEGGER Embedded Studio for ARM V4.12".

I want to place the section of the FLASH area arbitrarily.
And, for example, I want to place the following constants in that section.
(For example, 0x77FF0 to 0x77FF2 section layout)

const uint8_t table_data [3] = {1, 2, 3};

Please tell me how.

Parents
  • Hi

    First of all, I see that you've set load="No" where this should be Yes when storing to flash. 

    You can use one of our DFU examples as a reference to see how for example the bootloader is set up to start in the correct flash address. The flash placement file for one of the DFU examples can be found in this path: ..\nRF5_SDK_15.3.0_59ac345\examples\dfu\open_bootloader\pca10056_usb\ses\flash_placement.xml

    Best regards,

    Simon

Reply
  • Hi

    First of all, I see that you've set load="No" where this should be Yes when storing to flash. 

    You can use one of our DFU examples as a reference to see how for example the bootloader is set up to start in the correct flash address. The flash placement file for one of the DFU examples can be found in this path: ..\nRF5_SDK_15.3.0_59ac345\examples\dfu\open_bootloader\pca10056_usb\ses\flash_placement.xml

    Best regards,

    Simon

Children
Related