ARMCM4-STM32F407-LWIP-FATFS-USB demo

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
chelox
Posts: 17
Joined: Tue Jan 22, 2013 8:24 pm

ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by chelox »

Hello!

I'm running ChibiOS (board STM32-E407).

Someone could run the demo ARMCM4-STM32F407-LWIP-FATFS-USB ChibiOs??

Compile and record the demo, but does nothing.
The Readme.txt says to connect via port 80 ip192.168.1.20, but not responding.

The LED remains on continuously.

Thank you.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by Giovanni »

Hi,

I am not at home currently and away for a week. Could somebody run a quick test?

Anyway, I would check the toolchain too, often problems are originated by compilers. Are you using ChibiStudio? if not you could give it a try.

Giovanni
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by Tectu »

I will be able to test this this evening (in about 10 hours).
In the meantime you might really want to check your toolchain as Giovanni suggested. Most users run sooner or later into problems. This toolchain seems to be the best choice. It works without any problems (at least I never heard of someone having any) and it comes with precompiled binaries which work very well!


~ Tectu
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by Tectu »

Meh, I'm completely sorry but I left my E407 at my workplace... So tomorrow it will be. I hope somebody else can test it in the meantime.

Did you try the "new" toolchain?


~ Tectu
chelox
Posts: 17
Joined: Tue Jan 22, 2013 8:24 pm

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by chelox »

Thank you both!

Tonight I'll try the toolchain that was recommended.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by Tectu »

Hey there,

I just did get the latest ChibiOS/RT master, compiled and flashed it -> Everything works very well. I can ping the device on the known IP address (192.168.1.20) and I can also access the small demo website. The FatFS gets mounted correctly as well.
Please move on by using the suggested compiler.


~ Tectu
chelox
Posts: 17
Joined: Tue Jan 22, 2013 8:24 pm

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by chelox »

Tectu hello!

With ChibiOS / RT-master and recommended toolchain, everything worked correctly fine! except the web part :cry: , I make a ping 192.168.1.20 and unresponsive.

It may be the network cable I use.

Did you use a crossover network cable?
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by Tectu »

Are you in a standard home network or in some university or work environment? Most universities and work places do block the ICMP protocol and therefore pinging won't work. You can confirm that everything works by typing the IP address in your webbrowser. A very basic HTML page should appear.
You must also make sure that the IP address isn't in use yet as well as that it's in a valid subnet as well as in the same IP range.

Nearly every modern switch and router does detect crossover cables so this shouldn't be a problem for 90%.


~ Tectu
chelox
Posts: 17
Joined: Tue Jan 22, 2013 8:24 pm

Re: ARMCM4-STM32F407-LWIP-FATFS-USB demo

Post by chelox »

It worked! Perfect! :D

Change the ip 192.168.0.20 by 192.168.1.20 and walked out!

Thank you very much for the support!
Post Reply