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

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

Post by manju » Tue 25. Jun 2024, 15:43

Hi

now im doing everything from scratch,

So based on document the following part I'm working on,

5.2 PCAN Hardware Debugging
1. Open a sample project for your PCAN hardware in Visual Studio Code.
2. Compile the code before execution with Make Debug ( |Ctrl| + |Shift| + |B| ).
3. Start the debugger with |F5|. In the process, the previously compiled firmware is
transferred to your PCAN hardware.

If I give f5 in getting the follwoing error, pls tell me how to resolve it
""Invalid servertype parameters. The following values are supported: "jlink", "openocd", "stlink", "stutil", "pyocd", "bmp", "pe", "qemu", "external""

Also, proper path has been updated in open user settings
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, 15:54

as you could read - openocd is supported - but your VisualStudioCode settings (NOT VisualStudio) use a different default debugger tool- (from the Cube32 IDE)
"Invalid servertype parameters. The following values are supported: "jlink", "openocd", "stlink", "stutil", "pyocd", "bmp", "pe", "qemu", "external"
you should see exact this Debug Option and press the green Arrow ! We do not know what "F5" call in your environment!!!!!
Screenshot 2024-06-25 130711.jpg
Screenshot 2024-06-25 130711.jpg (20.25 KiB) Viewed 2640 times
It is a local problem, on your installation / setup and have nothing to do with our Tools - check your VSCode Settings etc. maybe the Cube set a global path .. or whatever ..
Our Tools are build to work only locally for our project environment and never change any global settings.
We now close this thread, because it is a local problem - simply try it on a "clean" system and it will work.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Locked