Hello,
I have several projects that need to run in the faster 16 bit small memory model that I will like to add a firmware update feature to. Most of the images are under 28K and so both current program and update image could live in under the 64K bar.
But the one program that is driving this new feature uses 36K of flash. <the MSPs I use only have 56K in lower memory>
all of the MSP's i've used have at least 96K total so I was thinking I could just download the new image in the 40K of upper memory (so far so good)
The issue I'm running into is the IAR compiler will not allow mixed memory models. Is there a way to have only a few functions use the data20 and let the rest of the code remain in small model?
I was also thinking I may be able to use the BSL to do most of the dirty work of storing the new image. I could then write the "copy image to lower memory" RAM function as a different project and then just jump into it as a black box when the time comes to loading the new image. I have never do either of these things so I'm looking for so advice.
Thank you.