Hello jakaskerl ,
Thanks for the answer. If we just need pins 3,4,5 and 8, then, most definitely is a contact or broken cable issue. We will check it Monday and provide feedback here.
Thank you and have a nice weekend,
Alexandre Pires
Hello jakaskerl ,
Thanks for the answer. If we just need pins 3,4,5 and 8, then, most definitely is a contact or broken cable issue. We will check it Monday and provide feedback here.
Thank you and have a nice weekend,
Alexandre Pires
Hello @jakaskerl ,
The issue has been somewhat stale, since we ordered cables that are robust and applicable to industry settings, and we were waiting for some samples to arrive.
We tried several ways and its not working. It only works with the usb to m8 board. I have the schematic here, perhaps it is possible to see what is actually wrong and what are we missing?
I hope to hear any idea soon, as it would be really helpful to have this.
Best regards,
Hi @alexandrepires ,
We apologize for the delay. So we have the M8 programming board on our github:
luxonis/depthai-hardwaretree/master/NG6013_M8_programming_board
So if your OAK POE device has latest bootloader (0.26), it should be able to boot via USB directly, and your cable only needs to supply power and connect USB2 lines. Also note that 5m long cable USB2 cable (what you are essentially doing) might not work due to EM interference, especially if USB2 lines aren't twisted + shielded.
Hi erik ,
Thanks for the support! Ok, we notice that our manufactured cables are not twisted, but they are shielded. We are going test by twisting and removing the length of the cable, just to discard the issue, and, hope that is not related to the our m8 connectors.
Best regards,
Hi @alexandrepires ,
Great, let us know if that will work as expected!
Thanks, Erik
Hey there erik
We still have no luck with this. We twisted the USB lines, as well as shorten the cable to be 1 meter and we still have no signs of reading. Could we debug this using only a power supply and check the USB lines output, to see if there is any luck ? Any tips to help debug further are greatly appreciated as well.
Best regards,
@alexandrepires could you provide images of this setup? How did you shield/twist the USB pair? Are you sure you connected correct pins? Do you have latest bootloader flashed on the device?
Hi erik ,
I attach the images here, to be able to twist(we are twisting only the usb lines), we had the shielding. We cut the cable to be able to remove as much effect possible, perhaps we should make it even shorter?
The bootloader version is 0.26, using depthai v2.22.0. It should be the correct pins assignation.
Best regards,
Hi @alexandrepires ,
I'd personally try with like 20cm, just to cross out this potential issue (which I still suspect is the culprit). I can't clearly see the pinout, but I trust you checked that too many times anyways
Actually from the image it seems like pin 3 and 4 (USB+ and USB-) aren't connected:
Hello erik and all,
We discovered the issue that we were having and solved it. First of all, do not mind the color of the cables, as it was another test cable we had. It was not from the same provider as in the schematic.
The issue was that the pins were mirrored. From your schematic, you have this:
After using the m8 programming board and confirming the direct USB pins to M8 8 Pin pinout connections, we verified that the D- and D+ were actually on pins 6 and 7, not pins 3 and 4. GND and VIN are the same, mirrored or not, thats why we didnt see the issue immediately. So, we are assuming that either the usb to m8 programming board is actually mirroring the USB lines or that inside is mirroring somewhat or that the schematic is just wrong.
I would recommend to fix the schematic and perhaps add a note what it can happen. (or just link this forum post, as it seems to be covering all bases)
We tested with the cables from the provided schematic we gave and now it works without any issues whatsoever.
Thanks for all the support! We can close this issue.
Best regards,
Hi @alexandrepires ,
I just double-checked our schematics, and I believe the documentation is correct, see the video below. Could you share some images/videos of the connection now?