NUCLEO-F103RB doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-12 3:03 AM
I make the EWARM code using STM32CubeMX(ver 4.23.0)
I select the NUCLEO-F103RB at the GUI of STM32CubeMX and save using
Project -> Generate code
menu. (I used default settings)
I start EWARM(8.20.2) and add
HAL_GPIO_TogglePin( GPIOA, GPIO_PIN_5 );
HAL_Delay( 1000 );
at the while(1) routine in the main.c.
I re-built a code then
run with 'debug without download'.
But the program doesn't reach 'main' function.
When I break the program, break point is 'HAL_RCC_OscConfig' function.
I'd like to know how to solve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-12 1:22 PM
I use Visual Studio with GDB extensions, cost $150...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-13 9:14 AM
Hi @Himawari​ ,
- If you're using the HSE as a clock source (X3 crystal) , the oscillator is not provided on Nucleo 64 boards.
oscinitstruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
Try to use the HSI for example and check if your issue is solved.
- I also advise you to use the most updated STM32CubeMX version (4.26.1) available on ST website.
Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-13 3:04 PM
"I re-built a code then run with 'debug without download'
Your code may run better when it is downloaded to the target.
-- pa
