Search found 1061 matches

by victor_pv
Tue Apr 25, 2017 4:09 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

Deleted sloeber, deleted the workspace, installed the nightly build from yesterday, and was able to install J-Link, finally...
Now let's see if I can complete the rest of the steps without messing it up again, unlikely :lol:
by victor_pv
Tue Apr 25, 2017 3:39 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

I have been trying to install the eclipse j-link plugin for the last 3 or 4 hours. Do you follow my guide? .. 1. Install the latest nightly build of Sloeber IDE from: https://oss.sonatype.org/content/repositories/snapshots/com/github/brodykenrick/arduino-eclipse-plugin/io.sloeber.product/4.0.1-SNAP...
by victor_pv
Tue Apr 25, 2017 2:24 pm
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 15
Views: 210

Re: Problem with measuring very short pulses

I think you should use the a Timer input capture mode for this. Sounds very interesting and I have found a thread about this http://www.stm32duino.com/viewtopic.php?f=3&t=1029&start=10 but it seems it's not finished. Someone got a working example of this ? Not sure if he posted it all, but ...
by victor_pv
Tue Apr 25, 2017 1:43 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

While messing with Serial in victor's core: 1. while building I get warning: undefined reference to `Serial' 2. while debugging it crashes at addr 8002968 (or 2962) 3. it seems to me the ringbuffer or buf is not set properly, or something like that. Serial 407 VP issue.JPG I have been trying to ins...
by victor_pv
Mon Apr 24, 2017 8:37 pm
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 15
Views: 210

Re: Problem with measuring very short pulses

I think you should use the a Timer input capture mode for this.
by victor_pv
Mon Apr 24, 2017 7:51 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

Please take into use stevestrong's enhanced USB serial code for F4 which he made for F1 originally. Actually I'm not sure if it already is included in current F4 repo. There's huge difference in terms of speed. The USB code in my version should all be from Steve's repo, I only made some changes to ...
by victor_pv
Mon Apr 24, 2017 2:40 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

i'm wondering if it may be good to do something like this #ifdef SERIAL_USB #include <usb_serial.h> #define Serial SerialUSB #else #define Serial Serial1 #endif as it seemed Serial is part of the 'arduino uno legacy' in which the serial console is sort of expected as Serial object. the atmega328 ar...
by victor_pv
Mon Apr 24, 2017 1:37 pm
Forum: STM32F3 Boards
Topic: F3 CCM ram usage.
Replies: 0
Views: 25

F3 CCM ram usage.

I don't know who is using the libmaple core in F3 MCUs, but for those doing it. I am currently working on the F4 core, and using the CCM memory to store some variables is already giving a performance bump. In the F3 the ccm memory is smaller, but better than the F4 since it can execute code from it ...
by victor_pv
Mon Apr 24, 2017 1:21 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

@steve, i think Serial is literally mapped to SerialUSB on the F1 core, i'm thinking if we should keep it the same. :roll: I think Steve posted this, otherone someone else did, but seems like the best would be to keep the following names all the time: SerialUSB -> USB Serial1 -> USART1 Serial2 -> U...
by victor_pv
Mon Apr 24, 2017 12:57 pm
Forum: STM32F4 Boards
Topic: Improving F4 core (libmaple based)
Replies: 150
Views: 1595

Re: Improving F4 core (libmaple based)

With the following Overclock settings in generic_f407v.h and the other settings as above: #define CYCLES_PER_MICROSECOND 240 // F_CPU in MHz // Note: Xtal frequency 8MHz #ifndef BOARD_PLL_M #define BOARD_PLL_M 4 // Xtal divider #endif #ifndef BOARD_PLL_N #define BOARD_PLL_N 240 // PLL_Freq multipli...

Go to advanced search