Search found 5 matches

by rawsock
Fri Apr 07, 2017 10:16 am
Forum: Bug Reports
Topic: Incorrect OCR sent during SD card init Topic is solved
Replies: 6
Views: 778

Re: Incorrect OCR sent during SD card init Topic is solved

OCR for non-v20 cards needs to be changed as well. Probably only HC bit needs to be off, when compared to v20 OCR, but I did not test it.
The only configurable options that would make sense are power save vs full performance and voltage range.
by rawsock
Wed Mar 08, 2017 10:37 pm
Forum: Bug Reports
Topic: Incorrect OCR sent during SD card init Topic is solved
Replies: 6
Views: 778

Re: Incorrect OCR sent during SD card init Topic is solved

I tested on 2 SanDisk cards and 1 noname. All got significant performance boost during write (I did not test read speed).
by rawsock
Wed Mar 08, 2017 8:29 pm
Forum: Bug Reports
Topic: Incorrect OCR sent during SD card init Topic is solved
Replies: 6
Views: 778

Incorrect OCR sent during SD card init Topic is solved

In hal_sdc.c, sdc_init, there is an incorrect OCR word sent in ACMD41: ocr = 0xC0100000U; while the correct value according to SD card specification is: ocr = 0x50FF8000U; That is, busy=0, hc=1, full performance, full voltage range. There are two major results of this change: - sending empty voltage...
by rawsock
Tue Feb 28, 2017 3:21 pm
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 6020

Re: STM32L476 USB HAL errors Topic is solved

I'm using Win10 64bit, USB3.0, default Windows USB/CDC driver. Maybe it has something to do with USB controller and/or driver timing.
by rawsock
Fri Feb 17, 2017 11:29 am
Forum: Bug Reports
Topic: STM32L476 USB HAL errors Topic is solved
Replies: 56
Views: 6020

Re: STM32L476 USB HAL errors Topic is solved

I got exactly the same results, i.e. USB_EP0_SENDING_STS upon USB/CDC enumeration on custom STM32L476 board. Disabling assertions 'fixes' the problem.

Go to advanced search