I am new in Synegy S7G2 board. I created a demo code using Blinky example, it run good and blink the 3 LEDs at 2Hz rate.
But if I add a new UART thread, enable the TX/RX/transmit end interrupt -> generate Project content, build the project, then the main.c no longer call the hal_entry.c routine, LED will not blink anymore.
main.c just enter tx_kernel_enter ();
So where is the main routine going?
In reply to garyj:
In reply to dynamictoys:
Does your application is running? Do you see LEDs blinking?
First of all, please make sure you have "Skip All Breakpoints" option disabled (it's marked by red arrow on screenshot). When you debug the application, breakpoints can be set only at lines with an address e.g. you can set it at lines 16, 29, 32 or 34. Depending of compiler options, the compiler can optimize out some variables, instructions. If you debug your application, I recommend to set optimization level to -O0 or -Og using Project > Properties > C/C++ Build > Settings > Optimization > Optimization Level.
In reply to RickyTerzis:
that is correct.