USB.Tool 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. To compile the A2 kernel, see A2.Tool.
  2. Compiler.Compile -b=ARM --traceModule=Trace --initLocals
  3. basel/ARM.A2/KernelLog.Mod
  4. (* Non-USB modules needed for the HID Driver *)
  5. basel/ARM.A2/ARM.Streams.Mod Commands.Mod Clock.Mod Dates.Mod basel/ARM.A2/ARM.Reals.Mod Strings.Mod Files.Mod
  6. (* USB Stack *)
  7. Plugins.Mod UsbDebug.Mod Usbdi.Mod UsbHcdi.Mod
  8. UsbEhci.Mod basel/ARM.A2/UsbEhciZynq.Mod
  9. (*basel/ARM.A2/UsbEhci.Mod*)
  10. UsbDriverLoader.Mod
  11. UsbUtilities.Mod Usb.Mod UsbHubDriver.Mod UsbHid.Mod DriverDatabase.Mod UsbInfo.Mod
  12. (* USB HID driver modules *)
  13. Inputs.Mod UsbHidErrors.Mod UsbHidUP.Mod UsbHidParserExt.Mod UsbHidReport.Mod UsbHidParser.Mod
  14. basel/ARM.A2/ARM.UsbKeyboard.Mod Joysticks.Mod UsbHidDriver.Mod
  15. (* USB storage driver modules *)
  16. Disks.Mod UsbStorageBase.Mod UsbStorageCbi.Mod UsbStorageBot.Mod UsbStorageScm.Mod UsbStorage.Mod
  17. (* USB Bluetooth modules *)
  18. UsbBluetooth.Mod
  19. (* Bluetooth modules *)
  20. Bluetooth.Mod BluetoothHCI.Mod BluetoothL2CAP.Mod BluetoothRFCOMM.Mod BluetoothUART.Mod BluetoothUSB.Mod
  21. Serials.Mod BluetoothTest.Mod
  22. ~
  23. Compiler.Compile -b=ARM --traceModule=Trace --initLocals
  24. (* Video modules *)
  25. basel/ARM.A2/UsbVideoDesc.Mod
  26. basel/ARM.A2/UsbVideo.Mod
  27. ~
  28. Compiler.Compile -b=ARM --traceModule=Trace --initLocals
  29. Caches.Mod DiskVolumes.Mod
  30. ~
  31. StaticLinker.Link --fileName=Test.Bin --displacement=100000H -a
  32. Initializer Runtime Platform FPE64 ARMRuntime Trace Uart Machine
  33. Heaps Modules Objects Kernel
  34. KernelLog Streams Commands Clock Dates Reals Strings Files
  35. Plugins UsbDebug Usbdi UsbHcdi UsbEhci UsbEhciZynq
  36. UsbDriverLoader UsbUtilities Usb UsbHubDriver UsbHid UsbInfo
  37. UsbVideoDesc UsbVideo
  38. UsbBluetooth Bluetooth BluetoothHCI BluetoothL2CAP BluetoothRFCOMM
  39. BluetoothUART BluetoothUSB Serials BluetoothTest
  40. Disks UsbStorageBase UsbStorageCbi UsbStorageBot UsbStorageScm UsbStorage
  41. Pipes Shell ShellController
  42. ~
  43. Inputs UsbHidErrors UsbHidUP UsbHidParserExt UsbHidReport UsbHidParser
  44. UsbKeyboard Joysticks UsbHidDriver
  45. ~
  46. =======================================
  47. For testing the EHCI controller on the ZedBoard, here is a simple initialization module:
  48. Compiler.Compile -b=ARM --traceModule=Trace --initLocals
  49. basel/ARM.A2/TestUsbEhci.Mod
  50. basel/ARM.A2/USBTestWatcher.Mod
  51. ~
  52. StaticLinker.Link --fileName=Test.Bin --displacement=100000H -a
  53. Initializer
  54. Runtime
  55. Platform
  56. FPE64
  57. ARMRuntime
  58. Trace
  59. Uart
  60. Machine
  61. Heaps
  62. Modules
  63. Objects
  64. Kernel
  65. UsbEhci
  66. ~
  67. USBTestWatcher
  68. ~
  69. =======================================
  70. FoxARMInstructionSet.Disassemble Test.Bin -a=1EA044H ~