微處理器 - NXP LPC2103 - 如何使用lpc21isp燒錄



步驟如下:

$ sudo lpc21isp -wipe -control  -verify -debug2 ./main.hex /dev/ttyUSB0 9600 12000
    Verify after copy RAM to Flash.
    lpc21isp version 1.97
    File ./main.hex:
        loaded...
        converted to binary format...
        image size : 136
    Image size : 136
    Synchronizing (ESC to abort)... OK
    Read bootcode version: 21
    2
    Read part ID: LPC2103, 32 kiB FLASH / 8 kiB SRAM (0x0004FF11)
    Will start programming at Sector 1 if possible, and conclude with Sector 0 to ensure that checksum is written last.
    Wiping Device. OK 
    Sector 0: ......
    Download Finished and Verified correct... taking 1 seconds
    Now launching the brand new code