Latest news

Uploaded new demo version

posted Aug 24, 2010, 3:30 AM by Stefano Oliveri

Uploaded demo version 1.5.0 (STM32)

What's news:
- STM32
    + Fixed bug #B3.7
    + Added support for Managed Build system (MBS)

#B3.7 - STM32 - Bad initialization of the main stack.

posted Aug 24, 2010, 2:42 AM by Stefano Oliveri

New bug report. The problem is in the startup file (startup_stm32f10x_cl.c). For more information please see the Known Issues section of the main demo page.

Status:the problem is fixed. The new file is in the component Common version 1.3.4.


Uploaded new demo version

posted Mar 26, 2010, 11:46 AM by Stefano Oliveri

Uploaded demo version 1.4.2 (STM32) and 1.3.3 (STR912).

What's news:
- STM32
    + ST Standard Peripheral Library v3.2.0 (CMSIS 1.3.0 compliant).
- STR912
    + Updated to lwIP version 1.3.2
- STM32 and STR912
    + Configured to use OpenOCD 0.4.0 RELEASE. The component Common version 1.3.3 is needed.
    + Configured to use the new DSF debugger. A new Debug Configuration - RTOSDemo (DFS) - was added.

#B3.6 - STM32 - Frame lost or duplicate frame problem under certain circumstance.

posted Mar 10, 2010, 11:51 PM by Stefano Oliveri   [ updated Mar 10, 2010, 11:58 PM ]

New bug report. The problem is in the Ethernet driver (stm32x_ethernetif.c). For more information please see the Known Issues section of the main demo page.

Status:the problem is fixed. The new driver is the component Common version 1.3.2.

Now a better driver is available! :-)

#B3.5 - STM32 - Unmanaged error condition in Ethernet driver may generate bus fault

posted Feb 13, 2010, 9:41 AM by Stefano Oliveri   [ updated Mar 10, 2010, 11:57 PM ]

With high Ethernet load an unmanaged error condition in Ethernet driver may generate bus fault. For more information please refer to Known Issue section of the main demo page.

Thanks to the effort of all people using these few bit of code today we have a better and stable code base. The works go on...

RE: Bug about FreeRTOS.org STM32 demo using Eclipse, OpenOCD and GCC

posted Feb 5, 2010, 8:58 AM by Stefano Oliveri

I received a bug report a few days ago, but the provided mail address generates a Mail Delivery Subsystem error. Following is the original message and my reply.

Original message

1st the Bug #3.3 with the duplicate ethernet frames seems not to be solved with setting the SendCount to 2. (You've done it already in the current release). As I see it you always send an ethernet frame twice in the vMAC_ISR();


2nd  memory is allocated in vSendMACData with s_lwip_buf = prvGetNextBuffer(); This function tries 30 times to allocate buffer and returns NULL if it fails. In this situation you surely write a NULL-address into xTxDescriptor.Buffer1Addr. This will cause a bus fault.


In my opinion it might also be better to leave the lwip-source untouched and put the stm32x_ethernetif.c into the Demo-Code


Reply


About the bug #B3.3. The are two places in the driver code where I set the SendCount parameter, but only in one place I set it to the correct value (2). I just uploaded a new version of the demo v1.4.1. I also changed some lwIP configuration parameters. You find it on the Download area as usual. Could you please check that version respect to 3B3.3?

About the bus fault problem. The function prvGetNextBuffer never fails in my test! I think there is enough time for the MAC to send an outgoing frame or for the lwIP to process an incoming frame in order to avoid "no free buffer condition". Can you give more information in order to reproduce the problem?

Finally, I agree with you about the bad placement of the stm32x_ethernetif.c file. I think to put it under lwip/contrib/netif folder. I'm just too lazy regards this point until now! Sorry



Uploaded demo v1.4.1 (STM32)

posted Feb 5, 2010, 6:27 AM by Stefano Oliveri   [ updated Feb 5, 2010, 6:32 AM ]

This version support both STM32F107 and STR912 MCUs.

What's news:
- STM32 specific info:
    - Tested with lwIP v1.3.2
    - Fixed bug #B3.3
    - Fixed bug #B3.4

The source files can be downloaded from the Download page of the web site. The project .zip archive for STM32F107 are located in the folders Demo\CORTEX_STM32F107_Eclipse.

#B3.4 - STM32 - Bad Ethernet driver initialization make board work in promiscuous mode

posted Jan 31, 2010, 8:25 AM by Stefano Oliveri

A bad MAC initialization make the board work in promiscuous mode. For more information please refer to Known Issue section of the main demo page.

Bug #3.3 - STM32 - Duplicate outgoing Ethernet frames.

posted Jan 21, 2010, 7:04 AM by Stefano Oliveri   [ updated Jan 21, 2010, 7:08 AM ]

A bug cause each outgoing Ethernet frame is transmitted twice. For more information please refer to Known Issue section of the main demo page.

Uploaded demo v1.4.0

posted Dec 6, 2009, 11:56 AM by Stefano Oliveri

This version support both STM32F107 and STR912 MCUs.

What's news:
- Tested with lwIP v1.3.2_RC1
- Tested with FreeRTOS v6.0.1
- STM32 specific info:
    - Tested with ST Standard Peripheral Library v3.1.2 (CMSIS compliant)
    - Experimental support for SWJ on Versaloon and OpenOCD.

The source files can be downloaded from the Download page of the web site. The project .zip archive for STR91x and STM32F107 are located in the folders Demo\CORTEX_STM32F107_Eclipse and Demo\ARM9_STR91X_Eclipse.


1-10 di 23