This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
This is a bit of a funky question. We are using the MSP430FR5969 with the small data and memory model (16-bit addressable space) enabled. We are running low on space, but want to continue using the small memory model. Is it possible to load code text into upper FRAM (20-bit addressable) and run in lower FRAM (16-bit addressable)? That way we can store more code text but still get the benefits of 16-bit speed. I know that the linker file can load code from lower FRAM and run in another defined section, but will the linker understand if I load code from upper FRAM into lower FRAM with small memory and data model enabled?
Regards,
Ramon
Hey Ramon,
This is a funky question and I'm not sure but I don't think so.
Let me move this to the C compiler forum and see if they can give you some insight.
Thanks,
JD
This combination of compiler options ...
-vmspx --code_model=large --data_model=small
... is supported. I'm confident it will solve your problem. And if it does, then you are using the tools in a way that is documented and tested. That's better than going with another scheme that no one, or nearly no one, has ever used.
Please let me if this suggestion resolves your problem.
Thanks and regards,
-George
**Attention** This is a public forum