Search found 1088 matches

by victor_pv
Sat Apr 29, 2017 12:56 am
Forum: Generic bootloader
Topic: Linux: flashing own STM32F103C8T6 generic USB bootloader not much luck
Replies: 5
Views: 26

Re: Linux: flashing own STM32F103C8T6 generic USB bootloader not much luck

The bootloader will not enumerate as a serial port, only as a DFU device.
When you load a sketch and the sketch starts, the sketch code will emulate a serial device.
by victor_pv
Fri Apr 28, 2017 8:04 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 124
Views: 1322

Re: STM32GENERIC, my arduino implementation

I got earlier SPIFFS working from sources with F103 and winbond spi flash chip. But it was only the core SPIFFS and didn't have extra layer for Arduino File API like they've done for esp8266. I'll aim for that because it's easier to use File API from Arduino I think. We could also make it work so t...
by victor_pv
Fri Apr 28, 2017 7:55 pm
Forum: CubeMX and HAL
Topic: [STM32GENERIC] micros() bug??
Replies: 21
Views: 197

Re: [STM32GENERIC] micros() bug??

That makes sense for delaymicros(), but how would you use it for micros()?
by victor_pv
Fri Apr 28, 2017 4:42 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 124
Views: 1322

Re: STM32GENERIC, my arduino implementation

If you add the SDIO we do not mind to wait for a week :D :D :D I believe SDIO is working already, although without DMA. Either on this thread or in another Daniel posted some examples. I'll try to get the SPI DMA working, after that may try to tackle adding DMA for the SDIO, but I haven't looked at...
by victor_pv
Fri Apr 28, 2017 4:29 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 124
Views: 1322

Re: STM32GENERIC, my arduino implementation

In SdFat there is a file called SdSpiSTM32F1.cpp - that is the "DMA driver" for STM32F103 Bill did in past, most probably libmaple based.. The dma based BluePill does 3.5MB/sec rd/wr @36MHz, we currently do a half on F407. And then there is a file SdioTeensy.cpp with SDIO enabled for F4 s...
by victor_pv
Fri Apr 28, 2017 4:13 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 124
Views: 1322

Re: STM32GENERIC, my arduino implementation

Got the black board today. Should we try to integrate SPIFFS as a filesystem like it is in esp8266 ? I would like it, for small files I'd rather use that than SDcard, and many generic boards include some SPI flash. I think there was a port working for the libmaple F1 core already, may work as a base.
by victor_pv
Fri Apr 28, 2017 4:11 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 124
Views: 1322

Re: STM32GENERIC, my arduino implementation

Got the black board today. Should we try to integrate SPIFFS as a filesystem like it is in esp8266 ? What about SdFat?? There is a lot work around it.. For F407: 1. enable dma for SPI (F103 already done, so it is a good template) 2. implement SDIO (Teensy F4 already done, so it is a good template)....
by victor_pv
Thu Apr 27, 2017 5:47 pm
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 20
Views: 340

Re: Problem with measuring very short pulses

I got this working. I have corrected my earlier post to a working example. Now I have to figure out how to change the polarity between counts to measure one pulse length. Now it fires on a rising edge and I need a falling edge to :) I think another thing you may need to do is to reset the counter r...
by victor_pv
Thu Apr 27, 2017 3:33 pm
Forum: CubeMX and HAL
Topic: [STM32GENERIC] micros() bug??
Replies: 21
Views: 197

Re: [STM32GENERIC] micros() bug??

Daniel I would say at the moment Pito's is better than anything else, so may want to push it, then if we find something better replace. His may take a bit longer to execute, but as long as it results in the right value, is much better than the risk in the current one. About libmaple, it checks a reg...
by victor_pv
Thu Apr 27, 2017 2:00 pm
Forum: STM32F4 Boards
Topic: CLOSED, FOCUS GOES TO HAL BASED CORES - Improving F4 core (libmaple based)
Replies: 161
Views: 1795

Re: Improving F4 core (libmaple based)

Steve, agreed on the F1, for a bluepill and similar libmaple just works fine with fast speeds and little resources, I dont think the HAL comes close to it. And we have a bootloader working, and the knowledge of libmaple to correct or improbe anything. I will update the first post on this thread to d...

Go to advanced search