The STM32-E407 topic

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Been thanked: 1 time

Re: The STM32-E407 topic

Post 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
tmanev
Posts: 22
Joined: Thu Oct 04, 2012 8:57 am

Re: The STM32-E407 topic

Post by tmanev »

Thanks ! :)
tmanev
Posts: 22
Joined: Thu Oct 04, 2012 8:57 am

Re: The STM32-E407 topic

Post by tmanev »

I got tired of Eclipse. Is there an IAR demo project for this ?

Best regards,
Todor
User avatar
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

Post by Giovanni »

There is an IAR example project under ./demos/ARMCM4-STM32F407-DISCOVERY. It should be easily adapted, just copy the project files.

Giovanni
tmanev
Posts: 22
Joined: Thu Oct 04, 2012 8:57 am

Re: The STM32-E407 topic

Post by tmanev »

Thank you. I did it for couple of hours.

Todor
tmanev
Posts: 22
Joined: Thu Oct 04, 2012 8:57 am

Re: The STM32-E407 topic

Post 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
User avatar
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

Post 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
tmanev
Posts: 22
Joined: Thu Oct 04, 2012 8:57 am

Re: The STM32-E407 topic

Post 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
User avatar
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

Post by Giovanni »

Yes but it is not high-priority and cannot give a timeline.

Giovanni
tmanev
Posts: 22
Joined: Thu Oct 04, 2012 8:57 am

Re: The STM32-E407 topic

Post 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
Last edited by tmanev on Fri Oct 12, 2012 11:24 am, edited 1 time in total.
Post Reply