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

DOUBT ABOUT FLASH MEMORY IN NRF52832 QFABB0

Hi,

  • We are developing a mouse . The controller we are using is NRF52832  QFABB0.
  • You known that its contain 32KB RAM and 256KB of flash memory.
  • Our application contains OTA-DFU feature.So we need to flash softdevice+bootloader+ application hex to the NRF52832.
  • our softdevice hex = 135.5 KB
  • our bootloader hex= 40.8 KB
  • our application  hex =118.7 KB
  • Total = 296 KB.
  • The total size of softdevice +bootloader+ application is greater than the size of NRF52832 flash memory.
  • I flashed all softdevice +bootloader+application hex to the NRF52832 and it successfully done. and the application is working fine too and also we can able to do the OTA-DFU too.

DOUBT

  • SOFTDEVICE +BOOTLOADER+APPLICATION HEX FILE ARE STORING  IN WHICH MEMORY OF THE MICROCONTROLLER . I THINK ITS FLASH ,IS IT RIGHT?
  • I ALREADY MENTIONED THAT THE SOFTDEVICE +BOOTLOADER+APPLICATION HEX SIZE IS GREATER THAN NRF52832 FLASH MEMORY +RAM. THEN HOW THE PROGRAMME  FLASHING IS SUCESSFULLY TAKEING PLACE? I AM TOTALLY CONFUSED ABOUT IT. 
Parents
  • Hi,

    Have you tried to readback the code for instance by using: nrfjprog --readcode dump.hex

    I think they case may be that you are mixing the size of the hex file in windows file system (contains for instance overhead due to the hex file format) and the actual memory footprint in flash. If you download nRF Connect for Desktop and use the Programmer plug-in there you can see the memory layout of the chip after programming.

    Best regards,
    Kenneth

Reply
  • Hi,

    Have you tried to readback the code for instance by using: nrfjprog --readcode dump.hex

    I think they case may be that you are mixing the size of the hex file in windows file system (contains for instance overhead due to the hex file format) and the actual memory footprint in flash. If you download nRF Connect for Desktop and use the Programmer plug-in there you can see the memory layout of the chip after programming.

    Best regards,
    Kenneth

Children
No Data
Related