Getting "Error when running fw program" when trying to write .hex file

Hi, getting this not very descriptive error when trying to upload hex file. I've made the .hex file in platformio. Sounds like i'm missing some software?

Any clues?

Device NRF52840 dongle (nRF6829, 2.1.0, 2021.51)

2022-06-21T12:41:41.945Z INFO Hash is generated by SHA256
2022-06-21T12:41:50.969Z INFO Performing DFU. This may take a few seconds
2022-06-21T12:41:50.984Z INFO Opening serial port for SDFU programming: 0%
2022-06-21T12:41:51.394Z INFO Opening serial port for SDFU programming: 100%
2022-06-21T12:41:51.445Z INFO Uploading image through SDFU: 0%
2022-06-21T12:41:51.492Z ERROR async task failure for id: 924035418510 msg: (Origin: "Error when running fw program.")

Michael

Parents
  • Hi,

    Is the hex file from platformio built for running on the nRF52840 Dongle? The dongle comes programmed with a bootloader + MBR, which can't be overwritten by the application if you want to program it through the USB port.

    If your hex-file is the green box in nRF Connect Programmer app, this looks a bit high in flash. Can you hover over it to see the start and end address of the application?

    Best regards,
    Jørgen

Reply
  • Hi,

    Is the hex file from platformio built for running on the nRF52840 Dongle? The dongle comes programmed with a bootloader + MBR, which can't be overwritten by the application if you want to program it through the USB port.

    If your hex-file is the green box in nRF Connect Programmer app, this looks a bit high in flash. Can you hover over it to see the start and end address of the application?

    Best regards,
    Jørgen

Children
No Data
Related