Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Ciceronic

Startup trouble

Recommended Posts

Hello

This is my first try setting up a virtual pinball. I have STM32, display panels etc, but no shield. Just wired the led-panels to STM pins.

 I have made programming, connection,

I have the PIN2DMD-logo running at the panels,

I have text "Virtual Pinball" in red under the logo. Before it said "not activated", so I assume I got the activation correct.

So far ok I think, but I can't get signal from the PC.

STM32 Board has 4 green lights constantly on, powered by the MINI-usb connected at the PC usb socket.

Green light seems good, but something mst be wrong.

If I connect a MICRO-usb from the computer to the board, the PC hangs at BIOS saying something about Usb power. As soon I disconnect MICRO, the PC boots.

I tried a MICRO-special, with powerpins bypassed = Only data +, data -. Then PC boots, Windows finds a unknown device, but I can not manage to assign the driver to it.

If MINI is disconnected, and only MICRO connected, the board shows no lights + nothing on the display panels.

 

Any ideas highly appreciated! 

Share this post


Link to post
Share on other sites

It is mandantory that you power the panels externally with a powersupply and not via the USB.
The panels draw around 4 amps. That is too much for the USB port.

Share this post


Link to post
Share on other sites

 I feed the panels with a separate old PC PSU. Should be ok and enough current.

I think it's something round the STM32 board. It's almost like a short curcuit when I connect the MICRO-Usb cable.

I've checked the instructions over and over, but I can't find what I'm missing...  so frustrating...

Share this post


Link to post
Share on other sites

4 green LEDs ? Sounds like a chinese copy of the STM controller. I have at least 2 red LEDs when I power the controller from MicroUSB

Share this post


Link to post
Share on other sites

OK! Thanks for that info. I can't power up the board at all by Micro Usb,  4 green leds while powering by Mini Usb...

Then this board must be defect. I'll get a new one.

Share this post


Link to post
Share on other sites

Powering the board through the Micro USB is supported by the controller board. Could you make a picture of your controller ?

Share this post


Link to post
Share on other sites

Picture of STM32 board and panels. Power from Mini Usb.

Powering STM32 only by Micro USB is impossible, but according to everything I read it should have worked...

Display looks nice, but a bit boring with nothing else than the PIN2DMD logo all the time ;)

 

Cic_PIN2DMD.jpg

Share this post


Link to post
Share on other sites
11 hours ago, Ciceronic said:

Picture of STM32 board and panels. Power from Mini Usb.

Powering STM32 only by Micro USB is impossible, but according to everything I read it should have worked...

Display looks nice, but a bit boring with nothing else than the PIN2DMD logo all the time ;)

 

O.K. is a chinese copy . The ST logo and board revision is also missing on the upper right of the pcb.

It is the same like this 

 

Powering the ST through microusb is only working with a wire bridge from PA9 to 5V pin of the pcb.

Share this post


Link to post
Share on other sites

Since this seemed to be useless, I spent some time "repairing" it. What I found is the MicroUsb socket must be upside down. Simple measuring showed that the +5V pin at a normal MicroUsb cable is routed to the boards common ground!! WTF!

So I made some soldering. Put the faulty socket off, and soldered a Usb-cable directly to the board. Correct this time.

Now, Windows find something at least and PC boots without any problem.

But when I start Zadig install tool, I don't have any PIN2DMD at the dropdown list??

What to do here? Does it look normal?

 

STM32 Zadig.jpg

Share this post


Link to post
Share on other sites

ST-Link is the debug interface (Mini USB) and not the user USB (micro) which is needed for operation

Share this post


Link to post
Share on other sites

Ok, I need a new board...
Searched the net for STM32F407, but it seems they're out of stock everywhere and not manufacured anymore. Just "china-versions" available. I'll skip those...
Can I go for the STM32F411VE instead??  Looks similar.

Share this post


Link to post
Share on other sites

Ok, Thanks for all help!

I got it working now!! I found another China STM32 board that I had forgotten (Too much stuff?? Yes I think so..).

This also had the same faulty MicroUsb socket, so I built a reversed MicroUsb cable, connected, flashed, and installed driver.  All fine. Extra wire from PA9 to 5V also working for powering the board.

Only thing is another hardware means I need a new activation code, but that's cheap and fast compared to buying new hardware.

 

BIG WARNING for those who buy China-STM32's: The MicroUsb socket/cable must be upside-down compared to the MiniUsb socket/cable!

Otherwise you'll fry your board, or even worse your computer. Wrong MicroUsb socket makes the board a complete short-curcuit.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...