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

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

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

Post by RogerClark » Wed Dec 09, 2015 7:16 pm

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

B.Hernnaes
Posts: 6
Joined: Wed Dec 09, 2015 7:43 am

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

Post by B.Hernnaes » Wed Dec 09, 2015 8:43 pm

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.

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

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

Post by RogerClark » Wed Dec 09, 2015 10:34 pm

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

B.Hernnaes
Posts: 6
Joined: Wed Dec 09, 2015 7:43 am

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

Post by B.Hernnaes » Thu Dec 10, 2015 11:39 am

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.)

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

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

Post by RogerClark » Thu Dec 10, 2015 9:28 pm

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.

B.Hernnaes
Posts: 6
Joined: Wed Dec 09, 2015 7:43 am

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

Post by B.Hernnaes » Fri Dec 11, 2015 7:38 am

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...
Last edited by B.Hernnaes on Fri Dec 11, 2015 9:19 am, edited 2 times in total.

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

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

Post by RogerClark » Fri Dec 11, 2015 7:46 am

There is an option to upload via STLink in the menu

B.Hernnaes
Posts: 6
Joined: Wed Dec 09, 2015 7:43 am

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

Post by B.Hernnaes » Fri Dec 11, 2015 8:13 am

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.

amundsen
Posts: 11
Joined: Wed Jul 01, 2015 7:42 pm

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

Post by amundsen » Thu Jan 21, 2016 7:02 am

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

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

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

Post by RogerClark » Thu Jan 21, 2016 9:49 am

Yes. It is supported

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

It was added months ago by @jcw

Post Reply