[possible BUG] Bug 458 might not be fixed completely Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: [possible BUG] Bug 458 might not be fixed completely  Topic is solved

Postby Giovanni » Tue May 12, 2015 9:13 am

In the meanwhile I committed the fix as bug #592. You can just update from the repository.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Giovanni » Thu May 14, 2015 2:38 pm

Because an error the driver is not functional if assertions are disabled, it will be fixed in 3.0.0p5.

Giovanni

shinelikerain
Posts: 15
Joined: Mon Nov 25, 2013 11:10 am

Re: [possible BUG] Bug 458 might not be fixed completely

Postby shinelikerain » Fri May 15, 2015 12:07 pm

The patch Giovanni proposed certainly improved SDIO writes, I am running at SDC_CLK_50MHz again.

I'll let the system run for a while and feedback if I encounter any issues.

Thank you!

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Giovanni » Fri May 15, 2015 12:34 pm

Note that even if the card is recognized as 50MHz, the clock is always set to 25MHz, there is an STM32 errata preventing correct 50MHz operations.

Giovanni

Koen
Posts: 35
Joined: Mon Dec 21, 2015 12:15 am
Been thanked: 5 times

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Koen » Sun Jan 01, 2017 4:07 pm

Hello,
I discovered this bug fix while doing the F7 USB-MSD benchmarks. I then found the "SDIO clock divider BYPASS" errata in F205/F207/F215/F217/F40x/F41x but it isn't mentioned anymore in the F7 errata (and maybe others), so I removed it. Maybe a condition could be added based on the MCU family to restore the 50MHz bypass ?
Thank you, Koen

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Giovanni » Sun Jan 01, 2017 5:01 pm

Hi,

Have you tested it on the F7?

Anyway, moving this topic in "bug reports".

Giovanni

Koen
Posts: 35
Joined: Mon Dec 21, 2015 12:15 am
Been thanked: 5 times

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Koen » Sun Jan 01, 2017 7:54 pm

Yes and I haven't noticed a problem. I also tried your test code on page 3. F765VIT6.

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Giovanni » Tue Apr 25, 2017 9:26 am

bump

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Giovanni » Sun May 27, 2018 9:12 am

I think this has been fixed already. If not, reopen it.

Giovanni

Ceco
Posts: 40
Joined: Tue Nov 27, 2012 12:16 pm
Been thanked: 3 times

Re: [possible BUG] Bug 458 might not be fixed completely

Postby Ceco » Tue Dec 04, 2018 12:40 pm

Hello.

I'm using Chibios with STM32F437. This core is not affected by SD clock errata of older devices. Last days I made a lot of experiments with 48MHz SD clock - all seems fine for the moment. There is no such a issue in the errata sheet of the F437, too. The highest clock is important to achieve better performance.

So I think you can enable higher clock for F4 devices, or better include some macros to manipulate it on compile time.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 22 guests