/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Hi

Username:     
Password:     
             

Forum

# 1   2008-11-01 11:39:15 Hi (project: PrimerJoystick 1.0)

alia
New member
Registered: 2008-10-27
Posts: 2

Hi (project: PrimerJoystick 1.0)

I have a problem regarding usb connection, even the connection to stm32 cant be detected by windows. But the application loaded
and working on STM32Circle.
I have no idea
that this problem related to software or hardware. 
Also  the battery is charging while it is connected.
Could u help me on this issue?

thanks, sincerely
alia

Offline

 

# 2   2008-11-10 15:34:25 Hi (project: PrimerJoystick 1.0)

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Hi (project: PrimerJoystick 1.0)

Hi Alia

Sorry but I am not sure I understand your problem.
Could you describe it a litle bit more.

Matloub

Offline

 

# 3   2008-11-25 09:10:49 Hi (project: PrimerJoystick 1.0)

alia
New member
Registered: 2008-10-27
Posts: 2

Re: Hi (project: PrimerJoystick 1.0)

Thanx for replying me
Dear Matloub
When I run joystick or mouse applications on STM32 Cricle and connect the STM32 usb port to my pc, computer does not recognise any new hardware plugged in. even the connection is not detected just like plugging in nothing
again thanx for replying me
regards
alia

Offline

 

# 4   2008-11-26 15:27:26 Hi (project: PrimerJoystick 1.0)

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Hi (project: PrimerJoystick 1.0)

Hi 

I have made a trial and could use the joystick primer project with success.
But you are right we need to know if it is a hardware issue or due to the application.

Here is what can be expected from the primer.

1. The usb DEBUG port
When you connect it for the first time it should be detected as new and then install of the driver starts...
The other times you connect it there is nothing that should happens.
I assume this is ok as you can debug an application on the primer?

2. The USB STM32 port
As any usb device when you plug it the first time it should be detected and windows should warn you saying that :
a new device has been found and that it encounters a problem.
When you go the usb device mannager it should appear as unknown.
The events described above should arrive each time you plug it as it has no driver.

Can you let me know what is your situation concerning these points.

If you do not see this behavior then there it is needed to investigate and find where the issue can be by eliminating
different options.
You can for instance make these tests with your primer on an other usb port, an other PC, and if you had another primer try it on this PC. You can test test your usb port with other usb device ..........

Matloub

Offline

 

# 5   2009-06-29 04:07:01 Hi (project: PrimerJoystick 1.0)

ryujip
New member
Registered: 2009-05-09
Posts: 4

Re: Hi (project: PrimerJoystick 1.0)

matloub :

2. The USB STM32 port
As any usb device when you plug it the first time it should be detected and windows should warn you saying that :
a new device has been found and that it encounters a problem.
When you go the usb device mannager it should appear as unknown.
The events described above should arrive each time you plug it as it has no driver.

Matloub

I am encountering this problem...is there a solution for this?...
windows doesn't recognize the device and does not allow it to use the default windows xp driver....

appreciate any suggestions.

thanks.
ryujip

Offline

 

# 6   2009-06-30 08:48:07 Hi (project: PrimerJoystick 1.0)

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Hi (project: PrimerJoystick 1.0)

Hi

If you plug the usb port called STM32 on primer 1 and it is not detected by Windows,
(does not appear in Devices manager-> Universal Serial Bus controller)
it can only be a hardware problem.

Are you able to use your primer I mean can you program it?
If you can progam it it would mean that
your USB port, the cable you use and the usb port called debug work properly.

Can you let me know this point.

Regards,
Matloub

Offline

 

# 7   2009-06-30 14:29:20 Hi (project: PrimerJoystick 1.0)

ryujip
New member
Registered: 2009-05-09
Posts: 4

Re: Hi (project: PrimerJoystick 1.0)

matloub :

Hi

If you plug the usb port called STM32 on primer 1 and it is not detected by Windows,
(does not appear in Devices manager-> Universal Serial Bus controller)
it can only be a hardware problem.

Are you able to use your primer I mean can you program it?
If you can progam it it would mean that
your USB port, the cable you use and the usb port called debug work properly.

Can you let me know this point.

Regards,
Matloub

Hi Matloub, I hope you're directing the question to me (ryujip :: Yesterday 06:07:01).
The "DEBUG" usb port is perfectly fine, i can program my primer1 perfectly fine, the
windows can detect RLINK with no problem....

but the story of "STM32" usb port is as follows:
(a) if I program the primer with "VirtualComPort" sample projects, in response the windows can detect it and register it as COM4

(b) if I use sample "HID" projects, the windows device_manager response is "UNKNOWN" under universal_serial_bus_controllers....... my question now is How do I make windows xp detect it as "HID"?
furthermore, if I use HID sniffer program, the primer1 is totally not found.

are there any standard windows_driver to solve the "UNKNOWN" phenomena?

appreciate any help you can extend. thanks.

regards
Ryuji

Offline

 

# 8   2009-06-30 15:03:47 Hi (project: PrimerJoystick 1.0)

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Hi (project: PrimerJoystick 1.0)

Hi

Ok so it does not seem to be an hardaware issue.

As this thead was about primerjoystick I had try this project:
21      2008-01-11      PrimerVirtualCom 1.1 from http://www.stm32circle.com/projects/list.php

I use the latest version of Ride7 and RKit-ARM from http://www.mcu-raisonance.com/mcu_downloads.html

Here is what I am doing
I open the project joystick nd compile it.
I select the applacation JoystickExe and start debugging.
I press on Run to execute the program
I select in the primer the appliation "Joystcick"
I plug the usb on stm32 and it makes appear in device manager
Human Interface Devices and under this "HID-compilant game controller" and "USB Human Interface Device"

It appears only as unknown if I plug it when I did not start running the application "Joystick"

Let me know what actions to you follow.

Regards,
Matloub

Offline

 

# 9   2009-06-30 17:03:23 Hi (project: PrimerJoystick 1.0)

ryujip
New member
Registered: 2009-05-09
Posts: 4

Re: Hi (project: PrimerJoystick 1.0)

matloub :

Hi

Here is what I am doing
I open the project joystick nd compile it.
I select the applacation JoystickExe and start debugging.
I press on Run to execute the program
I select in the primer the appliation "Joystcick"
I plug the usb on stm32 and it makes appear in device manager
Human Interface Devices and under this "HID-compilant game controller" and "USB Human Interface Device"

It appears only as unknown if I plug it when I did not start running the application "Joystick"
Let me know what actions to you follow.

Regards,
Matloub

Hi Matloub,

finally success!...i'd like to add one item to your list above..."primer must be independently powered up (using the battery), instead of relying from the "STM32" usb port as power source"....this solved the problem.... I overlooked this fundamental basic requirement....i was assuming that since the USB will be supplying the needed 5volts then it would be fine...but  this resulted to intermittent success in enumeration...but by the looks of my problem, the application of 5volts and usb enumeration cannot happen at the same time...5v must come first before a delayed enumeration can happen...could this be the root cause of intermittent usb enumeration, or usb recognition...... 

for the other guys out there who's having trouble like mine, maybe this could help you out too!

Matloub thank you for your excellent advise, appreciate it very much.

regards
Ryuji

Offline

 

# 10   2011-11-13 13:16:59 Hi (project: PrimerJoystick 1.0)

chchyong89
New member
Registered: 2011-11-13
Posts: 1

Re: Hi (project: PrimerJoystick 1.0)

alia :

I have a problem regarding usb connection, even the connection to stm32 cant be detected by windows. But the application loaded
and working on STM32Circle.
I have no idea
that this problem related to software or hardware. 
Also  the battery is charging while it is connected.
Could u help me on this issue?

thanks, sincerely
alia

Same as alia, i have the exactly same problem, connected the USB to my PC and nothing show up. The board is powered but not loading up, and the LCD is showing blank.

Even under device manager, there is no unknown device. Tried on another PC with windows 7 32bit still the same. sad

Offline

 

Board footer