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.
Hi friends! I have KIT TMDS2MTR with Piccolo TMS320F28035 controlCARD (Low Voltage Multi-Axis Motor Control and PFC Developers Kit).
I have a problem: when I debugging the program jump to ISR_ILLEGAL interrupt. I was following the asm code and found the reason. The interrupt occurs when runs the follow asm code line:
BD9DD9FC VMOV32 *(0:0XD9FC),*+XAR5[AR1]
This are in macro ADC_MACRO_INIT() and inside it there is the macro _DSP28x_usDelay, the asm code is:
$../DSP2803x_usDelay.asm:62:75$, DSP28x_usDelay:
00801d: 9B9E MOVB AH, #0x9e
63 BF _DSP28x_usDelay,GEQ ;; Loop if ACC >= 0
00801e: A485A973 XMACD P, *XAR5++, *(0xa973)
64 LRETR
008020: B786 XOR ACC, *XAR6++
008021: F62B RPT #43
008022: 9880 || OR *XAR0++, AL
008023: 5487 CMP AL, *XAR7++
008024: 9A27 MOVB AL, #0x27
008025: CB2E OR AH, @0x2e
008026: EB8E SUBR *--XAR6, AH
008027: CA16 OR AL, @0x16
008028: 134B MPYS P, T, *-SP[11]
008029: 759C SUB *+XAR4[AR1], AH
00802a: 5C0E MOVZ AR4, @0xe
00802b: BD9DD9FC VMOV32 *(0:0xd9fc), *+XAR5[AR1]
VMOV32 is not a valid instruction for TMS320F2803x chip. I think maybe the problem is the compiler but I don't know how to solve this problem.
Does anyone have a solution? Sorry for my english and Thanks in advance!!
Matias,
This is a known issue when using the RAM configuration of this project.
Can you change the project to the "FLASH" configuration? Once in the FLASH configuration everything should work as expected.
I'm sorry for any confusion. We hope to remove the RAM configuration from this project entirely at some point.
Thank you,
Brett