SDK101, pgs. 6-3 & 6-17, Put data into PRAM, Why?

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

SDK101, pgs. 6-3 & 6-17, Put data into PRAM, Why?

897件の閲覧回数
j___
Contributor IV

Page 6-3)   6.1.4 pramdata.h and pramdata.c
When writing an embedded application, it is sometimes useful to put some or all program variables into Program RAM instead of Data RAM. The pramdata.h and pramdata.c files isolate SDK data that is destined to be placed into Program RAM. See Section 6.3 for more information.

Page 6-17)    6.3.1.6 Linking: Initialized Data For Program RAM
Section 6.1.4 explains why data is placed into Program RAM.

Section 6.1.4 does NOT explain why data is placed into Program RAM. It only states that "sometimes it useful" with NO EXPLANATION at all. One of the big-boasts to the DSC parts is the Harvard Architecture and simultaneous access of instructions and data (some chips w\2 data busses). So, to suddenly say it is useful to put data in PRAM without any context is not helpful.

Why is it useful to put data into PRAM?

0 件の賞賛
返信
2 返答(返信)

745件の閲覧回数
j___
Contributor IV

Hi Carlos,

I'm using the 56F807.

0 件の賞賛
返信

745件の閲覧回数
Carlos_Mendoza
NXP Employee
NXP Employee

Hi ,

Could you tell us which MCU are you using?

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 件の賞賛
返信