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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

725 Views
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 Kudos
2 Replies

573 Views
j___
Contributor IV

Hi Carlos,

I'm using the 56F807.

0 Kudos

573 Views
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 Kudos