Hi,
I have converted the "spra958h" ezdsp28335 project BIOS, FLASH to a board utilizing a 28234 part with no external memory.
Have installed all the latest CCS releases.
I can compile and load the program.
The compiled code seems not to locate the '_c_int00'.
Upon restart the code executes to
.sect "codestart"
code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif
Then to the following code.
wd_disable:
EALLOW ;Enable EALLOW protected register access
MOVZ DP, #7029h>>6 ;Set data page for WDCR register
MOV @7029h, #0068h ;Set WDDIS bit in WDCR to disable WD
EDIS ;Disable EALLOW protected register access
LB _c_int00
Disassembly view is :
3FF9F4 561F SETC OBJMODE
3FF9F5 7622 EALLOW
3FF9F6 B9C0 MOVZ DP,#448
3FF9F7 28290028 MOV @41,#0x0028
3FF9F9 761A EDIS
3FF9FA 6F00 SB 0,UNC
as you can see the instruction "SB 0,UNC" just branches to itself.
What am I doing wrong ?
Why doesn't the code branch to "_c_int00" ?