Hi,
I built the application which contains the uC operating system, a USB library and the BSP for MCB2378 evaluation board. The compilation and linking processes pass without errors and I get the hex executable. When I download this application to the development board (using uLink2) and start the debug session, the code doesn’t reach main() function. After investigation I found out that code stucks in __main called for assembler initialization file. I can freely run and debug program until it reaches __main. There is no return from __main call.
Therefore I have following questions:
1. Is there any general cause of such behavior known?
2. Is there any way to debug code in __main?
I am looking forward to hear from you,
Greetings, Marcin