Skip to content
Failed

Changes

Summary

  1. fix usb usb reset handling by delayed soft reset (details)
  2. usb desc: use per-interface dev class instead of CDC (details)
  3. add ext power detect & dev reset (details)
  4. fix some warnings and add some warning flags (details)
  5. out ep: fix swapped error handling (details)
  6. Make ch9 usb tests work (details)
Commit 6c40c41918f65f84003aff1c6e69a01d27be8581 by ewild
fix usb usb reset handling by delayed soft reset

Requires BL clock init, not compatible with old bootloaders!

Will always reboot to DFU mode with old bootloader/wrong clocks.

Change-Id: I0939930a42f3009abf7e670561a123963bbd3845
The file was modifiedsysmoOCTSIM/hpl/core/hpl_init.c
The file was modifiedsysmoOCTSIM/usb_start.c
The file was modifiedsysmoOCTSIM/hpl/usb/hpl_usb.c
The file was modifiedsysmoOCTSIM/main.c
The file was modifiedsysmoOCTSIM/atmel_start.c
Commit 57371b46ee9bcb263e949de77611917e5ef20ecf by ewild
usb desc: use per-interface dev class instead of CDC

Change-Id: I9d4f88b973f0c16d2c1241343d416496b35019a0
The file was modifiedsysmoOCTSIM/usb_descriptors.c
Commit 704f3c107d46f6ead87d8e7400c5e6180d9e5983 by ewild
add ext power detect & dev reset

Change-Id: Ied62450670dba2227daa96cbcd162cfe8414445a
The file was modifiedsysmoOCTSIM/main.c
The file was modifiedsysmoOCTSIM/usb/device/usbdc.c
Commit 200eea247eb8427f6b2f723c839eb5aac4812f74 by ewild
fix some warnings and add some warning flags

Change-Id: I55e1de7fe8428a5c6cdf741cdc0ae7c47aa7c8d8
The file was modifiedsysmoOCTSIM/main.c
The file was modifiedsysmoOCTSIM/gcc/Makefile
The file was modifiedccid_common/ccid_slot_fsm.c
The file was modifiedsysmoOCTSIM/usb/class/ccid/device/ccid_df.c
Commit 709bc5b183690020d8a31a79858771b67c762394 by ewild
out ep: fix swapped error handling

Change-Id: I2833f0aca3ffebfceaaf2a0681a9f8242817e722
The file was modifiedsysmoOCTSIM/main.c
Commit a684bc4e38b4464cf1e4a727f222abc5321a8810 by ewild
Make ch9 usb tests work

This passes all tests except TD 9.9.
That's is weird, because 9.9 works fine when doing
the same commands on linux. It does not really
matter anyway, since stalling the device ep by
sending a message from the host is is only useful
for the test itself... There is no reasonable
way to continue running after random forced ep
stalls anyway, resetting the device would be the
sane option.

This adds some mildly useful debug python snippets
that can be used to inspect the device state.

Change-Id: Icadaee9d8cbe24bd3cac002cc4f710dcf846a32b
The file was addedcontrib/gdb_clocktree.py
The file was modifiedsysmoOCTSIM/usb/class/ccid/device/ccid_df.c
The file was modifiedsysmoOCTSIM/usb/class/ccid/device/ccid_df.h
The file was modifiedccid_common/cuart.c
The file was modifiedsysmoOCTSIM/usb/device/usbdc.c
The file was addedcontrib/ch9_epstall.py
The file was modifiedsysmoOCTSIM/hpl/usb/hpl_usb.c
The file was modifiedsysmoOCTSIM/main.c
The file was addedcontrib/gdb_sercom.py
The file was addedcontrib/gdb_msgb.py
The file was addedcontrib/gdb_usb.py