EP1457901A2

System and method for simulating USB smart cards connected to USB host

Abstract

A system and method simulates a universal serial bus (USE) smart card device connected to a USB host device for development and debugging and includes a computer simulator and USB host device with host controller operatively connected along a communications link with the computer simulator for transmitting or receiving data packets to or from the computer simulator. A microcontroller is located between the computer simulator and USB host device and translates the data packets into a USB protocol to be used by the USB host device and defined by the computer simulator.

EP1457901A2, drawing sheet 1
Sheet 1 of 5

Term

Term ended

Projected expiry passed 11 March 2024, 2.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

23 claims: 18 independent, 5 dependent

  1. 1
    A system that simulates a universal serial bus (USB) smart card device connected to a USB host device for development and debugging comprising:a computer simulator having software that simulates a USB smart card device;a USB host device having a USB host controller operatively connected along a communications link with the computer simulator for transmitting or receiving data packets to or from the computer simulator;and a microcontroller located in the communications link between the computer simulator and the USB host device for translating the data packets into a USB protocol used by the USB host device and defined by the computer simulator.
  2. 2
    A system that simulates a universal serial bus (USB) smart card device connected to a USB host device for development and debugging comprising:a computer simulator having software that simulates a universal serial bus smart card device;a USB host device having a USB host controller operatively connected along a communications link with the computer simulator for transmitting or receiving data packets to or from the USB host device;and a microcontroller located in the communications link between the computer simulator and the USB host device for translating the data packets into a USB protocol to be used by the USB host device and defined by the computer simulator and having input and output software stacks for recording and aiding data packet transfers.
  3. 4
    A system according to any preceding Claim, wherein the microcontroller comprises a serial/USB translator interconnected between the computer simulator and the USB host device.
  4. 7
    A system according to any preceding Claim, and further comprising a serial and USB peripheral controlled by said microcontroller.
  5. 8
    A system according to any preceding Claim, wherein said microcontroller is operative for supporting control, bulk, interrupt, and/or isochronous USB transfer modes.
  6. 9
    A system according to any preceding Claim, wherein said microcontroller further comprises a USB/USB translator.
  7. 10
    A system according to any preceding Claim, and further comprising two USB peripherals controlled by said microcontroller.
  8. 11
    A system according to any preceding Claim, and further comprising a USB host controller operative with said computer simulator and connected to said communications link.
  9. 12
    A method for simulating a universal serial bus (USB) smart card device connected to a USB host device for development and debugging comprising the steps of:simulating within a computer simulator a USB smart card device;transmitting or receiving data packets to or from the computer simulator and a USB host controller of a host device;and translating the data packets at a microcontroller interconnected between the computer simulator and the USB host device into a USB protocol used by the USB host device and defined by the computer simulator.
  10. 13
    A method for simulating a universal serial bus (USB) smart card device communicating with a USB host device for development and debugging comprising the steps of:simulating within a computer simulator a USB smart card device;forwarding or receiving data packets to or from the computer simulator and a USB host controller of a host device;and translating the data packets at a microcontroller interconnected between the computer simulator and the USB host device into a USB protocol used by the USB host device and defined within the computer simulator while using input and output software stacks for recording and aiding data packet transfers.
  11. 15
    A method according to any of Claims 12 to 14, and further comprising the step of translating the data packets within a microcontroller operative as serial/USB translator.
  12. 16
    A method according to any of Claims 12 to 15, and further comprising the step of transmitting or receiving data packets over a serial communications line into or from a serial port of the computer simulator.
  13. 17
    A method according to any of Claims 12 to 16, and further comprising the step of transmitting data packets to or from the computer simulator along a serial communications link to the microcontroller and transmitting data packets to or from the USB host controller along a USB communications link using a USB protocol defined by the computer simulator.
  14. 18
    A method according to any of Claims 12 to 17, and further comprising the step of supporting within the microcontroller control, bulk, interrupt and/or isochronous USB transfer modes.
  15. 19
    A method according to any of Claims 12 to 18, and further comprising the step of controlling a serial and a USB peripheral by the microcontroller.
  16. 20
    A method according to any of Claims 12 to 19, and further comprising the step of translating data packets within a microcontroller operative as a USB/USB translator.
  17. 22
    A method according to any of Claims 12 to 21, and further comprising the step of transmitting or receiving data packets over a USB communications line into or from a USB host controller operative with the computer simulator.
  18. 23
    A method according to any of Claims 12 to 22, and further comprising the step of simulating a single ended zero and/or suspend mode by sending a flag to the host device.
Independent claims18