Segger Jlink Registery key error

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
mahmed106
Offline
Last seen:15 hours 44 min ago
Joined:2019-05-03 17:28
Segger Jlink Registery key error

Hi dialog

I have done fresh installation of smart snippets studio on two different PC's that didnt had elipse or smart snippet studio before.

在两个电脑在JTAG的我面临一个问题flashing of DA14681. After all steps, when eclipse attempts to reboot the chip, following error message occured.

C:\sdk\DA1468x_DA15xxx_SDK_1.0.14.1081\utilities\scripts\qspi\reboot_device.vbs(9, 1) WshShell.RegRead: Unable to open registry key "HKCU\Software\SEGGER\J-Link\InstallPath" for reading.

Both PC have this issue. I tried to change sdk, install and uninstall jlink but nothing worked.

Also on one PC , i cant even compile the code, the default example freertos_retarget or pxp_reporter. it gives this error

Program “make” not found in PATH

Please help me what steps should i follow to resolve this issue?

Device:
mahmed106
Offline
Last seen:15 hours 44 min ago
Joined:2019-05-03 17:28
For 1st problem, i have found

For 1st problem, i have found the issue. It had happened to me in the past and i remembered how it was fixed.

Solution :

Go to C:\Program Files (x86)\SEGGER

Here you will see the version number of Jlink that is installed on your computer. In my case it was V612i. So add this version into the jlink path in reboot file.

go to \DA1468x_DA15xxx_SDK_1.0.14.1081\utilities\scripts\qspi\reboot_device.vbs

Open reboot_device.vbs in notepad.

Around 7th line the text will be like this

jlink_path = objShell.RegRead("HKCU\Software\SEGGER\J-Link\InstallPath") + "JLink.exe"

Change this line like this

jlink_path = objShell.RegRead("HKCU\Software\SEGGER\J-Link\V612i\InstallPath") + "JLink.exe"

And you are good to go.

WhiteBadger
Offline
Last seen:2 months 3 weeks ago
Joined:2020-12-12 11:15
Nice collection keep up the

Nice collection keep up the good work.mcdvoice

PM_Dialog
Offline
Last seen:5 hours 11 min ago
Staff
Joined:2018-02-08 11:03
Hi mahmed106,

Hi mahmed106,

Thanks for your question online and for providing the solution. Can I ask what it is SSS version that you are using? Is it v1.6.3 ?

Thanks, PM_Dialog

mahmed106
Offline
Last seen:15 hours 44 min ago
Joined:2019-05-03 17:28
1.6.3.918

1.6.3.918

PM_Dialog
Offline
Last seen:5 hours 11 min ago
Staff
Joined:2018-02-08 11:03
Hi mahmed106,

Hi mahmed106,

Thanks for the indication on this ticket.

Thanks, PM_Dialog

Aguilar301
Offline
Last seen:11 hours 30 min ago
Joined:2021-03-03 07:16
Please check if the folder

Please check if the folder containing the J-Link shared library has been the SEGGER software installer while it is updating the registry entry.

Omegle