I have written some code for a Silabs C8051F330 CPU, compiled it and then obviously some C51STARTUP code is generated that initialize the variables. Using my USB debug adaptor I discover the execution got stuck in the C51STARTUP code and it never exits it to the main program. What could be a possible cause for this and how can I fix it?
Paste your startup code.
You can modify your startup code to initialize (or de-initialize) any peripheral if you want.