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

J-link not find device(Info: Could not measure total IR len. TDO is constant high.)

Dear all: Now,i have issue ,i can't fund device.(i have sure the hardware is OK) i think it is program overwrite the J-TAG register(TDO)? but i may not sure. have any experience about this error?

i try run J-Link commander to clear ,but

J-Link> r Info: Could not measure total IR len. TDO is constant high. Reset delay: 0 ms Reset type UNKNOWN: ??? Info: Could not measure total IR len. TDO is constant high. J-Link>r

****** Error: TCK (pin 9) low, but should be high. Please check target hardware. Reset delay: 0 ms Reset type UNKNOWN: ???

and i exe nrfjprog --recover to

it get C:\Users\steven>nrfjprog --recover Applying pin reset if debugger is not active. System off disabled until pin reset or power on reset is done. Halting device. ERROR: Cannot connect to the nRF51 device.

the nRFgo studio is also not found any device .(In the boot of the moment, nRFgo maybe detect the device) read back protected or not found device.

  • hi, if it can't found device Generally,press "recover" at nRFgo studio.to clear the firmware .

    but, i match another computer ,the recover button is Invalid at nRFgo studio the least version . you have to use nRFgo 1.14.1 to recover.

  • I'm running into this, too. I have narrowed it down a bit. If I compile an example application (ble_app_proximity for the pca10001) unchanged, it works.

    If I duplicate that directory, and change the project name, I'm dead.

    Not sure how I'm supposed to create a new project (lots of settings to match).

    Sometimes I can still see the devices with nRF Studio (no need to recover) but this still happens so I don't think it's related to the need to recover.

  • OK, It appears that the J-link settings aren't making it from one directory to another.

    I (painfully) made sure every setting in the Jlink tab in my new project is the same as the sample I copied. Lots of window snips, switching projects, and side-by-side comparisons.

    And at long last I'm able to run my exact copy of the original example with a new name. All in a days' work. I didn't want to really get that much done today...

    If anyone knows how to encapsulate the JLink settings better so I don't have to this by hand, I'd love to hear it.

  • I'm sorry to hear about your trouble, but most of the J-Link settings should be included in Keil's project files themselves, so as long as you start with the .uvproj and .uvopt files from a working project, you should be fine. You can change the name of these files without changing any of their content. If you want to change the name of the output file, this can be done from the target options in Keil.

  • The recover button did not work in nRFgo Studio version 1.15.0, but should be fixed in version 1.15.1. Do you have trouble with this as well?

Related