Skip to content

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hpm_isp

Crate.io Crate.io Stars LICENSE Build

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

Install

Pre-built binaries (Recommended)

Release

Cargo

cargo install hpm_isp

For Linux users

sudo cp 70-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)
# Note: if hpm_isp.toml exists in the working directory, it will be used by default.
# So you don't need to pass -c option explicitly.
hpm_isp flash -c hpm_isp.toml 0 write 0x400 flash.bin
# Read from flash
hpm_isp flash 0 read 0x0 0x4000 flash.bin
# Use config wizard to generate config file (save as hpm_isp.toml)
hpm_isp wizard

Config file

Memory config files are TOML:

[memory_config]
flash_type = "sfdp_sdr"
port_connection = "port_a_cs0"
pin_group = "group1"
quad_io_enable_sequence = "none"

asciicast

About

ISP tool for HPMicro MCUs

Topics

Resources

Stars

16 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages