Page 3 of 5

Re: The STM32-E407 topic

Posted: Sun Jul 22, 2012 3:59 pm
by Giovanni
Thanks, fixed.

Giovanni

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 9:16 am
by tmanev
Giovanni wrote:Full demo finished :)

It includes:
- lwIP with web server on Ethernet port.
- Shell on USB-CDC.
- FatFs over SDIO (with card detection).

Everything happily running together in about 80KB, including 16KB of test suite code, still more than 900KB free.

Giovanni


Hi, Giovianni,
I am new here, but I would really like to see that DEMO. I have the board and would like to test it with your demo.
Where Can I find it ?

Todor

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 9:28 am
by Giovanni
Hi,

The demo is included in ChibiOS 2.5.0 (the unstable version), here: https://sourceforge.net/projects/chibio ... n%202.5.0/

the demo is in:

./demos/ARMCM4-STM32F407-LWIP-FATFS-USB

If you download the toolchain ChibiStudio it is already imported in the default workspace. ChibiStudio is available here: https://sourceforge.net/projects/chibio ... ibiStudio/ It includes everything required.

Giovanni

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 9:32 am
by tmanev
Thank you! Great!

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 2:18 pm
by tmanev
I am having problems running the demo using the J-Link EDU and ChibiStudio the GDB says:
WARNING: Failed to read memory @ address 0xCDCDCDCC

And the program is stuck here!
test_assert(12, !regfind(tp), "thread still in registry");

Any idea?

Todor

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 2:28 pm
by Giovanni
It is related to the jlink I think, are you sure the device is flashed correctly? that address is not even a valid address.

Are you using OpenOCD or another GDB server?

Giovanni

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 3:22 pm
by tmanev
I tried J-Link GDB. I do not know how to setup OpenOCD.

Todor

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 3:35 pm
by Giovanni
When using GDB servers, the tricky part is to create a correct debug configuration. You may use the existing configurations as examples but it is possible that your GDB server requires some specific settings.

Does the vendor have a FAQ or a forum to ask this info?

Giovanni

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 3:51 pm
by tmanev
How should I setup the OpenOCD ?

Todor

Re: The STM32-E407 topic

Posted: Thu Oct 04, 2012 4:07 pm
by Giovanni
I never did it for J-Link. I think it is documented in "tools/openocd/OpenOCD User’s Guide.pdf". Probably you just need to select the right probe in the launcher, see the launchers for ST-Link and USB-JTAG-OCD already configured in ChibiStudio.

Giovanni