Ok so I have been having a difficult time getting my J-Link to play nicely with my STM32F103RB board and have found out that when one of the J-Link programs (eg, J-Mem) crash the J-Link is stuck in a mode that none of the tools can access.
For example I loaded up the GDB server and clicked on show serial number. The GDP server app froze and I had to force close it. I then tried to flash my hex through Keil and then Keil froze. J-Link Commander is unable to access the J-Link so I unpluged it from my USB and waited for any residual caps to drain. I force closed Keil and unplugged the J-Link from my board and then plug the J-Link into a different USB port and I still can not access the device. The only way to solve the problem is to restart windows with the J-Link plugged in.
This has happened to me whenever Keil crashes while in debug mode and I am forced to re-start windows which is very annoying.
Speaking of Keil in the c:/Keil/ARM/SEGGER directory they have the jlink.exe and jlinkarm.dll that they provide and its annoying as it asks you to agree to the EDU terms and then select which USB device to use three times and then agree to the EDU terms twice again. I replaced those two files with the latest ones I downloaded off the Segger J_Link site and now it only asks me to agree to the EDU terms as it should.
Is their a way to reset my J-Link when it is stuck in a mode that does not require me to restart windows? Other than this annoyance the J-Link is a fantastic device, thanks for providing it on a students budget!
For example I loaded up the GDB server and clicked on show serial number. The GDP server app froze and I had to force close it. I then tried to flash my hex through Keil and then Keil froze. J-Link Commander is unable to access the J-Link so I unpluged it from my USB and waited for any residual caps to drain. I force closed Keil and unplugged the J-Link from my board and then plug the J-Link into a different USB port and I still can not access the device. The only way to solve the problem is to restart windows with the J-Link plugged in.
This has happened to me whenever Keil crashes while in debug mode and I am forced to re-start windows which is very annoying.
Speaking of Keil in the c:/Keil/ARM/SEGGER directory they have the jlink.exe and jlinkarm.dll that they provide and its annoying as it asks you to agree to the EDU terms and then select which USB device to use three times and then agree to the EDU terms twice again. I replaced those two files with the latest ones I downloaded off the Segger J_Link site and now it only asks me to agree to the EDU terms as it should.
Is their a way to reset my J-Link when it is stuck in a mode that does not require me to restart windows? Other than this annoyance the J-Link is a fantastic device, thanks for providing it on a students budget!