--- In lpc2000@yahoogroups.com, David Bermingham <crwpulsar@y...> wrote: > Hi Peter, > Thanks for the info....that solved the IAP issue!!Works prefectly now! > > As regards the second problem/issue, The startup file Im using just initialises the exception vectors, stacks and branches to main (). Do I need another assembly routine to move the data from Flash to RAM?? I thought the scatterloading file set that up? > The problem I have is that any global variables or buffers in the code seem to cause the error! I can remove the problem by using local variables and passing them between functions but this is less than pretty!!! > > Thanks, > David > Hi David, Excellent - glad the IAP is working now. For the scatterloading problem, try branching to __main instead of main. Have you also written your own version of __user_initial_stackheap, to tell the C startup code where to place the heap base and stack limit? Peter.
Message
Re: LPC2106 IAP
2004-03-27 by Peter
Attachments
- No local attachments were found for this message.