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

Locating Code

I wish to install a bootloader in a specific sector of the LPC2106. How can I place a section of code to start at a specific address?

Thanks

Rich

Parents Reply Children
  • Reinhard,
    You are correct on both counts, the classes are the way to go and I had to workout the details:

    #pragma .....

    plus class definition in LA Locate

    Thanks for the good support
    (Even now that I am on the "outside")

    Richard

  • I have this ALMOST working. I am writing a bootloader to update on-chip flash. I have the BL code located in an upper sector and it all works well except that the IAP calls result in a code fetch from sector 0 which has been erased. Although I was able to locate the BL code to an upper sector there is still a segment called ?PR?C?SDIV which remains. The pragma/User class method does not cover this segment. So I am back to trying to locate this segment manually and have had no luck so far.

    Rich