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.

CCS/TMS320F28379D: CCS/TMS320F28379D

Part Number: TMS320F28379D


Tool/software: Code Composer Studio

Hello everyone,

I'm currently working on motor control application including CAN communication. I'm using TMS320F28379D and CCS  v7.2. When I run the code, everything works fine but after some time I get the following error: 

"Memory map prevented reading 0x0004A000@Data (Hex)"

Memory browser is shown below. 

I suspect from GEL file (see below) but I believe there is no  ambiguity. I also try to increase heap and stack size but unfortunately it doesn't work. i would appreciate if you could suggest a solution.

Thanks

/* Peripheral memory maps */
GEL_MapAddStr(0x00048000,3, 0x800, "R|W|AS4",0); /* CANA Registers */
GEL_MapAddStr(0x0004A000,3, 0x800, "R|W|AS4",0); /* CANB Registers */

GEL_TextOut("\nMemory Map Initialization Complete\n");

  • Hi Eray,

    Would it be possible for you to set breakpoints in your code to isolate where this is happening and are you using both CPUs in your application?  I am assuming that the moment you load up your code before running anything, you are able to view the CAN address memory space in your memory browser.

    Regards,

    Joseph

  • Hello Joseph,

    First of all thanks for your reply. Actually I did not realize until you have mentioned that I am not able to view the CAN address memory before running anything. But at the beginning, I am able to read the data from can addresses and everything is working fine. I am using only CPU1 but would it make any difference if I use both?

    I have add more code to main.c (functions, variables etc.) and I am not getting the "Memory map prevented reading 0x0004A000@Data (Hex)" error but now code ends up with User Defined Trap subroutine in "F2837xD_DefaultISR.c".  

    I am reading errata sheet because this behavior is not predictable.  I will share the news with you.

    Best regards,

    Eray