Hi All,
I'm new with writing a secondary bootloader to my LPC11U67.
I was able to erase the flash, nut when I came to write to an address the function
Chip_IAP_CopyRamToFlash retutns me a value of 6 - ERR_ISP_COUNT_ERROR which means:
Byte count is not multiple of 4 or is not a permitted value.
I was trying to solve it by changing the destination address, the buffer i sent but there is no change, still get the same error.
Can anyone assist me to understand what this error means and how to solve it.
Thanks in advance.
已解决! 转到解答。
Hi,
The number of Byte must be 256, 512,1024,2048, otherwise, the COUNT_ERROR will happen.
Pls check the number of byte parameter
Hope it can help you
BR
XiangJun Rong