LPC1777 not initializing after successful IAP.

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

LPC1777 not initializing after successful IAP.

1,451 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by anandana on Fri Apr 15 21:00:37 MST 2016
Hi,

I am programming the LPC1777 flash using IAP but after successful programming controller is not initializing.

Below are the activities i have done.

After downloading through JTAG, I have read the flash from 0x00000000 location. Then i downloaded the binary file using IAP. At the end of IAP, I read the flash from 0x00000000 location. I have compared all bytes from both JTAG and IAP. All are matching. But contoller is not initialzing.

Can someone help me in this. Anything i am missing during IAP?


Thanks.
标签 (1)
0 项奖励
回复
6 回复数

1,433 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复

1,433 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sat Apr 16 09:52:11 MST 2016

Quote: anandana
Can someone tell me how to calculate vector check sum?



UM10470  :O


Quote:
37.3.1.1 Criterion for Valid User Code
The reserved Cortex-M3 exception vector location 7 (offset 0x001C in the vector table)
should contain the[color=#f00] 2’s complement of the check-sum of table entries 0 through 6[/color]. This
causes the checksum of the first 8 table entries to be 0.

0 项奖励
回复

1,433 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mysepp on Sat Apr 16 06:52:10 MST 2016
Have a look into lpc21isp, it is a open source ISP tool, which contains this calculation.
0 项奖励
回复

1,433 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by anandana on Sat Apr 16 06:40:02 MST 2016
Hi,

IAP is working fine. I have used wrong address for vector check sum. Thanks for mention about vector check sum.


Can someone tell me how to calculate vector check sum?


Regards
0 项奖励
回复

1,433 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by anandana on Sat Apr 16 00:05:43 MST 2016

Hi,

After downloading through JTAG, I will read four bytes from 0x0000001C location for vector checksum and i will update that in my generated binary file. Then i have downloaded to flash through IAP.

0 项奖励
回复

1,433 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Fri Apr 15 22:44:35 MST 2016
Vector checksum?
0 项奖励
回复