Hi guys,

Let me first start to explain what the STM8S Discovery is: it's a small
microcontroller development board, which allows you to program the onboard
microcontroller, which can control the state of some connected pins. It
doesn't have any linux development tools, so I thought I would give it a try
on Windows XP on a virtual machine.

To be clear: the host OS is Ubuntu 9.10, and the guest OS is windows XP.
Unfortunately, virtualbox doesn't recognises the STM8S-Discovery. When I
connect the discovery with USB to my PC, and run `lsusb` in terminal, it
shows the following list:

---------
Bus 008 Device 002: ID 0483:3744 SGS Thomson Microelectronics
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 056a:0065 Wacom Co., Ltd
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash
Card Reader/Writer (Internal/External)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard
4000 V1.0
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
----------

As you can see, the first item is the discovery. SGS Thomson stands for ST,
and ST is the manufacturer of the STM8S-Discovery. So conclusion, nothing
wrong with the USB connection, as it even opens a small USB mass storage
device window (nautilus) with some windows .url files. Also in the settings
window of my virtual machine, the STM8S-Discovery shows up in the list of
USB devices.

The USB settings window shows one filter, the default one. Which should
match any device. But the problem still occurs when adding the discovery to
the list of filters.

When the VM is powered up, I installed the development tools for the
discovery as I would do on a normal windows PC. And then when, the big
moment, I click on the debug button to program the code I've just written on
my microcontroller. Aaaaaannndd.... FAIL. It couldn't find the discovery on
any USB port. When I check the windows device manager, it can't find it
anywhere.

When running USBDeview (a utillity to show connected USB devices), it shows
nothing.

Is it possible to make virtualbox recognise the discovery, and if so, how?

Thanks in advance,
--
Lucas
_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to