Page 1 of 1

How to debug the code with Visual Studio Code

Posted: Tue 14. Jun 2022, 20:11
by ugandham
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?

Re: How to debug the code with Visual Studio Code

Posted: Wed 15. Jun 2022, 08:38
by PEAK-Support
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)