Blinkinlabs / ch554_sdcc

CH554 software development kit for SDCC
295 stars 70 forks source link

default CODE_SIZE should be 14kB (0x3800) #16

Closed nerdralph closed 4 years ago

nerdralph commented 4 years ago

https://github.com/Blinkinlabs/ch554_sdcc/blob/master/examples/Makefile.include#L24

The specs for the CH554 state, 14KB Code Flash 2KB BootLoader. I've tested on a CH552T, and get verify errors when I try to upload more than 14kB.

The specs for the CH551 state, "10KB Code Flash 2KB BootLoader", but I've been able to upload 12kB before I get verify errors on the CH551.

cibomahto commented 4 years ago

Ah, that makes sense. Want to make a pull request for it?

nerdralph commented 4 years ago

OK, I'll fork and update, then make a pull request.