Hi,
I am working on a project which uses Cortex-M3 processor and STM32W108CB microcontroller and I use keil uvision4. The problem is the execution of the program stopped before it goes to the main function. Also,I assume that it is due to some address mismatch. I have not modified the startup code. I could not figure out the issue. Kindly help!
Not really enough detail there. Is this with a board you designed, some demo board? What code are you using, who built the project?
Perhaps you should disable "run to main" and step through the startup code. Did you build the code with the right HSE_VALUE? Does the startup_stm???.c and SystemInit() assume some specific setting of the clocks and PLLs?
There is a call out charge to get someone to come debug this for you.
sorry for not providing enough details. The board was designed by us and unfortunately the person who built the project is not with us now!. It was built to interface an ASIC with the microcontroller STM32W108CB. The systeminit() uses the HSE_value of 24MHz. Could you please tell me how to disable the "run to main"?. Also, I checked the HSE_VALUE and it was right. To be honest,I am totally näive programming in keil environment. I have been reading a lot to get familiar with keil.
Thank you so much for your reply. I unchecked the 'run to main' check box but the problem was completeley gone after checking the Use MicroLIB check box.