Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
Flash Programing - 512 Bytes - vvdhana - Oct 8 18:33:01 2007
Hi All,
I am student and not able to go ahead in my project because of the
following requirement.
I have to store 250 bytes of data in a flash memory of 512 KB
(MC9S12DP512), abt 10 times a day. I read that we can read/write even 512
bytes of data in Flash. I have tried by following the instructions in
freescale document. I am not able to write and totally confused now.
Can you please tell or give me an example on how to partially read and
write the flash ?
Thanks for ur time !
-dhana
--
View this message in context:
http://www.nabble.com/Flash-Programing---512-Bytes-tf4590788.html#a13105234
Sent from the MicroControllers - hc12 mailing list archive at Nabble.com.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
RE: Flash Programing - 512 Bytes - MARC Erwan - Oct 9 3:16:41 2007
Idea: make an array located in Flash and write it in your code?
Which compiler do you use?
WIth Cosmic compiler, you have direct commands to write data in EEPROM as y=
ou write any data.
=20
MARC Erwan=20
________________________________
De : 6...@yahoogroups.com [mailto:6...@yahoogroups.com] De la part de v=
vdhana
Envoy=E9 : lundi 8 octobre 2007 23:32
=C0 : 6...@yahoogroups.com
Objet : [68HC12] Flash Programing - 512 Bytes
Hi All,
I am student and not able to go ahead in my project because of the
following requirement.=20
I have to store 250 bytes of data in a flash memory of 512 KB
(MC9S12DP512), abt 10 times a day. I read that we can read/write even 512
bytes of data in Flash. I have tried by following the instructions in
freescale document. I am not able to write and totally confused now.=20
Can you please tell or give me an example on how to partially read and
write the flash ?=20
Thanks for ur time !
-dhana
--=20
View this message in context: http://www.nabble.com/Flash-Programing---512-=
Bytes-tf4590788.html#a13105234
2-Bytes-tf4590788.html#a13105234>=20
Sent from the MicroControllers - hc12 mailing list archive at Nabble.com.
.
05/msgId=3D15453/stime=3D1191879146/nc1=3D3848621/nc2=3D4507179/nc3=3D47763=
65>=20
=20
DISCLAIMER:
This electronic transmission (and any attachments thereto) is intended sole=
ly for the use of the addressee(s). It may contain confidential or legally =
privileged information. If you are not the intended recipient of this messa=
ge, you must delete it immediately and notify the sender. Any unauthorized =
use or disclosure of this message is strictly prohibited. Faurecia does not=
guarantee the integrity of this transmission and shall therefore never be =
liable if the message is altered or falsified nor for any virus, intercepti=
on or damage to your system.
[Non-text portions of this message have been removed]
=20
=20

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
RE: Flash Programing - 512 Bytes - Jp-Di - Oct 9 4:01:45 2007
This kind of mails exchanges makes me laughing a lot !!!=20
In our too serious world, it is so good !
So, go down into chaos and laugh, laugh again !
Joel Petrique
-----Message d'origine-----
De=A0: 6...@yahoogroups.com [mailto:6...@yahoogroups.com] De la part de
Oliver Betz
Envoy=E9=A0: mardi 9 octobre 2007 09:07
=C0=A0: 6...@yahoogroups.com
Objet=A0: Re: [68HC12] Flash Programing - 512 Bytes
Jerome Williams wrote:
> I am having trouble using mul. I am unable to get the information
> loaded in acculumator A and B and trying to used mul. Any suggestion?=20
Start a _new_ thread (not replying to another mail) with=20
_appropriate_ topic.
But even then, I'm afraid your question can't be answered.
vvdhana
wrote:
> Can you please tell or give me an example on how to partially=20
> read and write the flash ?
IOW "please do my homework".
Erasing a flash block and writing to it is described very clearly in=20
the manual. Ask more specific.
This group descends into chaos.
Oliver
--=20
Oliver Betz, Muenchen
=20
=20

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )RE: Flash Programing - 512 Bytes - Oliver Betz - Oct 10 3:03:11 2007
Hi Joel,
> This kind of mails exchanges makes me laughing a lot !!!
> In our too serious world, it is so good !
> So, go down into chaos and laugh, laugh again !
you are right, I shouldn't take it too serious.
Struggling with incompetence and inferior quality all the time made
me grumpy.
Oliver
--
Oliver Betz, Muenchen

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