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

Programming ISP1507 from nRF52 DK

Hi,

I am trying to program a custom board with ISP1507 chip from dynastream based on nRF52832 using the nRF52 DK. I have connected P20 on the DK to the chip as follows,

Board_VDD       ->    DK VDD and VTG (pin 2,3)
Board_GND       ->    DK GND and GND_DETECT (pin 8)
Board_SWDIO    ->    DK SWDIO (pin 4)
Board_SWDCLK  ->   DK SWDCLK

When I try to erase the chip with nrfjprog --eraseall I get "Cannot connect to any nRF Device. Please make sure the device is connected to the debugger and supplied."

When i try to read the chip ID with nrfjprog --memrd 0x10000060 --n 8 -f NRF52 as suggested in another post, "I get JLinkARM DLL reported an error. Try again."

I dont understand what the problem is. Is the chip fried or something?

EDIT: The log file while running nrfjprog --memrd 0x10000060 --n 8 -f NRF52 --log gives the following message

--------------------------------------------------------------------------------
nrfjprog --memrd 0x10000060 --n 8 -f NRF52 --log
nrfjprog verion 8.5.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: read_device_version.
FUNCTION: read_device_version.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
FUNCTION: close_dll.
FUNCTION: close_dll.
Parents
  • I get about the same nRFgo Studio messages and JLinkARM DLL errors if I only connect VTG to VDD, but leave the SWD lines unconnected. Is it possible that you have bad connections between the Segger MCU on the DK kit and your prototype? Is it possible to use a Multimeter to check that you have proper contacts between the two devices? Are you absolutely sure that you haven't reversed SWDIO and SWDCLK?

Reply
  • I get about the same nRFgo Studio messages and JLinkARM DLL errors if I only connect VTG to VDD, but leave the SWD lines unconnected. Is it possible that you have bad connections between the Segger MCU on the DK kit and your prototype? Is it possible to use a Multimeter to check that you have proper contacts between the two devices? Are you absolutely sure that you haven't reversed SWDIO and SWDCLK?

Children
No Data
Related