3 releases (breaking)

new 0.3.0 Apr 9, 2024
0.2.0 Aug 27, 2023
0.1.1 May 1, 2022
0.1.0 Apr 23, 2022

#312 in Hardware support

Download history 14/week @ 2024-02-22 10/week @ 2024-02-29 2/week @ 2024-03-07 2/week @ 2024-03-14 30/week @ 2024-03-28 129/week @ 2024-04-04

162 downloads per month

MIT license

28KB
792 lines

hpm_isp

Crate.io Crate.io Stars LICENSE Build

An ISP (In-system programming) tool for HPMicro MCUs.

Install

Release

Cargo

cargo install hpm_isp

For Linux users

sudo cp 99-hpm_bootrom.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules

Usage

# Write to flash (use default memory config)
hpm_isp flash 0 write 0x400 flash.bin
# Write to flash (use custom memory config)
hpm_isp flash -c hpm_isp.bin 0 write 0x400 flash.bin
# Read from flash
hpm_isp read -c hpm_isp.bin 0 read 0x0 0x4000 flash.bin
# Use config wizard to generate config file (save to hpm_isp.bin)
hpm_isp wizard

asciicast

Dependencies

~4–14MB
~143K SLoC