Page 10 of 10

Re: Guide: "I'm new here - which board should I buy?"

Posted: Wed Dec 09, 2015 7:16 pm
by RogerClark
Are you using a PC / windows or Mac or Linux

We do not have any problems on Windows.

There can be timinig issues with the bootloader on Mac and Linux, but even on those platforms, most people dont have any problems.


Can you explain the problem in detail

Re: Guide: "I'm new here - which board should I buy?"

Posted: Wed Dec 09, 2015 8:43 pm
by B.Hernnaes
Win7 64bit i7
The bootloader is active for about 5 seconds after reset then returns to running the uploaded sketch.
So I have to wait for the arduino ide to finish the compile before I press the reset button.

Re: Guide: "I'm new here - which board should I buy?"

Posted: Wed Dec 09, 2015 10:34 pm
by RogerClark
Ah

The issue is that the IDE is not correctly resetting the board

Check that you have selected the COM port for the board in the IDE

Re: Guide: "I'm new here - which board should I buy?"

Posted: Thu Dec 10, 2015 11:39 am
by B.Hernnaes
It's set on COM1.
I get this report from the ide:
Resetting to bootloader via DTR pulse
seems that's the one not working
Ah I get some error reports from the ide as well after an upload:
error resetting after download: usb_reset: could not reset device, win error: (can't find the file) Det går inte att hitta filen.

Missing/wrong value resistor on the board?

There's a 10k resistor (smd 0102 marked R10) from PA12 going somewhere under the cpu.
I'll replace it with a 1.5K if I have some of these not sure if I have that size in stock. (found a reel of 1K 0805)
At least I can bridge it with an ordinary 1.8k resistor.
Have to find where its connected first with my ohmmeter.
Beeps at 3.3 its the supply. So it's a pullup to supply hm maybe 1k ok not worried about power consumption here.
Well 1k doesn't work.
Tried 1.5k as well doesn't work.
Should the pullup be to 5V?
edit: got a bright idea changed to another usb cable, not so bright it seems no difference...

But that means it's not a good card for beginners as i thought it would be.

(Maybe most of this discussion should be moved to another thread as it clutters up this one.)

Re: Guide: "I'm new here - which board should I buy?"

Posted: Thu Dec 10, 2015 9:28 pm
by RogerClark
re:usb reset error message

This error seems to be a bug in dfuUtil. It does not affect the operation.

Open the windows device manager and watch what happens during upload and you can see if the usb is getting reset and re-enumerated.

10k resistor seems too high. 1.5k is more likely to work.

Re: Guide: "I'm new here - which board should I buy?"

Posted: Fri Dec 11, 2015 7:38 am
by B.Hernnaes
Done some more debugging.
Found an error in my assembly code. Wanted to try it out.
Tried to erase the chip but stlink-utility couldn't connect to it, had to connect while reset button pressed down. Eh?
Why not try with stlink as a uploader with arduino as well?
Worked no error messages at all could upload a new sketch after the first one.
No offset needed the entire memory free for the sketch.
Have done some sketches with different blink patterns to be sure.
Tried to connect with stlink-utility while a sketch was running that worked as well.

To me it seems the bootloader isn't behaving nicely...

Re: Guide: "I'm new here - which board should I buy?"

Posted: Fri Dec 11, 2015 7:46 am
by RogerClark
There is an option to upload via STLink in the menu

Re: Guide: "I'm new here - which board should I buy?"

Posted: Fri Dec 11, 2015 8:13 am
by B.Hernnaes
Yepp that's the one I used.
From now on I'll just have fun and make some serious stm32 sketches.

b.t.w. my 30 usd incl. postage STM32F429IGT6 board has arrived even more fun is waiting for me when I pick it up.

Re: Guide: "I'm new here - which board should I buy?"

Posted: Thu Jan 21, 2016 7:02 am
by amundsen
I don't know if it's compatible with the Stm32duino IDE, but this board from Thaoyu is really tiny and cheap.

http://www.hotmcu.com/stm32f103tb-arm-c ... cPath=1_20

Re: Guide: "I'm new here - which board should I buy?"

Posted: Thu Jan 21, 2016 9:49 am
by RogerClark
Yes. It is supported

Actually This board was discussed a few days ago in another tread.

It was added months ago by @jcw