Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:segger [2022/12/16 14:29] – [Install] darrontools:segger [2024/08/12 12:55] (current) – [Install] darron
Line 20: Line 20:
 ==Raspberry Pi== ==Raspberry Pi==
  
-J-Link doesn't work on the original Pi or Pi Zero with the armv6l core, it only works with armv7l. If you +J-Link doesn't work on the original Pi or Pi Zero with the armv6l core, it only works with armv7l or aarch64. If you 
-run it on arm6l it will crash with a segmentation fault.+run J-Link on arm6l it will crash with a segmentation fault.
  
-Visit the [[https://www.segger.com/downloads/jlink/JLink_Linux_arm.tgz|J-Link for ARM]] page +Download the armv7l or aarch64 compatible binaries to store in /opt. 
-and agree to their terms, after which you may download the armv7l compatible binary and store in /opt.+ 
 +[[https://www.segger.com/downloads/jlink/JLink_Linux_arm64.tgz|Linux ARM 64-bit]] 
 + 
 +[[https://www.segger.com/downloads/jlink/JLink_Linux_arm.tgz|Linux ARM 32-bit]]
  
 <code> <code>
Line 32: Line 35:
 ln -s JLink_Linux_V782a_arm JLink ln -s JLink_Linux_V782a_arm JLink
 apt install libsm6 apt install libsm6
-echo "/opt/JLink/" >> /etc/ld.so.conf 
-ldconfig 
 cp /opt/JLink/99-jlink.rules /etc/udev/rules.d/ cp /opt/JLink/99-jlink.rules /etc/udev/rules.d/
 udevadm control --reload-rules udevadm control --reload-rules
Line 40: Line 41:
  
 The udev rules didn't work for me so I use my [[http://hg.kewl.org/pub/rules.d/raw-file/1ab9e879dc61/10-local.rules|own]]. The udev rules didn't work for me so I use my [[http://hg.kewl.org/pub/rules.d/raw-file/1ab9e879dc61/10-local.rules|own]].
 +
 +NB do not add /opt/JLink to ldconfig path since on ARM64 a 32-bit library will be
 +included which breaks JLink.
  
 ===Windows=== ===Windows===
Line 62: Line 66:
  
 This board has had ST-Link replaced by JLink on-board. This board has had ST-Link replaced by JLink on-board.
 +
 +Upgrading to JLink requires an older ST-LINK firmware to be
 +installed as newer versions fail to be detected. A working
 +firmware for upgrade is found in "en.stsw-link007_V2-32-22.zip"
  
 <code> <code>