• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 475
  • Last Modified:

Reneas M32192F8 Microcontroller Internal Flash Memory Programming

Renesas Microcontroller M32192F8 Internal Flash Memory Questions.

1. Can a cell be programmed more than once? I define cell size to be 8 bytes because 8 bytes are programmed at a time. For example, if I program 0x55AA to a cell and again program 0x55AA to the same cell, is that allowed?

2. Once Flash chip is in erase/write enable mode, can it be read by dereferencing an address. Or do I have to command it to read mode in order to read. If it needs to be commanded to read mode in order to read, then do I have to put it back in erase/write mode in order to program.

Please see chapter 6 at the following link:
http://documentation.renesas.com/eng..._195_196hm.pdf

Thanks.
0
naseeam
Asked:
naseeam
  • 2
  • 2
  • 2
2 Solutions
 
Anthony2000Commented:
I tried to access the pdf, but I could not.

Based upon my experience, I attempted to answer your questions:
1. Can a cell be programmed more than once... - yes
2. I believe you enter erase/write, write, enter read mode, verify what you have written, then to continue writing, enter erase/write, and repeat for the next block.
0
 
naseeamAuthor Commented:
Thanks.

Could you go to www.renesas.com.  Then, click on M32R and it will take you to M32192 Manual.  Please see chapter 6 of this manual.

For all of our platforms, we enable flash chip for erase and program during initialization.  While chip is in this enabled for erase and program, we program the chip and also read the chip.  I mean we just read by dereferencing memory address.  Can we do that with this flash memory.
0
 
Anthony2000Commented:
I cannot beileve it, but I cannot find the manual. I find the page, but I cannot find the correct pdf. I see product specifications, but no manual that describes the flash programming????? Can you give more specific details as to what to click on. I am surprised that I cannot find it???
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Infinity08Commented:
>> http://documentation.renesas.com/eng..._195_196hm.pdf

This link is incomplete (notice the ... in there). Can you paste the correct link, please ?
0
 
naseeamAuthor Commented:
Here is the link again.  Sorry about that.

http://documentation.renesas.com/eng/products/mpumcu/rej09b0123_32192_195_196hm.pdf

Another way to get the manual is as follows:

1.  Go to www.renesas.com
2.  Under Find a Product - Click M32R
3.  Upper Left Hand Side, click on documentation
4.  Middle Left Hand Side, click on 32192/32195/32196 Group Hardware Manual
5.  Then click on Hardware Manual
6.  Go to Chapter 6.4 -  Internal Flash Memory
0
 
Infinity08Commented:
>> 1. Can a cell be programmed more than once? I define cell size to be 8 bytes because 8 bytes are programmed at a time. For example, if I program 0x55AA to a cell and again program 0x55AA to the same cell, is that allowed?

I wouldn't see why not. However, you have to take into account the limitations of flash memory. The PDF document you linked to guarantees only 100 successive re-writes. After that, there are no more guarantees.
Usually with flash memory, changing a 1 bit to a 0 bit is no problem. But when you want to change it the other way around (from 0 to 1), you need to "erase" (that is set all bits to 1) a whole block.


>> 2. Once Flash chip is in erase/write enable mode, can it be read by dereferencing an address. Or do I have to command it to read mode in order to read. If it needs to be commanded to read mode in order to read, then do I have to put it back in erase/write mode in order to program.

That would be my guess too (ie. mode switches are needed every time). Unless there's something special about this flash memory (which doesn't seem to be the case).
Paragraph 6.6 explains more about this ...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now