problem with writing
Up to M16C
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.
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.
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

