microchip-pic-avr-tools / pymcuprog

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

avr128da32 cannot be flashed the second time #17

Closed wimalopaan closed 2 years ago

wimalopaan commented 2 years ago

I flashed a simpled pin-toggler successful. Then I want to overwrite this with another content. pymcuprog states success, but the flash isn't overwritten, I have to explicitly erase and then write. Then the new content is flashed successfully.

mraardvark commented 2 years ago

See: https://github.com/microchip-pic-avr-tools/pymcuprog/issues/8 The --erase switch is not yet in production release, but available on https://test.pypi.org/project/pymcuprog/

wimalopaan commented 2 years ago

Ok, thanks