Yeah, I call iap_entry(command,result) and the next line of the code is printf something and it never calls the printf. I pretty much copied the philips code from the app note because this stuff is new to me!(Like most of it!!!) so it must be incorrect parameter passing?? embeddedjanitor <manningc2@...> wrote:--- In lpc2000@yahoogroups.com, David Bermingham <crwpulsar@y...> wrote: > Hello, > Im trying to write some data from the RAM to the flash using the IAP, I followed the application note pdf given by philips but when I call the iap_entry function the processor seems to hang...nothing happens at all!!! > > Do you pass the command code and command parameters into the command data structure or am I missing something..even when I try to do something simple like read the Part ID it seems to hang! > Thanks....again! > David When you say "nothing happens at all", what do you mean? Is it stuck in the IAP code or did it cause an exception? There are a few things that I can think of that might be causing problems: * Incorrect set up of parameters. Likely to cause a data abort. * Incorrect set up of the thumb bx stuff. Likely to cause a prefetch or other abort. -- Charles Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/lpc2000/ To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
Message
Re: [lpc2000] Re: LPC2106 IAP
2004-03-22 by David Bermingham
Attachments
- No local attachments were found for this message.