Open bartcerneels opened 3 years ago
I can confirm this issue: just updated from JLink V6.80d to V7.20a, and for me make term
using jlink and stdio_rtt
also stopped to work, same behavior as stated above.
I am unsure what is causing this, but I am hopeful to find the cause of this soon, as this is annoying me a bit :-)
@bartcerneels I do have a temporary workaround:
JLinkExe
stand-alone in a terminal windowconnect
-> nrf52
-> s
-> 2000
make term
as usual, Now it should succeed.Hey, I am unable to work on this, sorry. I've left the lab I used to work in and don't have any of the equipment needed to work on this anymore.
I have been starring at this all evening now and can't figure this out. When running JLinkExe manually as background job on my Linux host, as in
JLinkExe -nogui 1 -exitonerror 1 -device 'nrf52' -speed '1000' -if 'SWD' -jtagconf -1,-1 -commandfile '/home/hauke/dev/riot/RIOT/dist/tools/jlink/term.seg' >/dev/null 2>&1 &
it will run jlink as expected. But when passing that exact same command as a string argument to my dash shell
sh -c "JLinkExe -nogui 1 -exitonerror 1 -device 'nrf52' -speed '1000' -if 'SWD' -jtagconf -1,-1 -commandfile '/home/hauke/dev/riot/RIOT/dist/tools/jlink/term.seg' >/dev/null 2>&1 &"
jlink will not continue to run in the background, but will be closed instantly. I was able to see this behavior for any jlink version of V6.94 and higher, while it works perfectly fine for V6.92 and below. As far as I can tell, there is no hint in the jlink release nodes that would point to any changes in jlink that could be causing this... So for now I really can't tell, somebody else with an enlightenment?
While starting to use RTT as the stdio for an STM32L496VG based board
make term
was not working. It still worked with JLink v6.92.Steps to reproduce the issue
I've configured a board to use JLink RTT in Makefile.include:
Then run
make term
Expected results
Actual results
Versions
Our clone of RIOT is not based on the latest and has 2 fixes related to UART and building on windows. These should not affect the jlink script. I've checked out the current master (ce0d58938447af94da6def4163f49426318e32f1) and it has the same problem.