HI,
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
HI,
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.
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.
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
I once tried using P20 as debug output, but I failed and never came back to trying again. I am using p19 with no problems. just connect GND,SWDIO and SWCLK from P19, power the BMD board and you are all set.
Is it? I don't have a cable to connect to P19. That is why I go with P20. I'll give a try with P19.
thanks
I tested that with my custom board, not the BMD, but i think that should be the same. I also dont have special cable, I just soldered 3 wires to the (GND, SWDIO, SWCLK) pads of the header. And remember about powering board you are willing to program.
Thanks, Only 3 wires are required? how does the programmer detects the external chip then? Will it be able to detect using the GND? I didn't find the pinout of P19. can you please share the pinout details of P19 header, if you dont't mind? For powering up the BMD-300 module, Can I use the VDD and GND from nRF Dev board?