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.

CRITICAL ERRORS while loading program to EVMC6678LE......!!!!



Hi all,
We have created a project almost similar to the MCSDK image processing demo using CCS v5.0.23. with the edge detection function changed to some other image processing function. We created a new CCS RTSC empty project and copied the source files and so on making some necessary changes. We were able to build the project and got the .out file. We used the same linker configuration file as used for the image processing demo(which worked fine). 

When we loaded the .out to CORE0 the following errors were shown in the console:

  • C66xx_0: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.  // How can we make memories writable/non writable 
  • C66xx_0: Trouble Writing Register PC: The IM memory request is not serviced by the HW memory system.  This could be caused by the memory address specified does not exist in the specified  memory/cache level.   (Error -1176) @ 0 (0x0)  //What is this IM memory??? 
  • C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.

 

 

 

  1. What could be the error?
  2. Should we create our own linker file (if so how?)?


Please respond ASAP.....

 

Regards.,
Sohal 

 
  • Why did you choose the tags for C6678 PCIe, C6678 SRIO, and C6778?

    Were you able to get the MCSDK image processing demo to run successfully?

    If so, make a complete copy of it in your own workspace, or just take it over in place. I prefer having my own copy of a starting point so the original stays undisturbed, but the MCSDK may not be designed that way. Get your copy working.

    Then make the changes to that copy instead of starting from a new CCS RTSC empty project. When you do this without following a step-by-step tutorial, there is no way that we can figure out what all the things are that you have done wrong. We give you working examples to start from, so start from that working example and make changes in incremental steps so you can tell which step you take that breaks it.

    Does this make sense as a starting point?

    Regards,
    RandyP

  • Hi Randy,
      I got it working following your instructions. Thanks!

     

    Regards,
    Sohal