IAP programming

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by KISHORE_WeP on Mon Feb 16 08:00:42 MST 2015

I am currently working on LPC 1777 MPU and in that I am trying to store the firmware onto on-chip flash of size 512KB through IAP by using parallel interface (IEEE1284 standard).

I am able to erase the sectors and write bytes through IAP command handling for 18th to 29th sectors of on-chip flash.

But, when I try to erase sectors from 0 to 17, controller is getting hanged.
All interrupts have been disabled and VTOR register is pointing to on-chip RAM1.

Can you guide me on how to progress further, because through JTAG programming I am able to store the firmware starting from 0x00000000 address location.