This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DCAN controller RAM initialization



Hi,

I opened a recent topic regarding DMA control packets initialization a few days ago (see e2e.ti.com/.../553509) .

Now I am going further in my project and I have similar question related to DCAN controller:
In my system, I have two softwares that run one after one other: a bootloader and an applicative.
My bootloader and my applicative are both using DCAN controllers thus, I would like to reset the DCAN RAM memory by the same way than I did for DMA controls packets (memset from basis DCAN RAM address for a length of 0x60000.

I paid attention to enter TEST mode (Init bit and Test bit to 1 in CTL register) and to enable direct access to RAM (RDA bit in TEST register).
But when I try to perform the memset full of 0 to the DCAN RAM address, I can see that any issue occurs (not able to say exactly what, probably a data abort; error pin is enabled).
Do I forgot something prior to access RAM?

Thanks for help

Jules