Thanks, fixed.
Giovanni
The STM32-E407 topic
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: The STM32-E407 topic
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
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: The STM32-E407 topic
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
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
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
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
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: The STM32-E407 topic
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
Are you using OpenOCD or another GDB server?
Giovanni
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: The STM32-E407 topic
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
Does the vendor have a FAQ or a forum to ask this info?
Giovanni
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: The STM32-E407 topic
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
Giovanni