We're in the process of converting all our CCS projects from v4.2 to v5.5 (and moving our CGTools version from v7.0.5 to v7.4.4).
One issue I am having is when trying to load dynamically-relocated ELF symbols via JTAG onto a chip. We have a script we adapted from dllView_Elf.js. Everything in the script is fine (connecting to the DSP, pausing execution, figuring out the loaded file, determining segment offsets, etc) until we get to the call GEL_SymbolAddELFRel(). Whenever I call this GEL function via debugSession.expression.evaluate(), CCStudio v5.5 crashes.
This worked just fine in CCSv4.2, so I am wondering what changed in v5.5 that would cause this behavior.
Relevant information:
- XDS510 Plus USB JTAG debugger
- CCSv5.5.00077
- C6727 DSP
I have tried it on a number of our different projects, and I get the same crash:
debugSession.expression.evaluate('GEL_SymbolAddELFRel("C:/Code/3PDev/AAX_SDK_2p1p0/ExamplePlugIns/DemoDist/TI/build/Release/DemoDist_SS_TI_Example.dll","C672x_0","Raven XDS510USB Emulator",0x1000db00,0x1000db00,0x1000ee20,0x1000ee20)');
debugSession.expression.evaluate('GEL_SymbolAddELFRel("C:\Program Files\Avid\Pro Tools\TIShell.out","C672x_0","Raven XDS510USB Emulator",0x1000db00,0x1000db00,0x1000ee20,0x1000ee20)');
debugSession.expression.evaluate('GEL_SymbolAddELFRel("C:/Code/dev.ws.win7mac/WinBag/x64/Debug/bin/plug-ins/AAXDiags.aaxplugin/Contents/Resources/AAXDiags_ELFMonolithic.out", "C672x_0","Raven XDS510USB Emulator", 0x10001e00, 0x10001e00, 0x10007500, 0x10007500, 0x1000e700, 0x1000e700, 0x10010700, 0x10010700, 0x10011d98, 0x10011d98, 0x10013164, 0x10013164, 0x10013378, 0x10013378, 0x10013400, 0x10013400, 0x10013600, 0x10013600, 0x80000000, 0x80000000, 0x80001800, 0x80001800)');
Are you aware of any problems with using GEL_SymbolAddELFRel() in CCSv5.5? Are there any DSS equivalents to this function I can use instead? Else, what other info would you need to help come up with a workaround?