Page 4 of 5
Re: The STM32-E407 topic
Posted: Thu Oct 04, 2012 10:23 pm
by mabl
tmanev wrote:I tried J-Link GDB. I do not know how to setup OpenOCD.
Todor
Hi Todor, I think I used this Config for my JLink EDU and the E407
Init Sequence wrote:Code: Select all
monitor endian little
#monitor speed 12000
monitor flash device = STM32F407VC
monitor flash breakpoints = 1
monitor flash download = 1
Run Sequence wrote:Code: Select all
tbreak main
monitor reset 0
continue
Re: The STM32-E407 topic
Posted: Tue Oct 09, 2012 12:36 pm
by tmanev
Thanks !

Re: The STM32-E407 topic
Posted: Tue Oct 09, 2012 1:17 pm
by tmanev
I got tired of Eclipse. Is there an IAR demo project for this ?
Best regards,
Todor
Re: The STM32-E407 topic
Posted: Tue Oct 09, 2012 1:20 pm
by Giovanni
There is an IAR example project under ./demos/ARMCM4-STM32F407-DISCOVERY. It should be easily adapted, just copy the project files.
Giovanni
Re: The STM32-E407 topic
Posted: Wed Oct 10, 2012 7:49 am
by tmanev
Thank you. I did it for couple of hours.
Todor
Re: The STM32-E407 topic
Posted: Wed Oct 10, 2012 1:47 pm
by tmanev
Hi, Giovanni
I did some tests with the lwip and fatfs together as a web server (files are read from the card and transmitted as web pages) but it looks extremely slow 1kB a second.
Do you have any idea why it is so slow ?
Best regards,
Todor
Re: The STM32-E407 topic
Posted: Wed Oct 10, 2012 1:52 pm
by Giovanni
It depends, how data is read and written? in general small blocks hurt performance. Try to isolate the problem, first lwIP without FatFS then reversal.
Giovanni
Re: The STM32-E407 topic
Posted: Thu Oct 11, 2012 10:20 am
by tmanev
Thank you Giovanni.
I will debug it. Btw, do you plan to do ChibiOS plugin for IAR so that I can trace the threads and the thread call stack?
Best regards,
Todor
Re: The STM32-E407 topic
Posted: Thu Oct 11, 2012 12:01 pm
by Giovanni
Yes but it is not high-priority and cannot give a timeline.
Giovanni
Re: The STM32-E407 topic
Posted: Fri Oct 12, 2012 11:00 am
by tmanev
Hi, Giovanni
I cannot figure out if the ETHERNET driver is using DMA or not? Do you know if it is with DMA if not do you plan to use it ?
Is there any samples of the usage of your DMA driver?
Best regards,
Todor