Hi,
Trying to log the output of command line version of JFlashSPI. Manual (UM08001) says there is a command line option "-jflashlog", however, if I include it into my batch file, log is not being created, even though I can see programming activity on the screen. If I run the GUI version, logging works as expected. But I need command line, for automation.
My script looks like:
Thank you!
Martynas
Trying to log the output of command line version of JFlashSPI. Manual (UM08001) says there is a command line option "-jflashlog", however, if I include it into my batch file, log is not being created, even though I can see programming activity on the screen. If I run the GUI version, logging works as expected. But I need command line, for automation.
My script looks like:
Source Code
- start "JFlashSPI_CL.exe" "C:\Program Files (x86)\Segger\JLink_V630k\JFlashSPI_CL.exe" -USB600000000 -jflashlog -openprj "C:\projects\test_data.jflash" -open "C:\projects\test_data.hex" -connect -erasechip -programverify -disconnect -exit
- IF ERRORLEVEL 1 goto ERROR
- goto END
- :ERROR
- ECHO J-Flash SPI: Error!
- pause
- :END
Thank you!
Martynas