FreeJoy-Team / FreeJoyConfiguratorQt

GUI utility for configuration and setting up FreeJoy embedded controller
GNU General Public License v3.0
108 stars 38 forks source link

Connection issue Blue Pill #30

Open Gybb opened 2 years ago

Gybb commented 2 years ago

image

So I have 2 of these each, the right one work flawless but the left one does not. Left one flash without issue using ST-link. The issue is that when I connect to Configurator it disconnect after about 5 seconds, reconnect and disconnect and then stay disconnected. Pressing reset just repeat the disconnect cycle. Windows recognize it as connected but not the Configurator.

The USB connector is different and it says MYS 806 instead of MYS 808 on the chip.

Tried reflashing to no avail.

Any ideas why it won't work? Regards F

Reksotiv commented 2 years ago

Hi, i have no idea how to make it work. It might be fake, the hole looks too big image Original image you can check with st-link and this app but some fakes work fine. stmTest.zip

Gybb commented 2 years ago

So the one that doesn't work correctly has 256kB flash size when I connect to ST-LINK, the one that work has 128kB. It also says STM32F10xx High density for the non working and medium density for the working in "product family"

Anyway, hard to tell them apart until you connect them :)

16sth commented 2 years ago

Fake Bluepill has square button. Nearly all Ebay sellers show Bluepill with round button but send fake square button board. Ask me how I know!! Been searching for ages for genuine Bluepill as I think this software is brilliant

bluepill

Skinest commented 1 year ago

Same problem here. I've found out that if you are quick enough to press the Write config button in some cases it manages to write it and same with Read config. So it's clearly a software issue. Did anyone find a solution?

Skinest commented 1 year ago

Maybe this helps someone choose a proper board when buying. I got 2 types, one is disconnecting same as for Gybb and also has the same ammount of memory as his board (256kb). Another one works fine but has only 64kb of memory, but that seems to be enough for this project.

OKboard DCboard
thefreejr commented 8 months ago

So, any ideas here? I have the same issue whith disconnecting board.

AirPowerCrwChief commented 8 months ago

@thefreejr you aren't the only one. I have the same issue with 2 boards I bought. Found one Amazon store that sells working boards though, https://www.amazon.com/gp/product/B07VKSVM21/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

AhvianRF commented 2 months ago

Hello, have anyone managed to solve this issue? I have the same problem with a "High density" bluepill with 256k memory

timgray commented 2 months ago

Also having the same issue. Mine is the opposite. the square button fake ones work perfectly while the round button ones are all failing because they have a larger flash.

lawsjr commented 1 month ago

So far I have went through 7 boards from Amazon. Two different sellers and none of them will stat connected. All are square button boards. The last 4 are all 64K boards.. None will stay connected longer than 20 seconds. then disconnect and will not reconnect.

AhvianRF commented 1 month ago

I have the same issue with my bluepill which also has 256k flash.

At first, I suspected that my bluepill had the wrong pullup resistor on D+, which prevented it from staying connected, but after checking, it had the recommended 1.5k on it. Moreover, I've already used it with other projects and the USB communication worked just fine.

I think the issue lies on the FreeJoy firmware which does not handle 256k boards.

lawsjr commented 1 month ago

Has anyone found boards that actually work? I have 6 now all dead. They connect with USB just fine and power up just fine and flash just fine. But will not stay connected in freejoy. Almost acts like to me there is an issue with the software not the boards them self. All boards are 64K boards.

Reksotiv commented 2 weeks ago

Hello. I bought a fake board and after testing i can say that the problem is not in the configurator. After a few seconds the controller reports empty manufacturer and product strings, and also stops sending packets on interface 1, which is used by the configurator, but works on interface 0. Perhaps older versions of FJ will work with fakes, we did not separate USB into a composite device then.

Assamita81 commented 2 weeks ago

Another one with the same issue here, though I just tested mine with the tester program from one of the first posts, and mine are fake, so I bought new ones that a user shared as working ones, so let's see if I can work with those