

def programPage(self, flashPtr, bytes):
    write_size = 1024
    for i in range(0, 4):
        data = bytes[(i * write_size):((i + 1) * write_size)]
        Flash.programPage(self, (flashPtr + (flashPtr * write_size)), data)

dataset/ETHPy150Open mbedmicro/pyOCD/pyOCD/flash/flash_lpc11u24.py Flash_lpc11u24.programPage/VarMisuse@61/74 `i`->`flashPtr`