Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Обсуждение

Question with the DMA

Altera_Forum
Почетный участник II
1 067Просмотр.

The flash device need special instruction to write. Is it realizable to transfer data to flash device with DMA?

0 баллов
2 Ответы
Altera_Forum
Почетный участник II
423Просмотр.

Usualy no. Normaly you need to erase an entire page before you can write to flash memory. 

 

But if you want to write only once (and sequentialy), yes, it should be possible.
Altera_Forum
Почетный участник II
423Просмотр.

Actually that is unlikely, after each write you probably need to poll a status register until the write itself has completed. 

Clearly it is possible to design a flash interface that performs this status test (or even a dma controller that will do status reads and compares and loops), but it is unlikely to be done!
Ответить