Page 1 of 1

STM32F405 Support

Posted: Mon Aug 18, 2014 8:33 am
by nad
Hello,
I am trying to use ChibiOS on the STM32F405RGT6 MCU following the porting instructions and based on the STM32F407 port.
For some reason I am not able to get the ChibiOS to initialize properly (even to toggle an LED). Currently my board does not have any JTAG, so it is not possible to debug it, it would be helpful to know if someone has used the 405 MCU and could provide any input.
Note that I have ported the ChibiOS on the STM32L MCU, and that went smooth.

Please, if someone has used that MCU, let me know. Thank you.

Re: STM32F405 Support

Posted: Mon Aug 18, 2014 9:19 am
by Giovanni
Hi,

Most likely it is just a wrong initialization, for example clocks or I/O settings. Without a debugger is really hard to tell what is going on. The F405 is not very different from the F407.

Giovanni

Re: STM32F405 Support

Posted: Mon Aug 18, 2014 6:15 pm
by nad
Thank you for your reply, I will wait and see if someone has done the port on the 405, otherwise I will get an eval board with JTAG later.

Re: STM32F405 Support

Posted: Mon Aug 18, 2014 6:35 pm
by Tectu
I just finished a DIY PCB with an STM32F405RGT6 microcontroller. I took the STM32F407-DISCOVERY demo and changed the linker scrip in the Makefile from 4x7 to 4x5 and everything works out of the box!
Everything as in: I just tried GPIO stuff so far :P

Note that the F405 is just a stripped down version of the F407. It simply lacks the Ethernet and DCMI interface, that is all. There are rumors that it even is the same die.


~ Tectu

Re: STM32F405 Support

Posted: Mon Aug 18, 2014 6:43 pm
by nad
oh this is excellent, at least I can start from something working. I appreciate the feedback. Thank you.