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/TMS320F28377S: No source available for "0x3fe493"

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hello!

I have been developing a code using the LaunchPad-F28377S with Code Composer Studio v. 7.1.0 and now I am stuck in this problem. I searched in the forums and found similar threads with the same issue, which were helpful, as these in the links:

https://e2e.ti.com/support/microcontrollers/c2000/f/902/p/629283/2321178?tisearch=e2e-sitesearch&keymatch=no%20source%20available%20at%200x3fe493#pi316717=1

LanchPad F28377S: No source available for "0x3fe493" - C2000 microcontrollers forum - C2000™︎ microcontrollers...

e2e.ti.com
Other Parts Discussed in Thread: CONTROLSUITE Hi! I am a user of LanchPad F28377S + Buck Converter BoosterPack. The problem ran will untile I modified some

CCS/TMS320F28377D: No source available for "0x3fe493" f28377D - C2000 microcontrollers forum - C2000...

e2e.ti.com
Part Number: TMS320F28377D Other Parts Discussed in Thread: C2000WARE Tool/software: Code Composer Studio I am trying to run a LED blink code onTMS320F28377D microcontroller

LAUNCHXL-F28377S: No source available for 0x3FE468 - C2000 microcontrollers forum - C2000™︎ microcontrollers...

e2e.ti.com
Part Number: LAUNCHXL-F28377S We tried to flash the program in the kit. It gets flashed and all ready to be executed. But we get an error 'No source available for

However, I still don't know how to solve it and now i'm stuck. As pointed in these threads, it seems to be something related to ITRAP ISR and BOOT ROM.

The problem happens after I add much data into the code and do the debug. I need to add lots coordinates in float format and also strings in char format. When I test with fewer data, the program runs normally in the debug, but after adding higher quantity of these data, the problem occurs and I can't do the debug.

Please, could you help me to solve this? I have a little time to finish this project.

I have done the process of defining _FLASH and adding memcpy to load the code from Flash.

As I mentioned, everything runs fine until much data is added. I inserted 4 pictures that show what happens in sequence.

Thank you, guys.

  • Hello,

    Thank you for attaching the pictures. The problem you are seeing could have come up from a lot of different reasons. One reason for this error could be that you have written to an out of bounds memory location or you've written too much to memory, causing overwrites. This can happen from an uninitialized pointer in a memcpy or simply writing too much data.  First, can you clarify what you mean when you say "I add much data into the code"?. 

    Thanks,

    Taumer

  •  Hi Taumer! Thank you for the fast reply!

    When I say that I mean by adding much of the strings and coordinates in float format that I have to work with. It's the "GCODE", "EZ" and "EX" which can be seen in the picture I am attaching now.

    The program runs normally if there isn't a large quantity of these entries, but if there is some more of them, that problem occurs.

  • Hello Pedro,

    How big are these buffers at the maximum i.e. how many values have you been successful using and when does it break? It could simply be the case that these buffers are too large.

    Taumer
  • Hi Taumer!

    I have been successful using 485 values in total, with them divided between "GCODE", "EX", EY", "EZ" and "P" that are the 5 buffers I need.

    If I try 486 entries in total, it breaks and then there comes the SysCtrl tab seen in the picture:

    If I try just a few more, the SysCtrl tab doesn't appear, but the No source problem comes up:

  • Taumer, I see I can define the size of my char array "GCODE" to about 1900 with "char *GCODE[1900]" and increase the number of values I can add to it, which is what I need. That way, I can debug and run the program normally.
    But I also need increase the 4 float buffers and I can't do the same. If I try to define some value and add more entries, I receive the No source available problem again.
  • Pedro,

    I believe that the buffers you are creating are too large. Have you tried placing them in different parts of memory? Is there anyway around using such large buffers?

    Taumer
  • I haven't tried, Taumer, how could I do that? Is there a way I can increase the memory by changing the .cmd file? I have seen in the forums something about that, when there is the error "Program will not fit into available memory". Just for information, I receive this error if I try to define the GCODE for 2048, for example.

    I need these large buffers to store all the coordinates in float format. I need about 1900 entries by buffer, as the GCODE one in char format.

  • Hi Pedro,

    Take a look at this post: e2e.ti.com/.../2305062

    Essentially, you can create a section of memory in the linker command file and allocate your buffers to those sections of memory. Please let me know if this works for you.

    Taumer
  •   Hi Taumer!

    This solution worked for me! I have done the proceedings in that post and inicially I could increase the GCODE defined value much over 2000, which was almost the limit before and I wouldn't take the "Program will not fit into available memory" anymore.

    But I was still receiving the "No source available" problem for the float format arrays. They were inside the "main()", then I passed them out of it and now it works, the program runs normally again with higher values I need for the arrays!

    I'm inserting the pictures just to show what I have done.

    I have put the "RAMGS" origin address equal the commented RAMGS6, because I was receiving errors telling there were other archives from RAMGS0 to RAMGS5. I also changed the ".ebss" and the float arrays allocated as ".COORD_TABLE" to "RAMGS" in the SECTIONS part.

    Later, I received the  "Program will not fit into available memory" again but for the ".cinit", but I allocated it in "FLASHH" and the error gone away.

    So, now it's working as I need!

    Thank you so much, Taumer!