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.
Search found 5 matches
- Fri Apr 07, 2017 10:16 am
- Forum: Bug Reports
- Topic: Incorrect OCR sent during SD card init
- Replies: 6
- Views: 5663
- Wed Mar 08, 2017 10:37 pm
- Forum: Bug Reports
- Topic: Incorrect OCR sent during SD card init
- Replies: 6
- Views: 5663
Re: Incorrect OCR sent during SD card init
I tested on 2 SanDisk cards and 1 noname. All got significant performance boost during write (I did not test read speed).
- Wed Mar 08, 2017 8:29 pm
- Forum: Bug Reports
- Topic: Incorrect OCR sent during SD card init
- Replies: 6
- Views: 5663
Incorrect OCR sent during SD card init
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 ...
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 ...
- Tue Feb 28, 2017 3:21 pm
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors
- Replies: 56
- Views: 46710
Re: STM32L476 USB HAL errors
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.
- Fri Feb 17, 2017 11:29 am
- Forum: Bug Reports
- Topic: STM32L476 USB HAL errors
- Replies: 56
- Views: 46710
Re: STM32L476 USB HAL errors
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.