Firmware update to PCAN router pro FD via pcan dev pack debug apater

Programmable 6-channel router and data logger for CAN and CAN FD with I/O and optional Ethernet interface
manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by manju » Tue 25. Jun 2024, 07:35

Hello,

I'm trying to update the firmware for my device via the PCAN dev pack and STlink and I'm following the exact same steps mentioned in the manual. But when I try to debug, as followed by the instruction given im getting the following error, "Failed to launch ST-LINK GDB Server: Error: spawn ST-LINK_gdbserver.exe ENOENT". Also I'm trying to create make all and make clean, "make: *** No rule to make target 'all'. Stop." Although MakeFile is present in my folder. I'm just stuck in this error.
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by M.Heidemann » Tue 25. Jun 2024, 09:04

Hello,

Did you run the SetPath_for_VSCode.vbs as well as "SetDebug_for_VSCode.vbs" as described on page 8 of the docs?

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by manju » Tue 25. Jun 2024, 09:27

Hello,
yes i did that too
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by M.Heidemann » Tue 25. Jun 2024, 09:32

And you are using VScode?

Did you check your path variables in the settings file? it should contain the toolchain, make sure it does.
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by manju » Tue 25. Jun 2024, 09:47

Hello,

yes i'm using vscode, I have updated all the path specified in the document accordingly, but could you exactly specify which path you are referring to.
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by M.Heidemann » Tue 25. Jun 2024, 10:31

Hello,

The compiler paths should be configured in the setting.json file after running the SetPath script.

you should see a .vscode folder with said configuration filesin each example folder.

As to the STM-Link Issue:

Please check that you have the correct Extension installed, when in doubt, roll back
and retrace your steps and see if that resolves it.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by manju » Tue 25. Jun 2024, 10:55

Hello,

Thank you for such a clear explanation. But I followed the exact same steps, which you have mentioned, that cortex error is also the same, but "Failed to launch ST-LINK GDB Server: Error: spawn C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin ENOENT" this error is constant, I tried installing all the latest drivers, but I'm just not able to debug my vs code folder

Is there any other method or steps to be followed
Thanks

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by manju » Tue 25. Jun 2024, 11:00

Hello,

The following is the exact error message, im facing


"Finished reading symbols from objdump: Time: 169 ms
C:\Users\Mb\Downloads\PEAK-DevPack\Compiler\10 2020-q4-major\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory.
Failed to launch ST-LINK GDB Server: Error: spawn C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin ENOENT"
Thanks

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by PEAK-Support » Tue 25. Jun 2024, 12:50

do you use a original ST-Link V2 or a clone ? Please send a picture
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater

Post by manju » Tue 25. Jun 2024, 13:00

Screenshot 2024-06-25 130711.jpg
Screenshot 2024-06-25 130711.jpg (50.84 KiB) Viewed 6784 times
**Picture size changed by Admin **
Thanks

Locked