AVR32UC3B and nand flash

Go To Last Post
12 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

I'm pretty new in the flash (nand flash) and I would like to know if it is possible to use a nand flash with an AVR32UCB3 CPU ?

I have no idea of what is necessery righ now. I thing we need to take a part with a nand fllash controller embedded ? or I need to put a nand flash controller between the CPU and the Flash ?

Can sombody can give me some hint on how it is possible to do it or if i'm totaly wrong with the nand flash on a UC3B parts ?

Dumarjo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can use GPIO to bit-bang the NAND flash interface, UC3 devices has a CPU local bus with direct access to the GPIO registers.

AFAIK Atmel has a driver coming into the software framework in some time, even with software ECC.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi HCE,

Do you have an ETA for this ? We start 2 new design and we serious though using NAND flash with a AVR32UC3B256.

Is it possible to have an idea of what kind of device we should look at ?

Dumarjo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Samsung and Micron devices seems to be pretty strait forward to get to work, at least I have had success with both :)

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

is it possible to get a hand on sample code ?

do you know very aprox, a ETA that the nand flash driver will be in the FrameWork ?

regards

Dumarjo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi HCE,

What is the part number you use ? What is the interface you use ?

Dumarjo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I used UC3A1512 device, and the CPU local bus to drive the GPIO lines.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I talked to my FAE yesterday and he tell me that the UC3A have the Nand flash controller embedded. Is it on all UC3A device ?

And what is the part number of your Nand flash ?

Dumarjo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
I talked to my FAE yesterday and he tell me that the UC3A have the Nand flash controller embedded. Is it on all UC3A device ?

UC3A0 devices have EBI, so with two OR gates on the outside you can handle NAND flash attached to a chip select.

UC3A1 does not have EBI, here GPIO is your only solution.

I have also heard of a coming UC3A device, with EBI and hardware NAND flash support :)

Quote:
And what is the part number of your Nand flash ?

I'm home right now, so will try to remember it tomorrow. But it was a Micron NAND flash with one CE, 2048 page size and 64k or 128k block size.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I see that atmel have release their new framework with gpio interface. I would like to know if someone have use id and which nand flash you have used.

regards

Jonathan

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've used Micron and Samsung flash devices, do not remember the part number, but they worked fine with the gpio NAND driver.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear Hans Christian,

 

I'm trying to interface a 64GB (Giga Byte) Nand IC using GPIO to AT32UC3A3128S. Since, the address space per chip select in EBI/SMC allows only interfacing upto 165 MB. So it is not possible to interface a 64/128 GB NAND Flash using this interface. Is there any way to bypass this limitation and interface Nand without any size limitation ?

 

So, as you said I'm planning to use GPIO to bitbang and interface a 64GB IC.(App note 32136) Can you confirm that I can choose this way to successfully interface NAND IC with any size 64/128 GB (parallel interface) ?

 

Thanks in advance.

 

Last Edited: Mon. Aug 12, 2019 - 10:30 AM