Executing code from RAM (without LX51)

Hi All,

Working with a uPSD33xx.

I am writing a bootloader which performs IAP. Once I have downloaded an app, each time I reset the device I need to be able to 1) determine that an application is actually present before trying to execute it and 2) verify the integrity of said application.

To do this I want to use a block of boot flash to act as NV storage for details about the image, i.e. start address, length, checksum, etc.

My bootloader executes out of boot flash and so to have RW access to the NV 'image table' I guess I will need to execute my flash erase/programming routines out of RAM.

Alternatively I could waste a whole block of main flash on storing only a few 10's of bytes of data.

Has anyone acheive such a thing without the use of LX51 and friends?

Any help appreciated.

Andy

Parents
  • I want to use a block of boot flash to act as NV storage for details about the image

    Now what on earth would you want to go and do that for?

    Why put pieces of information that naturally belong together, since they would only ever be changed simultaneously, into separate places like that?

    It's quite a lot easier to keep that information as a header block directly in front of the application's image.

Reply
  • I want to use a block of boot flash to act as NV storage for details about the image

    Now what on earth would you want to go and do that for?

    Why put pieces of information that naturally belong together, since they would only ever be changed simultaneously, into separate places like that?

    It's quite a lot easier to keep that information as a header block directly in front of the application's image.

Children
More questions in this forum