Цитата(DmitryM @ Oct 11 2010, 22:13)

А есть возможность передернуть PullUp на линиях USB??? Тем самым Вы скажете ПК заново проинициализировать USB-Device.
Могу поставить микрик туда, попробовать:
То бишь мы имитируем ситуация, которая выделена ниже.....
1. The hub (or root hub) where the device is attached informs the host that
an event has occurred. There are two 15K pull down resistors connected to the D+ and D- USB wires in the hub port or root hub in the
host.
When the device is attached, its pull-up resistor (see USB Mechanical and Electrical section) will cause the signal level of either
D+ or D- to rise, thereby signaling the attachment of a USB device.
The device is now considered to be in the attached stage2. The host inquires the hub regarding the nature of the event.
3. The host issues a "port enable and reset" command to the hub where the device is attached.
4. The hub will then issue a USB reset signal to that port for 10 ms and
provide 100 mA of power supply to the device after the reset signal is
completed. The device now is considered to be in the powered stage,
as shown in Figure 2-14. From the device point of view, the reset signal
is the first signal it sees when it is attached to the hub or root hub. After
the reset signal, the device is in its default stage, where it corresponds
to the host with its default address (address 0 and endpoint 0).
5. The host will then initiate a GET DESCRIPTOR ("device" descriptor
type) setup packet to the device, and the device needs to respond
accordingly.
Цитата(MCZ @ Oct 11 2010, 22:42)

Могу поставить микрик туда, попробовать:
То бишь мы имитируем ситуация, которая выделена ниже.....
1. The hub (or root hub) where the device is attached informs the host that
an event has occurred. There are two 15K pull down resistors connected to the D+ and D- USB wires in the hub port or root hub in the
host.
When the device is attached, its pull-up resistor (see USB Mechanical and Electrical section) will cause the signal level of either
D+ or D- to rise, thereby signaling the attachment of a USB device.
The device is now considered to be in the attached stage
2. The host inquires the hub regarding the nature of the event.
3. The host issues a "port enable and reset" command to the hub where the device is attached.
4. The hub will then issue a USB reset signal to that port for 10 ms and
provide 100 mA of power supply to the device after the reset signal is
completed. The device now is considered to be in the powered stage,.
From the device point of view, the reset signal
is the first signal it sees when it is attached to the hub or root hub.
After the reset signal, the device is in its default stage, where it corresponds
to the host with its default address (address 0 and endpoint 0).
5. The host will then initiate a GET DESCRIPTOR ("device" descriptor
type) setup packet to the device, and the device needs to respond
accordingly.
Дык, а по 4 пунку, если шина отресетит контроллер, не сбросится ли хардварный брекпоинт при этом?
Монитор не слетает при софтовом ресете, а вот бряк может слететь.
Судя по даташиту,
CODE
The break address registers (BRKH and BRKL) contain the high and low
bytes of the desired breakpoint address. Reset clears the break address
registers.
Сообщение отредактировал MCZ - Oct 11 2010, 20:47