Ineed to automate the script to flash and run the example.
Manual process:
Flash the binary using mcuxpresso
open teraterm of mcxn com port
when we click reset button we see the example logs that is running in the teraterm
I have mcxn board connected to the machine to port COM8
I imported project in mcuexpresso.Built the project.Now I used gui flash to flash binary on mcxn board. while flashing we see preview command check box there i used that command to flash binary insted of doing it manually
This is command that i used to flash:
%LINKSERVER_BIN%/crt_emu_cm_redlink –flash-load-exec “<path to .axf/ .bin>” -p MCXN947 –bootromstall 0x50000040 –probeserial AXBM0RQKH2Z22 -CoreIndex=0 –flash-driver= -x C:/example/mcxn947/Debug –flash-dir %MCUX_FLASH_DIR0% –flash-dir %MCUX_FLASH_DIR1% –flash-hashing –PreconnectScript LS_preconnect_MCXN9XX.scp
Now binary is flased
I opened teraterm using command line (start ttermpro.exe /BAUD=115200 /C=%COMPORT%)
Now manually i press reset button so i see the logs on teraterm.The same process needs to be automated to press reset button and see the logs in the teraterm
I need python script or any script to reset the mcxn board .