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

rigado BMD-300 with nRF52 DK

image descriptionHI, Can anybody give me the connections to a BMD-300 with nRF52DK and the steps to program a BMD-300 from scratch? Which document provides the information, if there is any?

thanks, Vishnu

  • The BMD-300 has read-back protection enabled from factory. Use this utility to do a full chip erase. After that you'll be able to program it.

    rigado.zendesk.com/.../226811567-BMD-300-Erase-and-Recovery

  • Tried this as well. I got the following

       JLink Error: Write AP register 1 = 0x00000001 ***ERROR
    JLink Error: Read AP register 3 = ERROR
    JLink Error: Read AP register 3 = ERROR
    JLink Error: ****** Error: Communication timed out: Requested 20 bytes, received 0 bytes !
    JLinkCheckOutput: FAIL -- errors 6, wrote 0/0, verified 0/0
    18-10-2016 10:34:24: Operation FAIL -- Programming failed
    
    
    ===========================
    18-10-2016 10:34:38: Start Operation
    CheckFilePath: OK -- C:\Users\USER\Desktop\BMD-300 Erase & Recovery
    JLinkRunPreFlight: OK -- C:\Users\USER\Desktop\BMD-300 Erase & Recovery\jlink_loader.script
    JLink Error: Write DP register 1 = 0x50000000 ***ERROR
    JLink Error: Write DP register 2 = 0x01000000 ***ERROR
    JLink Error: Write AP register 1 = 0x00000001 ***ERROR
    JLink Error: Read AP register 3 = ERROR
    JLink Error: Read AP register 3 = ERROR
    JLink Error: ****** Error: Communication timed out: Requested 20 bytes, received 0 bytes !
    JLinkCheckOutput: FAIL -- errors 6, wrote 0/0, verified 0/0
    18-10-2016 10:34:44: Operation FAIL -- Programming failed
    
  • Hi, this is the content of log file.

        --------------------------------------------------------------------------------
    nrfjprog --family nrf52 --recover --log
    nrfjprog verion 9.0.0
    --------------------------------------------------------------------------------
    FUNCTION: open_dll.
    FUNCTION: open_dll.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: connect_to_emu_with_snr.
    FUNCTION: connect_to_emu_with_snr.
    FUNCTION: connect_to_emu_without_snr.
    FUNCTION: enum_emu_snr.
    Device "NRF52832_XXAA" selected.
    FUNCTION: recover.
    FUNCTION: recover.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    FUNCTION: close_dll.
    FUNCTION: close_dll.
    
  • Could you upload a picture of your connections? And explain how you have connected them.

  • Hi Peter,

    The connection is as below,

    BMD-300 -> nRF52-DK

    SWDIO -> SH_SWDIO (pin #4) on P20

    SWDCLK -> SH_SWDCLK (pin #5) on P20

    VDD -> SH_VTG (pin #3) on P20

    GND -> SH_GND_DETECT (pin #8) on P20

    The BMD-300 is powered by VDD and GND pin from the nRF52 Development board.

    The schematic is attached to the question.

Related