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.

Can't use L2 ram on C6A816x

Hi,

I have a codec that I'd like to test on DSP only.

I can't use L2 ram, if my application use only OCMCSRAM0/1 and DDR It runs correctly but if I try to use L2 ram I get this error message or application never finish. I'm using linker file and gel file from Spectrum Digital.


C64XP_0: File Loader: Data verification failed at address 0x40800000 Please verify target memory and memory map.
C64XP_0: GEL: File: C:\Users\Documents\WorkspaceCCSv5\xxxxx\Release\xxxx.out: a data verification error occurred, file load failed.

I also tried with dsp bios config tools but there isn't any 816 platform available. So I  used a 6748 platform with correct memory map but can't load either.

I would also like to increase DSP frequency (up to 1.5 GHz), but I can't find how ?

OS windows 7 64bits

CCS5  Version: N201012231000

C6A816x/AM386x evaluation module

Emulator XDS510

Any help would be great

Thanks

CC

  • CC,

    Could you post the linker file and .gel file that you are using?  I'm trying to understand why 0x40800000 is being used to load on the DSP's L2 RAM.  My resources tell me that 0x00800000 should be used instead.  The range of L2RAM should be 0x00800000 to 0x0083FFFF. 

    Regarding your 2nd question, are you trying to overclock the DSP?  This isn't my area so I'll let someone else on this forum answer this question.

    Regards,
    Shreyas

  • Shreyas,

    I was using gel file and linker.cmd from Spectrum Digital web site (Test Code)

    http://support.spectrumdigital.com/boards/netradimm/revc/

    After your email I changed the memory map. Now it's ok my application is running when using new linker.cmd but it doesn't work with bios ?

    Here are  Printf Logs when using bios

    1,1,EXC_exceptionHandler: EFR=0x2,RTASystem
    2,2,  NRP=0x800973c0,RTASystem
    3,3,  mode=supervisor,RTASystem
    4,4,Internal exception: IERR=0x18,RTASystem
    5,5,  Opcode exception,RTASystem
    6,6,  Resource conflict exception,RTASystem
    7,7,"SYS abort called with message 'Run-time exception detected, aborting ...'",RTASystem

    My application was running fine with 6467T and bios.

    I attached bios config file and new linker.cmd.

    Thanks

    CC

     

    TI.zip
  • At what point in your application's execution do you see this printout?  Are you able to get to main()?

  • Shreyas,

    My .text section was in DDR_0 and my heap in DDR_1, now both are in DDR_1 and it 's running fine.

    Thanks for your help

    CC