I don't really know what to do with that information, so I post it here.
I'm using a 5502, I found the problem in the following DSP/BIOS: 5.20.5, 5.33, 5.33.6 and 5.41.07.
I configured the Clock manager (CLK) to use the timer 2. For the 5502, timer2 is the WatchDog timer.
When I compile the file generated by the configuration tool, I get the following error:
"c5502cfg.s55", ERROR! at EOF: [E0300] The following symbols are undefined:
1 Assembly Error, No Assembly Warnings
_CLK_TSSR_REG
The problem reside in the DSP/BIOS header file clk5502.h55
;if Timer2 was selected route intr to INT3
.if (CLK_TIMERNUM = 2)
.if (.MNEMONIC) ; if .MNEMONIC assembler
mov #_CLK_TIMER2INTR_TO_INT3, port(#_CLK_TSSR_REG) <<<< ------------------------------------------
.else
*port(#_CLK_TSSR_REGS) = #_CLK_TIMER2INTR_TO_INT3
.endif
.endif
In the MNEMONIC section, "#_CLK_TSSR_REG" is used instead of "#_CLK_TSSR_REGS" causing the compiler error.
Work around is to either fix the file by adding the missing "S" or to use the "Algebraic Assembly" (-mg) compiler option.
Hoping this post reach proper people so the problem can be fixed.
Sebastien.