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

unable to detect nrf52810 via nrf52 DK

I have a module BL651 and I want to use it in my dev board. I've found in some previous posts that I have to use nrf52 DK to program externally the nrf52810 in my module.

Using the nrf connect, I can't detect the nrf52810.

The connection was made this way:

Without connecting the VTG, I can access to the nrf52832 in the nrf52 DK. 

With VTG, I got this error :

"Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4) Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)"

So what is the problem here? Is it the connection or something that I've mised?

Parents
  • Can you post an image of your connections? Is the voltage level of VDD/VTG correct after you connect the board? Can you try to use nrfjprog directly to erase/flash the custom board? It may provide more helpful error than nRF Connect Programmer app.

  • This is what i have with nrfjprog.

    Does the  readback protection capability have to do with my problem?

  • It would be a lot better  to copy & paste the text - rather than a picture.

    Post the text as for source code - just omit step 3.

    Doesn't the nRF51 have SWD - not JTAG ?

  • This is what i get when using SWD connection :

    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Please specify device / core. <Default>: NRF52810_XXAA
    Type '?' for selection dialog
    Device>NRF52810_XXAA
    Please specify target interface:
    J) JTAG (Default)
    S) SWD
    T) cJTAG
    TIF>S
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "NRF52810_XXAA" selected.


    Connecting to target via SWD
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use

    ****** Error: Could not find core in Coresight setup

    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use

    ****** Error: Could not find core in Coresight setup

    Cannot connect to target.

Reply
  • This is what i get when using SWD connection :

    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Please specify device / core. <Default>: NRF52810_XXAA
    Type '?' for selection dialog
    Device>NRF52810_XXAA
    Please specify target interface:
    J) JTAG (Default)
    S) SWD
    T) cJTAG
    TIF>S
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "NRF52810_XXAA" selected.


    Connecting to target via SWD
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use

    ****** Error: Could not find core in Coresight setup

    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use
    InitTarget() start
    InitTarget() end
    Found SW-DP with ID 0x2BA01477
    DPIDR: 0x2BA01477
    Scanning AP map to find all available APs
    AP[0]: Stopped AP scan as end of AP map has been reached
    Iterating through AP map to find AHB-AP to use

    ****** Error: Could not find core in Coresight setup

    Cannot connect to target.

Children
No Data
Related