Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Erasing of Flash

When I use the following command:

system "nios2-flash-programmer --base=0x000000 --erase-all --cable=$cable --device=1 ";

it starts erasing the flash. But it is sometimes it is ready wihtin 0.2 seconds and the flash is not erased at all. I'am using a cyclone device and a Intrel JS28F256 flash. Sometimes the erasing starts correctly and it takes much longer to erase the flash.

Can someone help me??

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Two scenarios:

    (1) If you are using an Altera built development kit, the flash memory signaling might have problem. I had experience with this before. (written successfully but couldn't load.)

    (2) If you build your own custom board, I wonder if you have other ways to confirm a stable flash I/O.