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.

[C6727] Error related to GEL file

Hi,

I am using PADK with C6727 on it. I loaded GEL file and then clicked Debug->Connect. I got this message in my output window

GEL: Error while executing OnReset(0): memory map prevented write to target memory at 0x41000100.
GEL: Error while executing OnTargetConnect(): memory map prevented write to target memory at 0x41000100.

I can not execute any code either. What does this error message mean and how to solve this problem. I have also loaded the screen shot of the error for you reference.

Thanks.

 

  • Hi,

    I would say you have a connection problem.

    What intrigues me is that you said you loaded the gel and then tried to connect the board. You can not load anything to the board if you are not connected.

    In your case, I'm guessing the symptoms (the GEL errors) are because you are not connected to the board, therefore it is not possible to write to the address specified.

    Those errors can mean that the GEL needs some correction, but I have loaded the PADK gel without a problem after connecting to the DSP, so I do not think that is the case.

    I would suggest you check your CCS Setup configuration. Make sure you configured the correct emulator, make sure the cables are ok... etc. Try Debug-> Connect without trying to load the GEL first..

     

     

  • I do not have my PADK with me, so I cannot easily give you a guaranteed working configuration.  I have uploaded C6727_PADK.txt (we only allow limited file extensions, so this is really .gel), but it has lots of stuff commented out so please be aware of that. It may be the same as what you have, since the timestamp on two copies I have of this is 10/27/2008.

    This file still does not have anything to setup the memory map, so I will guess that I ran into problems exactly like yours when I tried to work on the PADK in October 2008. If you go to Options->MemoryMap, you can uncheck a box to turn off the memory map feature. Please know that the memory map is *very* useful for debug because it protects you from trying to access memory-mapped locations that are not valid. But in your case, you want to access locations that are valid but are not included in whatever set of GEL_MapAdd() function calls you have.

    Your error message, in my opinion, is telling you that the memory map does not allow writes to the PLL at 0x41000100. It should allow it, or else you cannot configure the device the way you want to. Perhaps all of this is usually done in the on-board Flash during normal boot-up, but sometimes we like to force everything to the states we want them to be in. Turning off the memory map will get around this problem, unless the GEL turns it back on somewhere.

    If you are not able to get things working with these hints, please find the GEL_MapAdd() functions and paste them into this thread, or else try to upload the file as a .txt for review. Or contact Lyrtech on their website to see if they have a new GEL file for the board. The default one in my Lyrtech install folder does not have any memory map commands, either, so I may have copied it to my local folder to create what I sent to you here.

  • Randy, I guess you are correct. It was working for me because the Memory Map (Option-> Memory Map...) was not enbabled in my CCS. When I enabled it I got the error.