using openocd read
Hello everbody,
i try to get a clear with the openocd.
For the openocd i use the System workbench Configurations and Scripts.
To open the Debugger i use:
~/Ac6/SystemWorkbech/plugins/fr.ac6.mcu.externaltools.openocd.linux64_1.23.0.201904120827/tools/openocd/bin/openocd -f Program.cfg -s ~/Ac6/SystemWorkbech/plugins/fr.ac6.mcu.debug_2.5.0.201904120827/resources/openocd/st_scripts
- {On-Chip Debuger 0.10.0+dev-0021-g524e8c8 (2019-04-12-08:33)}
- {STLINK v2 JTAG v29 API v2 SWIM v7 VID 0x0483 PID 0x3748}
- {target voltage: 3.188976}
- {Unable to match requested speed 8000 kHz, using 4000 kHz}
Then i log on with telnet:
“telnet localhost 4444”
then i make the init
“reset init”
So far so good. Now i want to read a address. When i read the “openocd User’s guide” there is a command to read: “flash mdw addressNbr”
http://openocd.org/doc/html/Flash-Commands.html
but when i try to use this command(“flash mdw 134217744”) openocd tell me “invalid subcommand mdw”
Somebody know a way to read a address from the MCU with openocd?
Or does somebody know a why this command is not available with my openocd