Those pits about keil5 and J-Link (The fireware of the connected J-link does not support the follow firmware driver incompatibility problem solved)

Problem Description

  Recently I have a new project, and sure enough, the new project must be a pit. The pit I encountered today is still relatively basic, and it is also the most easily overlooked problem. When using keil5 to download code through Jlink, there are always errors. The error message is:
The fireware of the connected J-link (S/N:XXXXXX) does not support the following memory access:Read@0x02000004.
  This error is relatively new. I was lucky and never appeared. At first I suspected that it was a hardware problem. After a brief confirmation of the power supply and wire sequence, it was confirmed that it was a software problem (embedded common problem, pot-smashing hardware). The problem is that the JLINK driver is not compatible with the firmware, so I started to solve it from this aspect.
Problem Description

problem solved

First, the previous picture:
keil J-Link setting interface
  From here, you can see that the device is actually detected (IDCODE in the upper right corner), which confirms that my thinking is correct. On the left is some information of J-LINK. You can see that the firmware is V9.40 and the driver is V5.12f. I am happy. According to my general usage habits, the V6.40 driver is more compatible, so the problem is Change the device driver of KEIL software Jlink to V6.40. There are many ways on the Internet, I think it is too troublesome, in fact, the core is: JLinkARM.dll link file, only need to replace this file with the same file under V6.40, just replace this one, no other .
Take my path as an example:
JLINK V6.40: C:\Program Files (x86)\SEGGER\JLink_V640\JLinkARM.dll
above file replace the following path
C:\Keil_v5\ARM\Segger\JLinkARM.dll
and restart the keil software , First check the driver information, as shown in the figure,
After modification
you can see that it has become V6.40, now click download.
Download result
Get it done! ! !

Related resource links

  I directly paste the link of this DLL file here, if you need it, you can download it directly, or you can search it online to download all the 6.40 driver package
  CSDN links

Guess you like

Origin blog.csdn.net/m0_38127906/article/details/107368248