Search found 144 matches

by Bakisha
Mon Feb 17, 2020 7:14 pm
Forum: General discussion
Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
Replies: 49
Views: 47486

Re: SerialUSB doesn't work on Maple Mini

Try with Serial.begin(115200); while (!Serial) { yield(); } in setup. I had few troubles also with usb serial on stm32duino core, and that line fixed that. Annoying part is only that sketch won't continue untill there is working serial communication with PC. Also, for me, when board is unplugged, i ...
by Bakisha
Sat Feb 08, 2020 7:21 am
Forum: General discussion
Topic: Quick summary?
Replies: 9
Views: 14062

Re: Quick summary?

-deleted-
by Bakisha
Wed Jan 29, 2020 6:23 am
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 61562

Re: Interesting problem

Well, your board works ok, it's software issue that you can't connect. Only way to make it work without software modification is to press "connect" in same time you power on your board (if possible). Maybe, if you can, get blue pill dev board, so, untill you find solution, experiment on bo...
by Bakisha
Tue Jan 28, 2020 9:45 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 61562

Re: Interesting problem

-Set BOOT0 to 1 -Power up your board -Open "Flash Loader Demonstrator" -click "Next" 3 times -choose first option: "Erase All" -click "Next" -close "Flash Loader Demonstrator" -disconnect power from your board -set BOOT0 to 0 -connect st-link v2 to y...
by Bakisha
Tue Jan 28, 2020 7:22 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 61562

Re: Interesting problem

Error "No ST-LINK detected!" i get only when i disconnect st-link v2 dongle from USB and try to upload from Arduino IDE. Maybe missing drivers, maybe st-link v2 is stuck in DFU mode, maybe core or Arduino IDE need to be updated. I don't understand what BOOT0 have to do with ST-LINK Utility...
by Bakisha
Tue Jan 28, 2020 5:31 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 61562

Re: Interesting problem

What error Arduino IDE report? - "No ST-LINK detected!" - "No target connected. Unable to connect to ST-LINK!" - "Unable to connect to the MCU device!" Also, when using STM32 ST-LINK Utility, when you click "connect to target", does it connect or you get error...
by Bakisha
Tue Jan 28, 2020 3:57 pm
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 61562

Re: Interesting problem

Maybe not related, but got to ask. Do you have STM32F103C8/B chip or chinese clones like SK32F103C8 or GD32F103C8? But i agree with others, if you are compiling with Arduino IDE, and using Roger's core, why not upload from Arduino IDE? In my experience, uploading with st-link needed reset only when ...
by Bakisha
Tue Jan 28, 2020 9:40 am
Forum: General discussion
Topic: [SOLVED]Interesting problem
Replies: 46
Views: 61562

Re: Interesting problem

In your code, do you use pins PA13 or PA14? (SWDIO and SWCLK) Or in some way set them as inputs/output (individually or as portA manipulation). Maybe it's in conflict with st-link's pins.
by Bakisha
Wed Jan 15, 2020 1:41 am
Forum: General discussion
Topic: [Solved] Use timer for precise interrupt
Replies: 14
Views: 10225

Re: Use timer for precise interrupt

You also need

Code: Select all

  timerBase->setMode(1, TIMER_OUTPUT_COMPARE); // 1 is channel number 1, can be 1,2,3 or 4 
in your setup.
by Bakisha
Sat Dec 28, 2019 9:49 pm
Forum: General discussion
Topic: LTO isn't working?
Replies: 9
Views: 7999

Re: LTO isn't working?

In my experience, since I have some project that include both interrupts and timer, LTO was working on 1.7.0 core version. You try to downgrade from board manager and test it. And, for me, O3 with LTO produce much faster code then with just O3 (when measured with logic analizer).

Go to advanced search