microchip-pic-avr-tools / pymcuprog

a Python utility for programming various Microchip MCU devices using Microchip CMSIS-DAP based debuggers
MIT License
104 stars 22 forks source link

pymcuprog cannot write to attiny414 #24

Closed dgtie closed 2 years ago

dgtie commented 2 years ago

pymcuprog can ping and seems can read(verify) from attiny414. But it fails to upload code to attiny414. There is no problem when switch back to pyupdi.

dgtie commented 2 years ago

I got it to work with pymcuprog. I have to erase before writing.

xedbg commented 2 years ago

Yupp - common misunderstanding, I'm afraid. (There is an update which supports --erase, but I think its stuck in pre-release on pypi test)