This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

solution required for STM32F105

I am using STM32F105RB first time, since getting started i am struggling, (1) internal crystal working fine with ulink2 , but program is not start executing without ULINK2,(2)external crystal 25MHz is not working with/without ULINK2. request to support to proceed further.

Parents
  • If you can't use the debugger, then you'll need to use a USART to output diagnostic information.

    If the HSE crystal doesn't start you'll need to look at the circuit, and electrical characteristics of the parts you have chosen.

    Start with simple code that just brings up the crystals and internal oscillators, this would normally reside in system_stm32f1xx.c SystemInit() routines.

    If the 25 MHz HSE isn't starting you'd expect the debugger to get stuck in the wait for ready loop.

    The HSI should always start, the part won't exit reset if it doesn't, so as soon as you enter ResetHandler you should have an 8 MHz clock, and you could configure a USART there and output status or POST messages, alternatively you could configure some GPIO pins to indicate where and how far through the start up process you have managed to get through.

Reply
  • If you can't use the debugger, then you'll need to use a USART to output diagnostic information.

    If the HSE crystal doesn't start you'll need to look at the circuit, and electrical characteristics of the parts you have chosen.

    Start with simple code that just brings up the crystals and internal oscillators, this would normally reside in system_stm32f1xx.c SystemInit() routines.

    If the 25 MHz HSE isn't starting you'd expect the debugger to get stuck in the wait for ready loop.

    The HSI should always start, the part won't exit reset if it doesn't, so as soon as you enter ResetHandler you should have an 8 MHz clock, and you could configure a USART there and output status or POST messages, alternatively you could configure some GPIO pins to indicate where and how far through the start up process you have managed to get through.

Children
No data