I installed the tools into /Applications/JLink.
The SAM-ICE tools require "libusb", so you will need to get this. I used macports, and SEGGER used macports, so I suggest this in case things change in the future. Once you install macports, type:
sudo port install libusbI ran JLinkGDBServer from the command line, but go this:
suinomakuea:~ suigin$ /Applications/JLink/JLinkGDBServer ; exit; dyld: Library not loaded: Output/Release/x86_64/JLinkARMDLL/libjlinkarm.4.50.9.dylib Referenced from: /Applications/JLink/JLinkGDBServer Reason: image not found Trace/BPT trapJLinkGDBServer.command is the command that should be run. It would have been better to have named it JLinkGDBServer.sh or something that would be better for people who know the command line. You will still get a library error because you need to copy the libraries to the location specified in the file JLinkGDBServer.command.
sudo cp /Applications/JLink/libjlinkarm.4.* /opt/local/lib/.And now, when I run ./JLinkGDBServer.command I get a debugger connection!
No comments:
Post a Comment