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.
Tool/software: TI C/C++ Compiler
Hi Sir,
Using MSP430FR5964 & IAR compiler. We need use FRAM memory the address 0x10000- 0x1ffff to store JPG file.
But we cannot defines as following:
#pragma location = 0x10000
__persistent unsigned char Picture[40960];
unsigned char Picture[40960];
Please help me to slove this issue,
HC
Thanks
Best regards
Jacky Xu
Hi
You should define it like this and change the data mode to large just like Bruce said
#pragma location = 0x10000
__no_init unsigned char Picture[40960];
For more information you can refer to the IAR C/C++ Compiler User Guide.
Best regards
Gary
Hi Gary,
Thanks for your reply, I found problem, bescose IAR genral option needs seting as following:
HC
Thanks
**Attention** This is a public forum