In-system programming tool for LPC microcontrollers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

alpaca_isp.rst 1.5KB

12345678910111213141516171819202122232425262728293031323334
  1. alpaca_isp Command-Line Tool
  2. ============================
  3. ::
  4. usage: alpaca_isp [-h] [-b BAUDRATE] [-c CLOCK_KHZ] [-t TIMEOUT] [-e]
  5. [--no-start] [--try-sync TRY_SYNC] [-n] [-r]
  6. file [file ...] tty
  7. Flash an LPC microcontroller
  8. positional arguments:
  9. file Intel HEX file to flash to the microcontroller
  10. tty the tty to which the microcontroller is attached
  11. optional arguments:
  12. -h, --help show this help message and exit
  13. -b BAUDRATE, --baudrate BAUDRATE
  14. baud rate used for communication (default: 115200)
  15. -c CLOCK_KHZ, --clock-khz CLOCK_KHZ
  16. microcontroller's clock frequency in kHz (default:
  17. 12000)
  18. -t TIMEOUT, --timeout TIMEOUT
  19. timeout for reading data from the microcontroller in
  20. seconds (default: 0.1)
  21. -e, --erase erase all the microcontroller's flash before flashing
  22. --no-start do not start the microcontroller after flashing
  23. --try-sync TRY_SYNC maximum number of tries to synchronize with the
  24. microcontroller
  25. -n, --control control RS232 lines to enter ISP mode (/RST = DTR,
  26. /ISP = RTS)
  27. -r, --verify verify that the data were written correctly after
  28. flashing