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 #6

Open araqioui opened 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 on pymcuprog repo for further details.