How to debug the code with Visual Studio Code

Universal CAN Converter
Post Reply
ugandham
Posts: 3
Joined: Mon 13. Jun 2022, 17:41

How to debug the code with Visual Studio Code

Post by ugandham » Tue 14. Jun 2022, 20:11

Hi,

I have downloaded the PEAK-DevPack and i ran the SetPath_for_VSCode. I am able to run the tasks like Makeall, MakeClean etc., but I am unable to start the debugging. Do i need any additional hardware to debug the code?
Attachments
Debgging error.JPG
Debgging error.JPG (36.92 KiB) Viewed 4119 times

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

Re: How to debug the code with Visual Studio Code

Post by PEAK-Support » Wed 15. Jun 2022, 08:38

As your Firmware run on the module - you need a JTAG Debug Interface - Otherwise, how should the Debugger communicate with the Hardware :?:
We do not offer for the older PCAN-Router offiziell support for Debugging.

For the PCAN-Router FD and other new devices, there is also a official supported Debug Interface available, running with a STM-V2.
(see Debug Folder in the latest ARM Developer Package incl. Documentation)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply