We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Erik,
I've used the uPSD family of products from ST quite a bit and they're not equivalent to anything resembling an NXP chip. They, in fact, DO NOT have a bootloader masked into ROM somewhere for you. The don't even have really solid information on how to get IAP done except for a one-page whitepaper.
Having done it already myself, I'm not surprised that Andy's having trouble. There are about 20 different ways to setup IAP for this chip and each have their strengths and weaknesses.
-Jay D.