STM32F405 Support

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
nad
Posts: 30
Joined: Fri Dec 16, 2011 9:20 am

STM32F405 Support

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32F405 Support

Post 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
nad
Posts: 30
Joined: Fri Dec 16, 2011 9:20 am

Re: STM32F405 Support

Post 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.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: STM32F405 Support

Post 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
nad
Posts: 30
Joined: Fri Dec 16, 2011 9:20 am

Re: STM32F405 Support

Post by nad »

oh this is excellent, at least I can start from something working. I appreciate the feedback. Thank you.
Post Reply