Jlink + OpenOCD Script for uploading bin into RAM



  • Keep in mind that all the code will be lost if you reset the board.
    However it is really useful when debugging.

    • Add OpenOCD into your system PATH.
    • Get the script
    wget https://raw.githubusercontent.com/jimaobian/kendryteUpload/master/openocd_loadRam.sh
    
    • Run the script
    ./openocd_loadRam.sh *.bin
    

    Have Fun !