Working with the AT91SAM9260 controller from atmel, I get a lot of errors when I try to program the NOR flash AT49BV160 which is connected at NSC0.
The problem is, that I have no communication at NRD, NRW0 and NCS0, when I try to program the flash or turn on the power of this board (BMS pin is high during the reset).
During the programming via the jtag interface I get a lot of errors (validation failed). Erase and programming was successfull (said uvision).
Maybe someone of you working with this controller, could show me the right commands / settings (especially to configurate this flash).
thank you in advance - best regards
Stefan
Hi Milorad,
atmel send me a configuration example for the registers which should work - but their timing is very fast (maybe normal) and so there's no activity at the pins like WE. I'm only able to read out the product ID from the flash, when I use a extrem slow configuration (long timings) but, I'm not able to read out for example the CFI ID.
At the moment I'm in the dark.
The difference between the longest and shortest trace is only 40mm - (which is round about 0.25ns). It's very strange.
best regards Stefan
Hi Stefan,
I would then suggest to you:
- try another chip, perhaps that one is damaged - try to arrange with Atmel to send them your board so they try to get controller working - ask Atmel if they have any development board using SAM926x chip with NOR Flash, so you could try on original Atmel development board and look at the signals - choose another non-volatile memory like SPI Dataflash or something similar with SDRAM
Best regards, Milorad