Antonio Quevedo

Data stream inside FLASH

Discussion created by Antonio Quevedo on May 6, 2011
Latest reply on May 9, 2011 by bigmac

Hello,

 

I am working on a very simple project. The system simply plays a pre-recorded audio message. I would like to use a S08 microcontroller, with the audio output through PWM. 100kB will be enough for storing the message, so I thought about using the Flash program memory itself to store these 100kB of data stream.

 

Does anybody know how I can get this data (available in a HEX file) and store it inside the S08 Flash memory in compile time? Also, I need an efficient way to point to this data stream, so I can read the bytes.

 

Thanks in advance

 

Antonio Quevedo

Outcomes