This example provides a description of how to use a DMA channel to transfer a
word data buffer from memory (Flash) to memory (RAM).
The dedicated DMA channel is configured to transfer once a time a 32 word data buffer
stored as constant in the Flash memory to another buffer in the RAM memory.
The received data are stored in the DST_Buffer.
The DMA channel transfer complete interrupt is enabled to generate an interrupt at
the end of the buffer transfer. As soon as the transfer is completed an interrupt is
generated and in the DMA channel interrupt routine the transfer complete interrupt
pending bit is cleared.
The data counter is stored before and after the transfer to show that all data has been
transfered.
TransferStatus gives the data transfer status where it is PASSED if transmitted and
received data are the same otherwise it is FAILED
EasyARM2100工程模板
該工程模板在文件夾EasyARM2100下,適用于EasyARM2104和EasyARM2100開發(fā)板。
該模板在文件夾EasyARM2100下,適用于EasyARM2100開發(fā)板,僅適合于用ADS編譯器的器情況。
模板文件夾下有一些文件夾,用于存放產生的文件。src文件夾用于存放用戶的源文件。
模板包含了EasyARM系列開發(fā)板的啟動代碼、初始化文件、分散加載文件等。這些文件和ADS模板的文件相同。
模板已經為用戶設置好了各種生成目標的設置選項,包括仿真片內RAM調試、片外RAM調試、片內FLASH調試、片內FLASH發(fā)布,以及所需要的初始化文件。對不同開發(fā)板和不同芯片,生成目標會有所不同。在模板文件夾下有各種不同生成目標的文件夾,用于存放各自的輸出文件。
EasyARM2100模板,有Simulator、Debug in RAM、Debug in FLASH和Release in FLASH 4種生成目標