minis
Newbie level 4
Hi everone!
I have a .c file which I'd like to write into the emulated eeprom in Freescale MC9S12P128 microcontroller from computer using SCI (bluetooth module). I should be able read and wirte this data during running program on uC. I emulate eeprom using Data-Flash which is dedicated to such appilactions. And I figured out that maybe I should receive .19 file from .c file and then write into eeprom as normal data set. And now I have two questions. Is this thinking proper and if it is, what should I write into eeprom - whole s-record file or just a data sequence without any records, descriptions, addresses, etc?
Or maybe there are other ways to write .c file (with defines and structures within) into eeprom.
Please excuse me English, it's been a long time since I've used this language.
Best regards,
Minis
I have a .c file which I'd like to write into the emulated eeprom in Freescale MC9S12P128 microcontroller from computer using SCI (bluetooth module). I should be able read and wirte this data during running program on uC. I emulate eeprom using Data-Flash which is dedicated to such appilactions. And I figured out that maybe I should receive .19 file from .c file and then write into eeprom as normal data set. And now I have two questions. Is this thinking proper and if it is, what should I write into eeprom - whole s-record file or just a data sequence without any records, descriptions, addresses, etc?
Or maybe there are other ways to write .c file (with defines and structures within) into eeprom.
Please excuse me English, it's been a long time since I've used this language.
Best regards,
Minis