Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
I would like to transfer a part of the flash to a serial Eprom and transfer datas in Eprom to the flash. I actually can read and write in my Eprom via SPI. I found apllication notes to erase and write the flash(I m working on this). BUT I can't find an example that deals with "read flash". Can some help me? NB : I m using Code warrior IDE and program in C. Thanks. |
|
|
|
Normally, flash reads like RAM. However you should consult the data sheet for your flash device. They normally give detailed information an accessing the device in its various operating modes. Bob Smith macflight2005 wrote: > I would like to transfer a part of the flash to a serial Eprom and > transfer datas in Eprom to the flash. > > I actually can read and write in my Eprom via SPI. > I found apllication notes to erase and write the flash(I m working on > this). > BUT I can't find an example that deals with "read flash". > Can some help me? > > NB : I m using Code warrior IDE and program in C. > > Thanks. > Yahoo! Groups Sponsor > ADVERTISEMENT > -------------------------------------------------------------------------- ------ > Yahoo! Groups Links > > a.. To --- Avoid computer viruses, Practice safe hex --- -- Specializing in small, cost effective embedded control systems -- http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith Smith Machine Works, Inc. 9900 Lumlay Road Richmond, VA 23236 804/745-2608 |
|
I don't know what controller you are using, but Freescale document AN2400/D code that shows how to read, write, erase both FLASH and EEPROM. Jason M. Liszewski --- macflight2005 <> wrote: > > I would like to transfer a part of the flash to a > serial Eprom and > transfer datas in Eprom to the flash. > > I actually can read and write in my Eprom via SPI. > I found apllication notes to erase and write the > flash(I m working on > this). > BUT I can't find an example that deals with "read > flash". > Can some help me? > > NB : I m using Code warrior IDE and program in C. > > Thanks. __________________________________ |