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

Fix flash write for Atmega328p when using ISP interface #43

Closed araqioui closed 2 months ago

araqioui commented 2 months ago

This MR is about adding delay between consecutive flash page write operations for the Atmega328p devices when using the ISP protocol. This fixes the problem of corrupted writes that occurs when writing multiple flash pages consecutively.

xedbg commented 2 months ago

Which hardware tool are you using that needs this delay to work correctly?

araqioui commented 2 months ago

Which hardware tool are you using that needs this delay to work correctly?

@xedbg Atmel Ice probe using ISP interface.