Part Number: TMS320F28335
Tool/software: Code Composer Studio
Hi,
I've a problem with a custom design used from two years ago in our company to control stepper motors.
We've enhanced the characteristics of the system and now the behavior of the algorithm from RAM emulation and flash programmed emulation is different.
Sometimes the system jump to Illegal ISR and sometimes don't run the code in right way.
The F28335.cmd and 28335_RAM_lnk.cmd has not changed and the compiler and linker don't tell anything wrong. All is correct.
Can anyone explain how to identify the problem? Till now I don't need to look the stack to understand from where to where the controller was jumping, identify memory allocations, etc.
I don't know how to move or allocate sections of the program on the memory.
The modified part of the 28335_RAM_lnk.cmd is this :
RAML0 : origin = 0x008000, length = 0x000100
RAML1 : origin = 0x008100, length = 0x003F00
RAML2 : origin = 0x00D000, length = 0x000500
RAML3 : origin = 0x00E000, length = 0x001000
And the modified part on the F28335.cmd is this:
RAML0 : origin = 0x008000, length = 0x001000
RAML1 : origin = 0x009000, length = 0x002000
RAML2 : origin = 0x00B000, length = 0x001000
RAML3 : origin = 0x00C000, length = 0x001000
On this two files the rest is the original configuration.
Thanks.