What is the correct way to reset a target board and run the uploaded firmware after flashing with Sam-ba?
The target is a custom board using internal flash only, the application is a factory test. So I would like to script (using python, command line Sam-ba and tcl scripts) the following procedure:
1. Program the target
2. Reset target and cleanly exit samba
3. Run test firmware
without power cycling the board. A hardware reset would be OK, though not optimal. Simply toggling NRST doesn't work though.
Can this be done with the standard samba tcl scripting?