Content originally posted in LPCWare by Albert on Mon Feb 21 06:09:07 MST 2011
Hi all,
My doubts can be obvious for someone.
I have a little of doubts about the flash programing methods.
When I debug my code with JTAG or SWD these methods program the code in the flash automatically, but how? They call the IAP command for do the program?
IAP comand can just write and erase data in the flash, or it can program the code in the flash as ISP? What the function of IAP?
I read on a docment that if you put 0 on P0.22 after reset the ISP mode is called and know as "first boot", but in the same condition the processor can enter on IAP mode, which is know of "Second boot" . How can I enter on the "second boot"?
Thanks.