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

[Docs] Add erase step to CLI write example #16

Closed drojf closed 2 years ago

drojf commented 2 years ago
xedbg commented 2 years ago

Thanks @drojf - its good to clarify this. Logged as DSG-4321 - will upstream this and it will pop out the next release again.

drojf commented 2 years ago

I forgot to add the --verify switch, which I think users would have enabled in most common use scenarios. Not sure if you want to add it in the example though.

( If you do forget to erase, and don't --verify, then pymcuprog won't give any error message making it difficult to know what went wrong )