Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Read write flash - Eprom SPI


Advertise Here

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Read write flash - Eprom SPI - macflight2005 - Mar 17 10:49:00 2005


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.



Re: Read write flash - Eprom SPI
Re: Read write flash - Eprom SPI
______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: Read write flash - Eprom SPI - Bob Smith - Mar 17 11:05:00 2005

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


______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Read write flash - Eprom SPI - Jason Liszewski - Mar 17 14:24:00 2005

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. __________________________________





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )