CW for the 56F83xx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW for the 56F83xx

1,914件の閲覧回数
fef
Contributor I
Does the latest version of CW for the 56F83xx device family support constant data in the program flash? I don't believe it was possible to prevent the data from being transfered to RAM in 6.1. Please correct me if I am mistaken.

Thanks,

Fred
ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

332件の閲覧回数
trytohelp
NXP Employee
NXP Employee
Hi,
 
With the previous version like V6.x or 7.x,  as specified in the targeting manual, the "Emit separate character data sections" option is used to place the char constants in a separate section (.const.data.char). Later this section can be put into FLASH using the linker command file.
 
I know that we've another solution to define the location.
See below for details.
 
The application is configured to use the simulator.
To use it on board, change the remote debugging option.
What I did:
- I created an example with Processor Expert for DSP56F8357,
- I selected the PROM-XRAM project,
- I built the project,
- I frozed the PE generation,
- I edited the .cmd file and insert the line * (.const.data.pmem) in the application code,
- in the c file I added: __pmem const toto[]={1,2,3,4,5,6,7,8,9,10};

This can not be done by Processor Expert.

 

test.zip

Message Edited by t.dowe on 2009-10-15 05:33 PM
0 件の賞賛

332件の閲覧回数
fef
Contributor I
Thanks for the suggestion. I'll give it a try.

Fred
0 件の賞賛