How to create table data that will store in flash in C language?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2007-12-19 12:35 AM
Posted on December 19, 2007 at 09:35
How to create table data that will store in flash in C language?
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:20 AM
Posted on May 17, 2011 at 12:20
How to create table data that will store in flash in C language?
for example, in assembly language ,the following data I put in code will store in flash as data table,right? how to do it in C language? .Note_h DC.B $0F,$0E,$0D,$0B,$0B,$09,$08,$07,$07,$00 ; OCR1 high byte .Note_l DC.B $86,$E4,$4A,$C8,$20,$E8,$E1,$C3,$74,$44 ; OCR1 low byte .DutyTime DC.B $0A,$09,$08,$07,$07,$06,$05,$05,$04,$88 ; ~0.25% at VddOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:20 AM
Posted on May 17, 2011 at 12:20
Dear Kuni,
You can simply declare it as a ''const'' int table[] = ... , for more details you can refer to EWARM C Compiler help. STOne-32