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.

porting DSP program in C to CCS

hi friends

i am working in CCS for the first time.. i am trying to run a DSP program for decoding in CCS.

initially i was getting lots of errors. i have resolved most of them but now i have one error left which says

Error:   Memory Map Error: READ access by CPU to address 0xd89a7474, which is RESERVED in Hardware.

i am not getting how to resolve this error. can someone please help me in this....

 

And also if some one can suggest me some good material about this cmd file, gel file and 64x architecture, it would be very helpful for me..

Thanks in Advance

 

  • Which device are you using? Different devices have different reserved spaces so the first thing to verify would be that this address is really reserved to determine if the error is valid or not.

    I believe the error itself is stemming from how the CCS memory map is setup, this is typically done within your GEL file, it is a sort of protection mechanism that allows CCS to give you warnings when you try to access a space that you did not define within the memory map. You can disable this capability if you want, however if your code is really inadvertently accessing a reserved space you probably want to fix that in the code itself.

  • To learn more about the linker command file, find the Assembly Language Tools User Guide in your CCS documentation installation. In CCS, go to Help->User Manuals. Under Software, Tools, you will find an Assembly link to the ALT UG.

    Help on GEL files is in the online help from within CCS.

    Documentation on the C64x architecture can be found, like the ALT UG, in CCS Help->User Manuals. Look for the C64x CPU & Instruction Ref Guide.

    For your first project, start with a simple "Hello, world!" from the tutorials or examples. Once you have something that builds well, you can start porting in your application.