Error is:
Error: Invalid command argument
image.base_address option value (‘ramework-arduinoespressif32’) is not valid
embedded:startup.tcl:454: Error: ** Programming Failed **
in procedure ‘program_esp32’
in procedure ‘program_error’ called at file “C:\Users\Trine.platformio\packages\tool-openocd-esp32/share/openocd/scripts/target/esp32.cfg”, line 152
at file “embedded:startup.tcl”, line 454
It looks like, it is this command that goes wrong:
Error is:
Error: Invalid command argument
image.base_address option value (‘hl.platformiopackages’) is not valid
embedded:startup.tcl:454: Error: ** Programming Failed **
in procedure ‘program_esp32’
in procedure ‘program_error’ called at file “C:\Users\thl.platformio\packages\tool-openocd-esp32/share/openocd/scripts/target/esp32.cfg”, line 152
at file “embedded:startup.tcl”, line 454
Same program_esp32 command with error:
“program_esp32 “C:\Users\thl.platformio\packages\framework-arduinoespressif32\tools\partitions\boot_app0.bin” 0xe000 verify”
The image.base_address should be 0xe000, but it is set to a subtext from the path ‘hl.platformio\packages’
OK.
I can se it has to do with the use of BACKSLASH in the path names.
if i manually executes the openocd command from a DOS prompt and changes all "" to “/” it will work.
So the paths are adjustet using escape sequences. E.g. “\b” works as a Backspace, “\t” works as a Horizontal tab, and so on.
Do you have an easy fix for this problem, or do I need to manually run the openocd command for a while?