cortex-debug: Serial problem
Hi, I am trying to use SWO on BMP.
Running vscode 1.26.1-2 (archlinux AUR)
Whenever I try to start debug with swo, this error pops up:
Unable to load Serial Port Module. A recent Visual Studio Code update has likely broken compatibility with the serial module. Please visit https://github.com/Marus/cortex-debug for more information.
I noticed, that binary modules submodule is quite outdated.
Or is there something wrong in my config?
{
"preLaunchTask": "build",
"type": "cortex-debug",
"request": "launch",
"name": "Debug (BlackMagic)",
"showDevDebugOutput":false,
"servertype": "bmp",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/main.elf",
"device": "STM32F746IG",
"svdFile": "${workspaceRoot}/STM32F7x6.svd",
"BMPGDBSerialPort": "/dev/ttyACM0",
"targetId": 1,
"swoConfig":{
"enabled":true,
"source":"/dev/ttyACM1",
"swoFrequency":2000000,
"cpuFrequency":200000000,
"ports":[
{
"number":0,
"label":"text",
"format":"console"
}
]
}
}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 16 (10 by maintainers)
I’m actually working on updating all the binary modules for the serial port based ITM support at the moment. Still need to get the Windows versions of the binary modules built. That should hopefully get it working until the next time VSCode updates the runtime. Hopefully can at least get a test version out this weekend.
On Wed., Dec. 11, 2019, 6:27 a.m. Diego Herranz, notifications@github.com wrote: