STM32CubeIDE wrongly requires to upgrade the latest J-Link firmware
- April 26, 2021
- 2 replies
- 2780 views
Hi,
this problem shows in a number of ways.
I installed the latest IDE v. 1.6.0 and using the J-Link EDU probe with STM32H743 target.
First trying to launch my project through J-Link the window came up suggesting to upgrade J-Link to a newer firmware. I clicked "yes" to download and seemingly upgrade happened (or so I thought). Subsequent attempts to run the code failed. "J-Link commander" utility showed that the probe was dead.
Luckily I had one more probe. Fearing to loose yet another probe the same way, I upgraded this probe using "J-Link Configurator" tool from Segger. Indeed there was upgrade and Configurator succeeded with upgrade.
Then I connected the upgraded probe to download and run my project in CubeIDE.
What was a surprise when IDE again reported a need to upgrade J-Link firmware !
This time I refused by clicking "no" and J-Link worked as expected.
Now every time I try to use the probe, IDE requests this "upgrade" to the freshly upgraded probe . If I accidentally press "yes" I will loose yet another probe. If I don't press "no" fast enough, IDE reports
"Error in final launch sequence: Failed to execute MI command..." and probe can't be used, have to run project download again...
Questions:
Why does IDE report the need for upgrade when I know I just upgraded the firmware through Segger utility ?
Why the first attempt to upgrade failed and thus ruined the J-Link?
How can I stop IDE ( or GDB server ?) from checking for the new release of J-Link firmware?
Please help
Vlad