I added a line in setup(), just before the return:
Serial.println("usb init");
...by the way, if Usb.Init() fails, you print an error and then proceed with no USB...
I also added a line in loop(), after the test for vendorId and productId:
Serial.print("Apple DFU found (vendorId: "); Serial.print(0x5ac); Serial.print(", productId: "); Serial.print(0x1227); Serial.println(")");
I noticed that I got different product IDs, based on how the device booted. If the iPad was running, I got one number, if it was in 'restore mode', I got a different number. If i reset into DFU, the code proceeded correctly!
running:
Non Apple DFU found (vendorId: 1452, productId: 4737)
...then, in 'restore':
Non Apple DFU found (vendorId: 1452, productId: 4779)
...then in DFU:
Apple DFU found (vendorId: 1452, productId: 4647)
logs.txt
I added a line in setup(), just before the return: Serial.println("usb init");
...by the way, if Usb.Init() fails, you print an error and then proceed with no USB...
I also added a line in loop(), after the test for vendorId and productId: Serial.print("Apple DFU found (vendorId: "); Serial.print(0x5ac); Serial.print(", productId: "); Serial.print(0x1227); Serial.println(")");
I noticed that I got different product IDs, based on how the device booted. If the iPad was running, I got one number, if it was in 'restore mode', I got a different number. If i reset into DFU, the code proceeded correctly!
running: Non Apple DFU found (vendorId: 1452, productId: 4737) ...then, in 'restore': Non Apple DFU found (vendorId: 1452, productId: 4779) ...then in DFU: Apple DFU found (vendorId: 1452, productId: 4647)