LPC1777 not initializing after successful IAP.

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

LPC1777 not initializing after successful IAP.

1,452 Views
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.
Labels (1)
0 Kudos
Reply
6 Replies

1,434 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos
Reply

1,434 Views
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 Kudos
Reply

1,434 Views
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 Kudos
Reply

1,434 Views
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 Kudos
Reply

1,434 Views
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 Kudos
Reply

1,434 Views
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 Kudos
Reply