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

Problem flash my customer Board

Hi,

We connect our external Board through P20 from EVB NRF52-DK everything goes well.

We are trying to do the same setup on other computer and we get failures to flash the customer Board.

I've tried to change the value of UICR using memwr and it changed the value also w/o any problem , but when it come to flash the hex file it fails.

Really strange phenomena. Pls refer to the attached log from nRF connect SDK

Tnx,

Alon 

2021-02-23T15_45_22.978Z-log.txt

Parents
  • Hello,

    Interesting that you can write one word, but not a complete hex file. Could you please try to lower the SWD clock to see if it fixes the problem? Maybe the default clock speed setting is set to high.

    e.g.

    nrfjprog --program --clockspeed 1000 --program <hex file > --chiperase -r

    Best regards,

    Vidar

  • nrfjprog --clockspeed 125 --program "C:\Nordic\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_blinky\hex\ble_app_blinky_pca10040_s132.hex" --chiperase -r
    Parsing image file.
    Erasing user available code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    ERROR: JLinkARM DLL reported an error. Try again. If error condition
    ERROR: persists, run the same command again with argument --log, contact Nordic
    ERROR: Semiconductor and provide the generated log.log file to them.

Reply
  • nrfjprog --clockspeed 125 --program "C:\Nordic\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_blinky\hex\ble_app_blinky_pca10040_s132.hex" --chiperase -r
    Parsing image file.
    Erasing user available code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    ERROR: JLinkARM DLL reported an error. Try again. If error condition
    ERROR: persists, run the same command again with argument --log, contact Nordic
    ERROR: Semiconductor and provide the generated log.log file to them.

Children
Related