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

Does the SDK 5.2 bootloader support 128kb devices?

At work we are primarily interested in using the 128kb nRF51822 devices. I am able to get a softdevice and bootloader onto a 256kb device just fine. When I attempt to do the same for a 128kb device, nRFgo studio complains: "Failed: invalid parameter error"

The project has IROM1 from 0x3C800 with size 0x3400 and IRAM1 from 0x20002000 with size 0x2000 I copied the device_firmware_updates project into my own Boards/ folder. nRFgo Studio reports Region 0 with size 80kB filled with a softdevice and region 1 of size 48kB addr 0x14000

I can program and run firmware normally but I need to get a bootloader on the 128kB devices eventually.

Parents
  • I've revisited this issue since we have decided the 128kb device as well as a OTA bootloader is required and I need to get a release package out in the next week.

    I have made modifications and ran the DFU bootloader in debug mode. I was able to connect to the device but have not tried an OTA update.

    I am unable to "program bootloader" successfully using nrfgostudio. I am able to do so using the programming interface in Keil, however I noticed some odd output with regards to the UICR m_uicr_bootloader_start_address:

    No Algorithm found for: 10001014H - 10001017H Partial Erase Done (areas with no algorithms skipped!) No Algorithm found for: 10001014H - 10001017H Partial Programming Done (areas with no algorithms skipped!) Partial Verify OK (areas with no algorithms skipped!)

    This problem isn't solved quite yet but I feel that progress is being made.

  • I don't believe the nrfgostudio application can write the UICR register which needs to be updated for the bootloader location. I think you might find the following post helpful:

    devzone.nordicsemi.com/.../

Reply Children
No Data
Related