Firmware update to PCAN router pro FD via pcan dev pack debug apater
Firmware update to PCAN router pro FD via pcan dev pack debug apater
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.
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
-
- 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
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
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
Marvin Heidemann
PEAK-Support Team
Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater
Hello,
yes i did that too
yes i did that too
Thanks
-
- 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
And you are using VScode?
Did you check your path variables in the settings file? it should contain the toolchain, make sure it does.
Did you check your path variables in the settings file? it should contain the toolchain, make sure it does.
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater
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.
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
-
- 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
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
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
Marvin Heidemann
PEAK-Support Team
Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater
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
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
Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater
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"
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
- PEAK-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
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
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: Firmware update to PCAN router pro FD via pcan dev pack debug apater
**Picture size changed by Admin **
Thanks