This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Could not install bootloader after softdevice.

Hi everyone.

I have a custom board with nRF52832. I am using J-Link for programming. In my custom board, SWD pins are exposed. So I can erase nRF52832 succesfully and programmed SoftDevice.

And my problem is starting now. When i try to program bootloader (Bootloader information: feather_nrf52832_bootloader-0.6.2_s132_6.1.1) J Link says to me:

Conecting to J-Link...Connecting to target...Downloading...ERROR: Could not download file.
Done

What am I doing wrong? My english is not native so i hope that i can explain the situation. 

(By the way, P0.20 and P0.22 pins are pulled up to VCC by 10K resistors. )

Best Regards..

Parents Reply Children
  • Hello Vidar,

    I downloaded bootloader from your link too. Anyway i try tu use programmer app in nRF Connect for Desktop. I am adding hex file and see file memory load but there is another problem. It does not recognize my Jlink. 

    Select device says to me choose a Nordic Development Kit to your computer. My version is J-Flash Lite V6.86a. Maybe my version is older. So device part is not active. 

    I have worked a couples week ago with nrf52840 and everything is working well that time. But now i could not move forward. 

    If you want to my custom board i can send some pics.

    Any idea for me again?

    Best Regards..

  • Hello,

    It should work with any J-link programmer. Does it not appear in the device dropdown menu in the top left corner? Anyway. Maybe you can try nrfjprog from the command line instead (nRF Command Line Tools).

    e.g.

    > nrfjprog --program feather_nrf52832_bootloader-0.6.2_s132_6.1.1 --chiperase --reset

    Best regards,

    Vidar

  • Hello again,

    I used 

    > nrfjprog --program feather_nrf52832_bootloader-0.6.2_s132_6.1.1 --chiperase --reset

    in command line. 

    ERROR: Unable to connect to a debugger.
    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.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.

    I am getting confused. Could I have made a mistake in the installation?

    I could not see Jlink in programmer for example.

    By the way i am using this device in my custom board.

    https://www.raytac.com/product/ins.php?index_id=31

    And I sampled for my board adafrfuit schematic.

    https://learn.adafruit.com/assets/52793

    Still i could not find a solution? Thanks for the replies Vidar again. really apreciated.

    Best Regards..

  • Hello everyone,

    I borrowed another JLink from my friend and this time nRF connect for desktop-Programmer detected Jlink. The programmer is working well.

    After that i realized the problem.

    When i said Read in Programmer Aplication, device connected and i saw nRF52810_xxAA . I was shocked.

    Our distributor sent me wrong device. :(  same package but wrong device.

    https://ozdisan.com/kablosuz-ve-iot-cozumleri/rf-moduller/bluetooth-modulleri/MDBT42Q-192KV2

    But i had ordered this one. 

    https://ozdisan.com/kablosuz-ve-iot-cozumleri/rf-moduller/bluetooth-modulleri/MDBT42Q-ATM

    So i could erase chip and load softdevice but could not load bootloader in the past. I ordered new nRF52832 again. I hope that i can do it easily what i want. 

    I am going to write the result and then the subject is going to close like solved.

  • Hello,

    No wonder you were not able to program the FW image, it's too big to fit on this part. I hope everything works once you get the correct module. Thanks for the update!

    Vidar

Related