I do not know anyone who has a NUCLEO-F030R8 board, I hope the one who has the board can try the blink_led template code.
My conditions now is the basic blink code does not work on my board(ie. I can not see the LED blinking).
When I got the board, I uploaded the blink_led code and it worked OK, but the Nucleo_pwm did not work well, I have already posted in the question section. And I have not get a clue for it.
I have to say, I used ARM Keil to write a short program to test the chip, and it is OK.
I exported the MBED code to my computer and use keil to single step through the code, I found the execution is halted in this area:
HAL_RCC_OscConfig:
...
0x08001254 1BC0 SUBS r0,r0,r7
0x08001256 42B0 CMP r0,r6
0x08001258 D85D BHI 0x08001316
0x0800125A 6828 LDR r0,[r5,#0x00]
0x0800125C 0380 LSLS r0,r0,#14
0x0800125E D5F7 BPL 0x08001250
0x08001260 E00D B 0x0800127E
0x08001262 F7FFFE0F BL.W HAL_GetTick (0x08000E84)
...
HAL_GetTick:
0x08000E84 4801 LDR r0,[pc,#4] ; @0x08000E8C
0x08000E86 6800 LDR r0,[r0,#0x00]
0x08000E88 4770 BX lr
...
// 0x08001262->0x08000E84 0x08000E88->0x08001254
I am really new to arm and its assembly.
Can anyone give some help?
Thanks ahead.
I do not know anyone who has a NUCLEO-F030R8 board, I hope the one who has the board can try the blink_led template code.
My conditions now is the basic blink code does not work on my board(ie. I can not see the LED blinking).
When I got the board, I uploaded the blink_led code and it worked OK, but the Nucleo_pwm did not work well, I have already posted in the question section. And I have not get a clue for it.
I have to say, I used ARM Keil to write a short program to test the chip, and it is OK.
I exported the MBED code to my computer and use keil to single step through the code, I found the execution is halted in this area:
I am really new to arm and its assembly. Can anyone give some help? Thanks ahead.