Search found 33 matches

by wgreiman
Wed Jul 13, 2016 8:41 pm
Forum: Bug Reports
Topic: Incorrect SDMMC defines for STM32L4xx chips Topic is solved
Replies: 2
Views: 863

Incorrect SDMMC defines for STM32L4xx chips Topic is solved

SDMMC_DCTRL_DBLOCKSIZE_2 and SDMMC_DCTRL_DBLOCKSIZE_3 are incorrect in a number of files. #define SDMMC_DCTRL_DBLOCKSIZE_2 (0x3U << SDMMC_DCTRL_DBLOCKSIZE_Pos) /*!< 0x00000040 */ #define SDMMC_DCTRL_DBLOCKSIZE_3 (0x4U << SDMMC_DCTRL_DBLOCKSIZE_Pos) /*!< 0x00000080 */ Should be: #define SDMMC_DCTRL_D...
by wgreiman
Mon Mar 14, 2016 8:53 pm
Forum: STM32 Support
Topic: NUCLEO-F746ZG - ChibiOS is great! Topic is solved
Replies: 27
Views: 5482

NUCLEO-F746ZG - ChibiOS is great! Topic is solved

Here is a big thank-you for a great RTOS. I bought two NUCLEO-F746ZG boards for $23 each. I was able to easily get them working with ChibiOS/RT by using ChibiStudio to modifying the RT-STM32F746G-DISCOVERY examples. I really love ChibiStudio. The configuration editor for producing board files is won...
by wgreiman
Sat Jan 17, 2015 8:21 pm
Forum: STM32 Support
Topic: Poor Ethernet performance on a Seeed Arch Max board
Replies: 11
Views: 3328

Re: Poor Ethernet performance on a Seeed Arch Max board

The BOARD_PHY_RESET() hook is perfect.

I put the custom PHY reset code in board.c, defined BOARD_PHY_RESET in board.h, and it worked the first time. ChibiOS is such a pleasure to use.
by wgreiman
Fri Jan 16, 2015 9:34 pm
Forum: STM32 Support
Topic: Poor Ethernet performance on a Seeed Arch Max board
Replies: 11
Views: 3328

Re: Poor Ethernet performance on a Seeed Arch Max [Solved]

I found and fixed the problem. The Auto-Negotiation strapping is the reset state of the LED link and speed pins. Unfortunately Seeed copied the example in the DP83848J datasheet which results in Auto-Negotiation with 10BASE-T Half-Duplex and 100BASE-TX Half-Duplex advertised. This is the fix: static...
by wgreiman
Wed Jan 14, 2015 9:55 pm
Forum: STM32 Support
Topic: Poor Ethernet performance on a Seeed Arch Max board
Replies: 11
Views: 3328

Poor Ethernet performance on a Seeed Arch Max board

I am having performance problems with Ethernet on a Seeed Arch Max board. https://developer.mbed.org/platforms/Seeed-Arch-Max/ I defined a new board based on a STM32F407VGT6 with a DP83848 PHY. I am a real novice at this level and was amazed when the simple web server from demos worked the first tim...
by wgreiman
Sat Jan 03, 2015 4:19 pm
Forum: Development and Feedback
Topic: STM32-E407 Ethernet performance!
Replies: 32
Views: 9468

Re: STM32-E407 Ethernet performance!

Here is a bit more information. I noticed that all results are just below 95 Mbits/sec so I decided to calculate the theoretical maximum receive rate. Here are the sizes of TCP over Ethernet. Ethernet Frame Size 1518 Bytes Ethernet Preamble 8 Bytes Interframe Gap 12 Bytes Total Inter-Frame Time 1538...
by wgreiman
Fri Jan 02, 2015 9:38 pm
Forum: Development and Feedback
Topic: STM32-E407 Ethernet performance!
Replies: 32
Views: 9468

STM32-E407 Ethernet performance!

This is just a thank-you for amazing Ethernet performance on an Olimex STM32-E407 Rev E board. I am astounded, I hacked an iperf implementation for the board and increased lwip parameters so I could run 10 parallel streams. Here is the result connecting from a Mint 17.1 Linux PC: bill@mint17 ~ $ ipe...
by wgreiman
Fri Jul 11, 2014 3:29 pm
Forum: STM32 Support
Topic: STM32 support for High Speed SDIO?
Replies: 2
Views: 2957

Re: STM32 support for High Speed SDIO?

does your FS have advantages over FatFS? FatFS has a long history so I don't expect many people to use my new FS. FatFS is a C program and has amazing support for long file names. FatEmb (current working name) is written in C++ and I try to use a suitable subset of C++ such as described here http:/...
by wgreiman
Thu Jul 10, 2014 6:03 pm
Forum: STM32 Support
Topic: STM32 support for High Speed SDIO?
Replies: 2
Views: 2957

STM32 support for High Speed SDIO?

Does anyone know about running SDIOCK faster than 48 MHz on STM32F4? I recently found this function in the STM32Cube stm32f4xx_hal_sd.c file. /** * @brief Switches the SD card to High Speed mode. * This API must be used after "Transfer State" * @note This operation should be followed by th...
by wgreiman
Mon Dec 23, 2013 8:21 pm
Forum: Development and Feedback
Topic: [INFO] ChibiOS 3.0 Status
Replies: 19
Views: 5136

Re: [INFO] ChibiOS 3.0 Status

Thanks for the link to the GCC ARM toolchain.

Their just released 4.8 version has a problem with lto but the 2013-09-26 version of 4.7 works.

Go to advanced search