Tool/software:
Dear Support team,
I compile a program for C66xdsp_1 with just three lines in main:
int main(void)
{
Board_initCfg boardCfg;
boardCfg = BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_MODULE_CLOCK | BOARD_INIT_UART_STDIO;
Board_init(boardCfg);
I debug the code into Board_init(boardCfg); and into Board_sysInit(); after the line
ret = Sciclient_init(&config);
If I do this the first time (power on the board, "step into" until Sciclient_init "step over" that [second time see below]):
I see that an interrupt flag IF7 is raised.
(CCS: View->Registers under Control Registers->IFR->IF7=1)
As my understanding someone wants to tell me "something" but
the interrupt enable for IF7=0 and the global interrupt flag is still off.
(IER.IE07=0, CSR.GIE=0) - and further there's not even a routine at that point...
Hence, it seems I need additional code and init-routines to make that work...
Any help appreciated with that (see below comparison to other examples).
By the way: Is there a simple way to check if DMSC_Cortex_M3_0 and mcu1_0 are running?
Thanks, Wolfgang
P.S.:
If I do this a second time (after a. calling Run->Reset->CPU Reset, Load, Run..)
the ret!=0 of Sciclient_init(&config); hence BOARD_FAIL;
I don't want to focus on that...
P.P.S.:
Within other examles (e.g. drv/gpio/test/led_blink/src/main_led_blink.c) Board_initGPIO(); is called prior any other routine (like OS_init(); AFTER Board_initGPIO();)
Within Board_initGPIO Board_init(boardCfg), is called the same way...