microchip-pic-avr-tools / pyedbglib

Low-level protocol library for communicating with Microchip CMSIS-DAP based debuggers
MIT License
12 stars 4 forks source link

Fix: use delayed write flash page in AvrIspProtocol #7

Closed araqioui closed 4 months ago

araqioui commented 4 months ago

This MR is about fixing the AvrIspProtocol.write_flash_page() by using the delayed write command with an optional delay parameter. A delayed write page flash is prefered over normal write command in terms of being in sync with MCU's flash memory timing constraints. See this issue for further details : https://github.com/microchip-pic-avr-tools/pymcuprog/issues/44

ref: https://smade.atlassian.net/browse/LC03T-477