you cannot use usb_bulk_msg() on buffers on the stack.
Attach a file by drag & drop or click to upload