Hi,
In lpc2364 MCU,I am implementing a bootloader which uses IAP apis, At location 0x0000 i have the bootloader code from here i am call my application which is loaded at location 0x8000 through jtag programmer.In this procedure my application at loaction 8000 is working fine. Then I loaded the same application at loaction 0x8000 by IAP API and cross verified the code the code loaded by my program and JTAG programmer is same.but at the instuction 0x00008000 E59FF018 LDR PC,[PC,#0x0018] at his loaction the value of PC is 0x8000 but after this instruction the value of PC should be 0x8058 but in the code which is loaded by IAP API the PC becomes 0x0058. Do i want to do any presettings to execute the above instuction correctly. Kindly help me to solve this issue .If u didnt understand kindly inform.. so that i wil explain in details.
Hi Leandro Gentili,
yes if i load the code at location 0x8000 with ulink programmer its working fine. But if i do the same thing by my bootloader program using IAP apis the above instruction is malfuntioning.
Hi Abishek,
Now I think that, the problem you encountered is totally different from mine; and I don't know anything about IAP.
But I would like to know, is your Application a HEX file or a BIN file?
Hi John Hex file
Maybe you can use the C:\KEIL\ARM\BINxx\fromelf.exe to translate your Application to BIN format; then try it again to see if the BIN format works properly with IAP.