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
  • 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

Reply
  • 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

Children
No data