Hi,
I am trying to use the below stm32f401rc Dev board for my Project so first thing
I try to make c13 blink, the chip will program ok but no blink , nothing is working
any idea what the problem can be ?
STM32f401 Not Working
-
- Posts: 173
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 52 times
- Been thanked: 25 times
Re: STM32f401 Not Working
Hi , LeighM
Thanks for your fast reply
here are the files
Thanks for your fast reply
here are the files
- Attachments
-
- STM401 - COM ANA.zip
- (697.42 KiB) Downloaded 176 times
Re: STM32f401 Not Working
Also , I am not sure about this but when I tried to investigate
this issue I compared the config registers of the board after programming with
flowcode and another that is new and has a dummy firmware working .
I also tried to copy the firmware from the working board to the one that
was flashed with flowcode but it dose not make it work again
this issue I compared the config registers of the board after programming with
flowcode and another that is new and has a dummy firmware working .
I also tried to copy the firmware from the working board to the one that
was flashed with flowcode but it dose not make it work again
- Attachments
-
- STM32F401working.log
- (94.88 KiB) Downloaded 181 times
-
- STM32F401 Flowcode .log
- (94.93 KiB) Downloaded 181 times
-
- Valued Contributor
- Posts: 411
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 76 times
- Been thanked: 226 times
Re: STM32f401 Not Working
Thanks for the zip, nothing leaps out at me from what I can see.
But I don't currently have access to my Flowcode PC so can't check much at the moment.
Have you checked your clock configs with STM32CubeMX?
It would be easy to overclock something with that 25MHz crystal.
But I don't currently have access to my Flowcode PC so can't check much at the moment.
Have you checked your clock configs with STM32CubeMX?
It would be easy to overclock something with that 25MHz crystal.
Re: STM32f401 Not Working
The board has a 25Mhz oscillator so I entered in 25
I also tried to compile wilth 10MHZ but same result
The board comes programmed with a variable PWM on
C13 so the board is not defective.
Regarding CubeMX clock , i am not familiar with the program it
dose not seem to have the ability to program the RCC register directly
or produce hex or bin file .
I think I need HSE type but flashing is not successful via st-link with flowcode when I select it, only EXT flashes successful
I also tried to compile wilth 10MHZ but same result
The board comes programmed with a variable PWM on
C13 so the board is not defective.
Regarding CubeMX clock , i am not familiar with the program it
dose not seem to have the ability to program the RCC register directly
or produce hex or bin file .
I think I need HSE type but flashing is not successful via st-link with flowcode when I select it, only EXT flashes successful
Last edited by Alan_37 on Wed Nov 29, 2023 9:06 am, edited 4 times in total.
-
- Valued Contributor
- Posts: 411
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 76 times
- Been thanked: 226 times
Re: STM32f401 Not Working
The CubeMX is just useful for seeing the resultant clock rates as you set the various dividers and multipliers.
It also highlights any out of range settings.
The validated settings can then be copied to the Flowcode project settings.
You could try editing the device fcdx file, the 512 to 256 edit should be doable.
I might get chance to get near my PC tomorrow, otherwise it will be Friday when I can take a look.
It also highlights any out of range settings.
The validated settings can then be copied to the Flowcode project settings.
You could try editing the device fcdx file, the 512 to 256 edit should be doable.
I might get chance to get near my PC tomorrow, otherwise it will be Friday when I can take a look.
Re: STM32f401 Not Working
Hi ,
I have edited the fcdx file in C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\ARM
but it's not changing in flowcode is there another file in another location ?
I have edited the fcdx file in C:\Program Files (x86)\Flowcode v9\data\DefaultData\FlowcodeV9\FCD\ARM
but it's not changing in flowcode is there another file in another location ?