Flash Programing - 512 Bytes

Started by vvdhana October 8, 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

--
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 you write any data.

MARC Erwan

________________________________

De : 6... [mailto:6...] De la part de vvdhana
Envoy: lundi 8 octobre 2007 23:32
: 6...
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.

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

--


.


DISCLAIMER:
This electronic transmission (and any attachments thereto) is intended solely for the use of the addressee(s). It may contain confidential or legally privileged information. If you are not the intended recipient of this message, 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, interception or damage to your system.




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 !

Joel Petrique
-----Message d'origine-----
De: 6... [mailto:6...] De la part de
Oliver Betz
Envoy mardi 9 octobre 2007 09:07
: 6...
Objet: 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?

Start a _new_ thread (not replying to another mail) with
_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
> read and write the flash ?

IOW "please do my homework".

Erasing a flash block and writing to it is described very clearly in
the manual. Ask more specific.

This group descends into chaos.

Oliver
--
Oliver Betz, Muenchen



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?

Start a _new_ thread (not replying to another mail) with
_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
> read and write the flash ?

IOW "please do my homework".

Erasing a flash block and writing to it is described very clearly in
the manual. Ask more specific.

This group descends into chaos.

Oliver
--
Oliver Betz, Muenchen
--- In 6..., 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?

I know that one, although it says go forth and multiply, you should code it as repeated additions in Cobol.

OTOH, I can't find any instruction to convert 240 Mains into 5V DC, ideas?

Cheers,

Theo
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