- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to configure dma transfer from NOR flash to SRAM. Currently, the copy is done with memcpy and its taking considerable amount of time(basically i am in a boot manager application copying some application image to SRAM with memcpy to jump to after to).
I tested first with a simple SRAM to SRAM copy and was able to do so. When i tried NOR flash to SRAM, i had some bus error issue logged. My question is, what's supposed to be the value in TCDn_SADDR? is it the NOR flash or should it be quad SPI buffer? In the DMAMux section of the manual it mentions of using the 'always on' source for memory to memory to transfer and seems to fit my use case. If using the quadspi buffer, it seems a bit a complicated process of configuring flash read commands, manually triggering flash read, implicitly carrying the dma transfers if my intuition is right. But if this is the case, then is there some example implementation i can reference? Please advise. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've solved it. It was the GVLD setting of the XRDC which was preconfigured for the project. It restricted access to the ahb buffer raising the bus error.
Thanks anyhow for the reply, i'll still look into the example.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, @Norbane
Thanks for the reply,
For the requirement from you side, a useful example is the bootloader demo, which could be found from GoldVIP package, from the bootloader code, it fetch the images from QSPI to SRAM via DMA.
I hope it will help.
BR
Chenyin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've solved it. It was the GVLD setting of the XRDC which was preconfigured for the project. It restricted access to the ahb buffer raising the bus error.
Thanks anyhow for the reply, i'll still look into the example.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, @Norbane
Thanks for the post.
May I know which version RTD is used in your work? it is tested based on your custom board or RDB/EVB? s32g3 or g2?
BR
Chenyin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Version 5.0.0(from what i can gather on available files). The board uses s32g274a.
