C project in SWB4STM builds, but does not run on L476RG
I am trying to get my very first (simple LED blink) project to run, so I can actually start developing a project thereafter.
I have been able to build my project, however upon clicking run I get the message:
image.base_address option value (‘MY_LAST_NAME/workspace/project3/projo3/Src/main.c///’) is not valid
I noticed that in this line the beginning of the path “C:\Users\MY_FIRST_NAME” must be missing, however I also noticed that the triple / seems weird.
I don’t know where the terminal/debugger gets its path information from.
I generated the code for this project using CubeMX. I am using the Nucleo-L476RG.
I did also notice a “libusb_open()” error at the beginning of the terminal/debugger text, but don’t think that this is conncected to my primary issue.
Thank you very much in advance for helping.
Regards,
baseball2210
Here is my terminal log from within SWB4STM.
Open On-Chip Debugger 0.10.0-dev-00004-gcef2a8c-dirty (2017-08-31-14:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
padded zone erase set to 1
adapter speed: 480 kHz
adapter_nsrst_delay: 100
Info : clock speed 480 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v28 API v2 M v18 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.240714
Info : Stlink adapter speed set to 480 kHz
Info : STM32L476RGTx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Stlink adapter speed set to 480 kHz
adapter speed: 480 kHz
STM32L476RGTx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
Info : Stlink adapter speed set to 4000 kHz
adapter speed: 4000 kHz
- Programming Started **
auto erase enabled
Error: Invalid command argument
image.base_address option value (‘MY_LAST_NAME/workspace/project3/projo3/Src/main.c///’) is not valid
- Programming Failed **
shutdown command invoked