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
  • Kenneth said:
    Have you tried to readback the code for instance by using: nrfjprog --readcode dump.hex

     NO.

     

    Kenneth said:
    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.

     I tried to flash the softdevice ,bootloder,application hex files by using nRF Connect ,softdevice hex is flashed successfully but when i tryed to flash the bootloader hex its showing some error please look the screen short.

    •  NOTE:- when i flashed the softdevice ,bootloder and application hex file with " nRFgo Studio " there is no error is showing and also the flashing is taking place successfully and the application working fine too.

    1.  Why that error is showing on nRF_ Connect?

    LOGGINGS SCREEN SHORT ARE PLACED BELOW

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

     NO.

     

    Kenneth said:
    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.

     I tried to flash the softdevice ,bootloder,application hex files by using nRF Connect ,softdevice hex is flashed successfully but when i tryed to flash the bootloader hex its showing some error please look the screen short.

    •  NOTE:- when i flashed the softdevice ,bootloder and application hex file with " nRFgo Studio " there is no error is showing and also the flashing is taking place successfully and the application working fine too.

    1.  Why that error is showing on nRF_ Connect?

    LOGGINGS SCREEN SHORT ARE PLACED BELOW

Children
No Data
Related