Hi all,
I'm using the command line option readrange to get some data stored in my MCU. It works well and shows the data read as you can see in "readrange.png":
Code
cd C:\Program Files (x86)\SEGGER\JLink
JFlash.exe -openprj%~dp0\SerialNumberDataFlash.jflash -readrange0x40100070,0x40100083
IF ERRORLEVEL 1 GOTO ERROR
:ERROR
echo %ERRORLEVEL%
ECHO J-Flash ARM: Error!
pause
Now, I want to save that data, but it's not working.
- Save command:
This code doesn't return error, but it doesn't save the data on my hard drive. How can I tell the code where to store it?
- Saveas command:
Code
JFlash.exe -openprj%~dp0\SerialNumberDataFlash.jflash -readrange0x40100070,0x40100083 -saveas%~dp0\Data.bin
This code returns ERRORLEVEL = 1
What am I doing wrong?