DMA Read PFlash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19909
Level 3
Level 3
First like received
I am trying to configure DMA to read the whole pflash area I am using TC37xx so pflash is 6MB 2 banks, I configured the move length to be 256 bits -32 bytes- and the transfer to contain 16 moves, so now a whole transaction takes 512 bytes, and the number of transactions is 12288.. but SRI bus error is reported due to the DMA trying to read address A06000000 which is outside of bounds obviously, so first question , is there a more proper way to configure those parameters?

and I don't quite understand how the circular buffer and the configuration parameter for it work? I disabled the source circular buffer as I will read the whole pflash once, but for destination buffer I enabled the circular buffer but I don't quite understand how it work and how it should be configured as well?
0 Likes
0 Replies