Search found 1014 matches

by stevestrong
Sun May 28, 2017 2:54 pm
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 13
Views: 168

Re: Partial / old code for a F4 Maple bootloader

Those pins labeled as OTG_FS_DP/DM are the "normal" USB pins on PA11/12, similar to black F4.
by stevestrong
Sun May 28, 2017 2:41 pm
Forum: STM32F4 Boards
Topic: Compile HardTimerAsEncoder example erro
Replies: 1
Views: 16

Re: Compile HardTimerAsEncoder example erro

You could try with my repo, as this is not yet committed into main repo.
by stevestrong
Sun May 28, 2017 6:59 am
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 13
Views: 168

Re: Partial / old code for a F4 Maple bootloader

RogerClark wrote:Hence if we had a bootloader like on the F1 it would be a lot less hassle for everyone

Totally agree.
For the moment I am served by STLink, but I would welcome any working DFU solution, too, as USB serial is always part of my projects.
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: 59

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: 1787

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: 1787

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: 448

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: 162
Views: 1642

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: 220

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: 220

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)

Go to advanced search