Part Number: TMS320F28335
Tool/software: Code Composer Studio
Hello !
I try branch into SCI boot from flash program.I see bootrom.map (003ff633 _SCI_Boot) I write some code but I get errors.What I can make?
extern Uint32 SCI_Boot();
void main(void)
{
//(void (*)(void))0x003ff633;
// Step 1. Initialize System Control:
// PLL, WatchDog, enable Peripheral Clocks
// This example function is found in the DSP2833x_SysCtrl.c file.
unsigned long boot_addr = 0x003FF633;
//(void (*)(void))0x003ff63c
InitSysCtrl();
IER = 0x0000;
IFR = 0x0000;
// Initialize PIE control registers to their default state.
// The default state is all PIE interrupts disabled and flags
// are cleared.
// This function is found in the DSP2833x_PieCtrl.c file.
InitPieCtrl();
// Step 3. Clear all interrupts and initialize PIE vector table:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
// Disable CPU interrupts
DINT;
void (*entry)();
entry = (void(*)())(boot_addr);
entry();
entry = (void(*)())(boot_addr);
SCI_Boot();
Gpio_select();