Hello, huge thanks for creating this library it's pretty widely used in the Boss Katana / Arduino world. You've done a fantastic job simplifying the process to get lots of projects off the ground.
I'm having a recent issue that so far no one on forums has been able to help with:
I get this output:
--- Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on /dev/cu.usbmodem14301 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
*** USB task state: 20.
*** USB task state: 40.
*** USB task state: 50.
*** USB task state: 51.
TX: F0 7E 00 06 02 41 33 03 00 00 06 00 00 00 F7 (15) *** Transfer error: 13.
TX: F0 7E 00 06 02 41 33 03 00 00 06 00 00 00 F7 (15) *** Transfer error: 13.
TX: F0 41 00 00 00 00 33 12 7F 00 00 01 01 7F F7 (15) *** Transfer error: 13.
*** Up and ready!
Add item 0 to the queue: 0x10000 / 0x11 / 0x2.
Ready To Rock!
Picked up item 0 from the queue: 10000 / 0x11 / 0x2.
TX: F0 41 00 00 00 00 33 11 00 01 00 00 00 00 00 02 7D F7 (18) *** Transfer error: 13.
Performing Test Read
Add item 0 to the queue: 0x60000540 / 0x11 / 0x1.
Picked up item 0 from the queue: 60000540 / 0x11 / 0x1.
TX: F0 41 00 00 00 00 33 11 60 00 05 40 00 00 00 01 5A F7 (18) *** Transfer error: 13.
Performing Test Read
Add item 0 to the queue: 0x60000540 / 0x11 / 0x1.
Picked up item 0 from the queue: 60000540 / 0x11 / 0x1.
TX: F0 41 00 00 00 00 33 11 60 00 05 40 00 00 00 01 5A F7 (18) *** Transfer error: 13.
Performing Test Read
Add item 0 to the queue: 0x60000540 / 0x11 / 0x1.
Picked up item 0 from the queue: 60000540 / 0x11 / 0x1.
TX: F0 41 00 00 00 00 33 11 60 00 05 40 00 00 00 01 5A F7 (18) *** Transfer error: 13.
The Katana and the USB cable all seem fine as Boss Tone Studio works with my mac. Nothing has changed hardware/wiring-wise/ or code wise on my side and I'm using code from my previously working projects.
Running the board_qc example in the USB Host Serial library give me this output:
Circuits At Home 2011
USB Host Shield Quality Control Routine
Reading REVISION register... Die revision 03
SPI long test. Transfers 1MB of data. Each dot is 64K................ SPI long test passed
GPIO test. Connect GPIN0 to GPOUT7, GPIN1 to GPOUT6, and so on
Test failed. Value written: 00 Value read: FF
Press any key to continue...
GPIO test passed.
PLL test. 100 chip resets will be performed
Resetting oscillator
Reset number 0 Time to stabilize - 300 cycles
Reset number 1 Time to stabilize - 300 cycles
Reset number 2 Time to stabilize - 300 cycles
Reset number 3 Time to stabilize - 300 cycles
Reset number 4 Time to stabilize - 300 cycles
Reset number 5 Time to stabilize - 300 cycles
... etc etc
Reset number 99 Time to stabilize - 300 cycles
Checking USB device communication.
Reset complete. Waiting for the first SOF...
Getting device descriptor
Descriptor Length: 12
Descriptor type: 01
USB version: 0200
Device class: FF
Device Subclass: 00
Device Protocol: FF
Max.packet size: 40
Vendor ID: 0582
Product ID: 01D8
Revision ID: 0000
Mfg.string index: 01
Prod.string index: 02
Serial number index: 00
Number of conf.: 01
All tests passed. Press RESET to restart test
So it seems to be able to see the Katana on the other side.
If I add:
#define DEBUG_USB_HOST
#define EXTRADEBUG
to 'Usb.h' I can get slightly more info, but I don't quite understand it.
> Executing task: platformio device monitor <
--- Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on /dev/cu.usbmodem14301 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
*** USB task state: 20.
*** USB task state: 40.
*** USB task state: 50.
*** USB task state: 51.
TX: F0 7 Length:02 41 33000F00 00 06 00 00 00 F7 (15)SendSysEx:
Total pktSize: 0005
wptr: 04
*** Transfer error: 13.
TX: F0 7 Length:02 41 33000F00 00 06 00 00 00 F7 (15)SendSysEx:
Total pktSize: 0005
wptr: 04
*** Transfer error: 13.
TX: F0 4 Length:00 00 33000F7F 00 00 01 01 7F F7 (15)SendSysEx:
Total pktSize: 0005
wptr: 04
*** Transfer error: 13.
*** Up and ready!
Add item 0 to the queue: 0x10000 / 0x11 / 0x2.
Ready To Rock!
inTransfer():0D
Picked up item 0 from the queue: 10000 / 0x11 / 0x2.
TX: F0 4 Length:00 00 33001200 01 00 00 00 00 00 02 7D F7 (18)SendSysEx:
Total pktSize: 0006
wptr: 04
*** Transfer error: 13.
inTransfer():0D
inTransfer():0D
inTransfer():0D
inTransfer():0D
... (lots of the above repeated)
inTransfer():0D
inTransfer():0D
inTransfer():0D
inTransfer():0D
inTran
I appreciate the issue might be somewhere inside the USB Host Serial Library and not with the MS3 library, but I am yet to find anyone who apparently understands both that might be able to help!
Hello, huge thanks for creating this library it's pretty widely used in the Boss Katana / Arduino world. You've done a fantastic job simplifying the process to get lots of projects off the ground.
I'm having a recent issue that so far no one on forums has been able to help with:
I get this output:
The Katana and the USB cable all seem fine as Boss Tone Studio works with my mac. Nothing has changed hardware/wiring-wise/ or code wise on my side and I'm using code from my previously working projects.
Running the board_qc example in the USB Host Serial library give me this output:
So it seems to be able to see the Katana on the other side.
If I add:
to 'Usb.h' I can get slightly more info, but I don't quite understand it.
I appreciate the issue might be somewhere inside the USB Host Serial Library and not with the MS3 library, but I am yet to find anyone who apparently understands both that might be able to help!
Huge thanks! Steve