This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM7 and IAP programming questions

Hi

Q1
I cant find a link to any ARM7 IAP example C source code on the KEIL site. Can anyone provide a link please?

Q2
I need to use IAP to erase and re-program a number of code sectors. Do I need to switch the ARM7 out of PLL mode running at 64MHz or can it work at this freq ? The data I have found so far seems conflicting

Q3
My App runs in ARM7 2103 thumb mode, do I need to do anything else apart from

#define iap_entry ((IAP) 0x7FFFFFF1) // IAP Entry Point

Q4
I think I must disable all ints before calling the IAP functions, but what about the fact that I have watchdog enabled? During IAP function execution I cant kick the watchdog, so I am in danger of watchdog resetting. How does IAP and watchdog enabled play nicely together ?

So far I have got the read version command working but having problems with the Flash erase/write code

Thanks for any help

regards David