Flash size

i am using nrf52840 s140 sdk ver 17.1.0  dfu/ secure bootloader/ pca10056_s140ble_debug  example after flashing the code the flash memory is almost full ie 99.6% is the sdk is  taking that much of memory i have tried for dfu/ secure bootloader/ pca10056_s140ble both having the same full flash memory how can we reduce it

NOTE: If the flash size is decreased i will use this application directly for dfu ota with running two application in the flash so whenever required i will switch between main app and dfu app

Parents
  • Hello, 

    This seems to be a duplicate of the question you've asked in your other case, so I'll close this one.

    Regards,

    Elfving 

  • Hi i did't got any response for other query which i have raised new one here so i have created separate query for this so can you clarify with this i need to optimise the code which is showing  as 99% flash mem we need only dfu secure authentication are all not required ld file 


    MEMORY
    {
    UNPLACED_SECTIONS (wx) : ORIGIN = 0x100000000, LENGTH = 0
    uicr_mbr_params_page (wx) : ORIGIN = 0x10001018, LENGTH = 0x00000004
    uicr_bootloader_start_address (wx) : ORIGIN = 0x10001014, LENGTH = 0x00000004
    RAM1 (wx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
    FLASH1 (wx) : ORIGIN = 0x00000000, LENGTH = 0x00100000
    }

Reply
  • Hi i did't got any response for other query which i have raised new one here so i have created separate query for this so can you clarify with this i need to optimise the code which is showing  as 99% flash mem we need only dfu secure authentication are all not required ld file 


    MEMORY
    {
    UNPLACED_SECTIONS (wx) : ORIGIN = 0x100000000, LENGTH = 0
    uicr_mbr_params_page (wx) : ORIGIN = 0x10001018, LENGTH = 0x00000004
    uicr_bootloader_start_address (wx) : ORIGIN = 0x10001014, LENGTH = 0x00000004
    RAM1 (wx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
    FLASH1 (wx) : ORIGIN = 0x00000000, LENGTH = 0x00100000
    }

Children
Related