Skip to content

Commit

Permalink
v0.7.1: add M032 series to catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
elfmimi committed Nov 28, 2021
1 parent 01f3204 commit 9c763dd
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
## [nu-isp](./nu-isp/README.md)

## ChangeLog
### v0.7.1
- add M032 series and NUC029 variants to part list

### v0.7.0
- suppress untrue error message at the end
- add all of NUC123 and NUC126 variants to part list
Expand Down
4 changes: 2 additions & 2 deletions nu-isp-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nu-isp-cli"
version = "0.7.0"
version = "0.7.1"
authors = ["Ein Terakawa <[email protected]>"]
edition = "2018"
description = "CLI tool for Nuvoton ISP_HID Bootloaders"
Expand All @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
readme = "README.md"

[dependencies.nu-isp]
version = "0.7.0"
version = "0.7.1"
path = "../nu-isp"

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions nu-isp-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ No special preparaiton needed. Install it, and it just works.

### linux

You'll need libusb. Depending on your distribution, you might need to `sudo apt-get install libudev-dev libusb-1.0-0-dev`.
You'll need libusb. Depending on your distribution, you might need to `sudo apt-get install libusb-1.0-0-dev pkg-config`.

If you'd like not to use sudo everytime, you'll need udev rules. With your board plugged in and in bootloader mode, use `lsusb` to find its vendor-id and product-id, seen here as 0416:a316.

Expand Down Expand Up @@ -43,7 +43,7 @@ Then replug your board and let it into bootloader mode again.
```bash
$ nu-isp-cli
Nuvoton NuMicro ISP_HID Programming Tool [unofficial]
Version 0.7.0
Version 0.7.1

Quick Reference:

Expand Down Expand Up @@ -82,5 +82,5 @@ $ nu-isp-cli firmware.elf

## supported chips

Currently it is only tested with NUC123 and NUC126 but it should work with many other chips with conformant bootloaders.
It is tested with NUC123 , NUC126 , NUC029 and M032 series. and it should work with many other chips as long as their bootloaders are compatible.
I'll happily add new chips to the list upon your report confirming its correct operation.
2 changes: 1 addition & 1 deletion nu-isp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nu-isp"
version = "0.7.0"
version = "0.7.1"
authors = ["Ein Terakawa <[email protected]>"]
edition = "2018"
description = "Nuvoton ISP_HID protocol library"
Expand Down
20 changes: 19 additions & 1 deletion nu-isp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,26 @@ pub fn get_partinfo(pdid: u32) -> Option<PartInfo> {
NUC126KG4AE { 0x00C05230, 256*1024 },
/* NUC029 */
NUC029LGE { 0x00295C50, 256*1024 },
/* NuMicro M0-family */
NUC029SGE { 0x00295C51, 256*1024 },
NUC029KGE { 0x00295C52, 256*1024 },
/* M032 */
M032FC1AE { 0x01132CB0, 32*1024 },
M032EC1AE { 0x01132CA0, 32*1024 },
M032TC1AE { 0x01132CE0, 32*1024 },
M032TC2AE { 0x01132DE1, 32*1024 },
M032TD2AE { 0x01132DE0, 64*1024 },
M032LC2AE { 0x01132D01, 32*1024 },
M032LD2AE { 0x01132D00, 64*1024 },
M032LE3AE { 0x01132E00, 128*1024 },
M032LG6AE { 0x01132601, 256*1024 },
M032LG8AE { 0x01132600, 256*1024 },
M032SE3AE { 0x01132E10, 128*1024 },
M032SG6AE { 0x01132611, 256*1024 },
M032SG8AE { 0x01132610, 256*1024 },
M032SIAAE { 0x01132110, 512*1024 },
M032KG6AE { 0x01132641, 256*1024 },
M032KG8AE { 0x01132640, 256*1024 },
M032KIAAE { 0x01132140, 512*1024 },
};
pdid_map(pdid)
}
Expand Down

0 comments on commit 9c763dd

Please sign in to comment.