This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NOR flash - validation failed

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

Parents
  • Hello Stefan,

    It seems that you have a custom board with NOR flash and you are trying to program it with our flash algorithm which was made for Atmel AT91SAM9260 board which has Serial (SPI driven) DataFlash chip and not NOR Flash.

    So what you have to do is write your own Flash Algorithm for your NOR Flash chip you can use similar algorithm for example AT49xV32x from \Keil\ARM\Flash folder.

    Also what you have to (and this is why you do not see anything happening on NRD, NWR0 and NCS0 pins) is enable hardware to work with NOR Flash.

    Our agorithm that is default for AT91SAM9260 is for Serial DataFlash which is on Atmel board.

Reply
  • Hello Stefan,

    It seems that you have a custom board with NOR flash and you are trying to program it with our flash algorithm which was made for Atmel AT91SAM9260 board which has Serial (SPI driven) DataFlash chip and not NOR Flash.

    So what you have to do is write your own Flash Algorithm for your NOR Flash chip you can use similar algorithm for example AT49xV32x from \Keil\ARM\Flash folder.

    Also what you have to (and this is why you do not see anything happening on NRD, NWR0 and NCS0 pins) is enable hardware to work with NOR Flash.

    Our agorithm that is default for AT91SAM9260 is for Serial DataFlash which is on Atmel board.

Children