ch32-hal icon indicating copy to clipboard operation
ch32-hal copied to clipboard

ESIG chip id address is wrong for V002/V004/V005...

Open Noxime opened this issue 9 months ago • 0 comments

This condition assumes all V00x chips behave the same, but in newer models (V002, V004, etc) the chip ID is 0x1FFF F704 like most WCH chips. 0x1FFF F7C4 is only used on V003 and CH641. I think the Vendor Bytes area got changed in general, so everything that touches those should be reviewed.

https://github.com/ch32-rs/ch32-hal/blob/2f176c867c6f1c152e6cec6954ebc2758b637fd1/src/signature.rs#L49-L50

Noxime avatar Mar 24 '25 14:03 Noxime