Search found 1011 matches

by stevestrong
Fri May 26, 2017 8:45 am
Forum: General discussion
Topic: Should I change the bootloader to use the Boot1 jumper as the DFU mode lock "button"
Replies: 6
Views: 44

Re: Should I change the bootloader to use the Boot1 jumper as the DFU mode lock "button"

I cannot see any advantage of this. If there is a problem of timing to recognize the DFU mode on some systems, the board can be hold on reset state (pressing the reset button) and be released either short before or after the IDE trying to find the DFU device for uploading. But, of course, I may miss...
by stevestrong
Fri May 26, 2017 8:39 am
Forum: General discussion
Topic: Couple of newcomer questions
Replies: 38
Views: 1770

Re: Couple of newcomer questions

petr, sorry, I just saw that USB HID is mixed with OTA and didn't realize that this is about OTA. The name of this thread is at least confusing. Regarding the SPI for loading the update, I would take the software SPI version instead of the HW SPI, because it would fit into less code space. And the b...
by stevestrong
Fri May 26, 2017 7:36 am
Forum: General discussion
Topic: Couple of newcomer questions
Replies: 38
Views: 1770

Re: Couple of newcomer questions

petr, I think this question should be posted elsewhere.
by stevestrong
Fri May 26, 2017 7:33 am
Forum: STM core: Bugs and enhancements
Topic: pinMode() disables timer even if no PWM mode involved
Replies: 29
Views: 421

Re: pinMode() disables timer even if no PWM mode involved

edogaldo wrote:Hi Roger, there is PR #288 which addresses it but I don't understand why the guy added a second commit which, on my opinion, breaks things again..

edogaldo, can you please detail which things exactly get broken with this PR?
by stevestrong
Thu May 25, 2017 8:14 am
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 161
Views: 1588

Re: [STM32GENERIC] SDIO DMA

Pito wrote:Use SdFat from github instead of the SdFat-beta. The beta is old and has been merged to SdFat a month ago.

That is good to know, thanks Pito.
by stevestrong
Thu May 25, 2017 6:36 am
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 15
Views: 202

Re: Blue pill and SD card

Have you checked the 3.3V supply? On the blue pill the 5V->3.3V voltage regulator is not very strong.
It seems that the read data is mostly 0x00, so there still must be something wrong there.
by stevestrong
Wed May 24, 2017 11:19 pm
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 15
Views: 202

Re: Blue pill and SD card

skematic wrote:I want to try lowering SPI speed, where can I do this?

In the main loop, you have:

Code: Select all

  if (!sd.cardBegin(SD_CHIP_SELECT, SPI_HALF_SPEED)) {

Replace "SPI_HALF_SPEED" by "SPI_CLOCK_DIV8" (or 16 instead of 8)
by stevestrong
Wed May 24, 2017 1:26 pm
Forum: General discussion
Topic: Software I2C usage
Replies: 1
Views: 40

Re: Software I2C usage

Please stop multiple posting same issue.
by stevestrong
Wed May 24, 2017 1:16 pm
Forum: Generic STM32F103
Topic: I2C on the STM32F103C8T6
Replies: 13
Views: 320

Re: I2C on the STM32F103C8T6

Be careful, PB4 can be alternatively reserved by SWD interface when you upload over serial (PA9/10) or STLink or any debug probe. Only by uploading over STM32duino bootloader, PB4 can be used as GPIO, and thus for I2C, too. Otherwise you have to manually edit boards.txt and remove "-DCONFIG_MAP...
by stevestrong
Wed May 24, 2017 1:12 pm
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 15
Views: 202

Re: Blue pill and SD card

As @ag123 said, lower the SPI speed when using the level translator.

Go to advanced search