Secondaery bootloader on LPC11U67

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Secondaery bootloader on LPC11U67

Jump to solution
1,018 Views
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.

 

Tags (1)
0 Kudos
Reply
1 Solution
984 Views
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

 

View solution in original post

2 Replies
985 Views
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

 

963 Views
Guy_mego
Contributor II

Hi,

It works. 

Thanks a lot. 

0 Kudos
Reply