Personal tools
You are here: Home Forums M16C problem with writing

problem with writing

Up to M16C

problem with writing

Posted by Dima Zevelev at August 05. 2008

Hi.

My program is written at F000-FFFFF.

i took flash api module from examples and trying to use it as follows:

1. Write string at D000 - Successfully

2. Read from D000 - Successfully, it means i got the written string

3. erase block 7 - Successfully

4. Read from D000 - Successfully, it means i got empty string

5. Write string at D000 - and i got Write Error reported by flash control register

Somebody has ideas why it can happens.

Thanks.

Re: problem with writing

Posted by Dima Zevelev at August 05. 2008

Previously Dima Zevelev wrote:

Hi.

My program is written at F000-FFFFF.

i took flash api module from examples and trying to use it as follows:

1. Write string at D000 - Successfully

2. Read from D000 - Successfully, it means i got the written string

3. erase block 7 - Successfully

4. Read from D000 - Successfully, it means i got empty string

5. Write string at D000 - and i got Write Error reported by flash control register

Somebody has ideas why it can happens.

Thanks.

Thanks , but i found my mistake.

Re: problem with writing

Posted by Richard Ries at August 07. 2008

Previously Dima Zevelev wrote:

Hi.

My program is written at F000-FFFFF.

i took flash api module from examples and trying to use it as follows:

1. Write string at D000 - Successfully

2. Read from D000 - Successfully, it means i got the written string

3. erase block 7 - Successfully

4. Read from D000 - Successfully, it means i got empty string

5. Write string at D000 - and i got Write Error reported by flash control register

Somebody has ideas why it can happens.

Thanks.

Thanks , but i found my mistake.

Can you elaborate on what was wrong, in case somebody else has this problem>

Thanks,

--Rich

Powered by Ploneboard