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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,411 次查看
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 回复数

1,259 次查看
j___
Contributor IV

Hi Carlos,

I'm using the 56F807.

0 项奖励
回复

1,259 次查看
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 项奖励
回复