Hi, Sorry for my bad English. I am design a prototype with the TMS320C5509A, the code is porting from TMS320C5509 to TMS320C5509A, but when is running the dsp halts. Im not sure about the compiler options was correct, actual settings are: cl55, ar55 and lnk55 v2.04 The program compiles with this options: cl55 -g -qq -ea.asm -eo.obj -ml -v5509 -d"CHIP_5509A" ..... cl55 -z -q -c -x -ar -m mainFor5509.map -lrts55x.lib -l55xdspx.lib -csl5509ax.lib But the program fails, the program some times pause, like expecting some event. If i halt the program and run step by step the program continues ok and all data is correct. I have seen the pdf to migrate the code from 5509 to 5509A, i have applied the changes for the EMIF and also for the PLL modules Has someone compile for this device without problems? The new chip is running at 192MHz, not at 200 MHz, is this a problem? Thanks for your response.
Problems with porting code from 5509 to 5509A
Started by ●February 20, 2006
Reply by ●February 22, 20062006-02-22
Hello Gwyn I think the problem is not this. I have been done more tests, and compile the same code with the same allocation for run (run address) for execute with the debugger and loaded from a external FLASH. When the program is running when the debugger connected by JTAG the program seems to halt, but not in the same line or function of code every time. I see if the interrupts vectors has some rare values, and registers for stack , etc. but everything seems to be ok. But when running from the FLASH i cant see any halt of program. The bootloader only load from FLASH to onchip SRAM and then run the code, due this in the memory map file the allocation for run is the same. The debugger is a XDS510PP PLUS JTAG from spectrum digital, i use an old version for the driver and the CCS is 2.10.0. version. I suspect about the old version of CCS, someone knows if this version could be used with the 5509A at 192 MHz with no problems? Thanks for yours answers. Best regards, Gabriel. ----- Original Message ----- From: "Gwyn Evans" <g...@g.ev...> To: <gabriel_donaire@gabr...> Sent: Wednesday, February 22, 2006 6:02 PM Subject: RE: [c55x] Problems with porting code from 5509 to 5509A Hello Gabriel, I have used the 5509 a bit but not 5509A, May I suggest a simple debug strategy: put probe on XF and place a write in your code to pulse XF (if you have a scope) or just set XF high (if you have an led on xf). This way you will easily point you to the area of concern. You should be able to pinpoint the place the cpu halts in no time. I imagine the cpu will work until main() inits one of the onboard peripherals so you should concentrate on main() until you isolate the routine causing you the trouble. Then probe the various sections of your init routine. I hope I am not telling someone how to suck eggs. Best regards, Gwyn Gwyn Evans Mobile Video Systems NEW ADDRESS Drachenseestr 12 81373 Mchen +4989491689 (Tel) +491733510658 (Mobile) +498936105615 (Fax) -----Original Message----- From: c55x@c55x... [mailto:c55x@c55x...] On Behalf Of gabriel_donaire@gabr... Sent: 21 February 2006 00:09 To: c55x@c55x... Subject: [c55x] Problems with porting code from 5509 to 5509A Hi, Sorry for my bad English. I am design a prototype with the TMS320C5509A, the code is porting from TMS320C5509 to TMS320C5509A, but when is running the dsp halts. Im not sure about the compiler options was correct, actual settings are: cl55, ar55 and lnk55 v2.04 The program compiles with this options: cl55 -g -qq -ea.asm -eo.obj -ml -v5509 -d"CHIP_5509A" ..... cl55 -z -q -c -x -ar -m mainFor5509.map -lrts55x.lib -l55xdspx.lib -csl5509ax.lib But the program fails, the program some times pause, like expecting some event. If i halt the program and run step by step the program continues ok and all data is correct. I have seen the pdf to migrate the code from 5509 to 5509A, i have applied the changes for the EMIF and also for the PLL modules Has someone compile for this device without problems? The new chip is running at 192MHz, not at 200 MHz, is this a problem? Thanks for your response.