Secondaery bootloader on LPC11U67

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Secondaery bootloader on LPC11U67

跳至解决方案
1,006 次查看
Guy_mego
Contributor II

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.

 

标记 (1)
0 项奖励
回复
1 解答
972 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

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

 

 

xiangjun_rong_0-1696820104480.png

 

在原帖中查看解决方案

2 回复数
973 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

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

 

 

xiangjun_rong_0-1696820104480.png

 

951 次查看
Guy_mego
Contributor II

Hi,

It works. 

Thanks a lot. 

0 项奖励
回复