CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

johnny5alive
Posts: 4
Joined: Wed Jun 20, 2018 10:06 pm

CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by johnny5alive » Wed Aug 15, 2018 3:01 pm

Hi All,

I have finally assembled my Circuit Sword CM3 after the box sitting on my project shelf for a few months!

After passing the electric sanity check per the wiki, I inserted the CM3 with the most recent release flashed on an SD.

Version info:
CS V1.2A 20180228
RPi CM3 2015 Version 1.0
Circuit Sword Firmware release 1.2.0 - https://github.com/kiteretro/Circuit-Sw ... tag/v1.2.0

The Pi boots, resizes, and boots into Retropie/EmulationStation and says "No Gamepad Detected".
I double checked my connections and made sure there was nothing shorting the case, but can't find a similar issue in the forums from someone else.

All power rails are lit and the USBHUB led are lit when the Pi is on, as well as status lights.
I booted the Pi in Tester Mode and received the messages:
[USB HUB FAIL] and [JOYSTICK FAIL].

According to the wiki, this CS version shouldn't require anything besides the SD image and USB-C power, right?
I have attached images of the back of my board while Tester Mode is running and the error on screen I can see.

Do I need to flash the Arduino chip or should that be already loaded with the latest firmware? I have not tried previous releases of CS CM3 firmware yet, but am planning to do that next.

UPDATE: I have tested the board with firmware 1.1.1 and have the same issue.

2nd UPDATE: I attached a keyboard and was able to successfully join my wifi network to proceed with Arduino flashing instructions listed here: https://github.com/kiteretro/Circuit-Sw ... spberry-pi
The flash-arduino.sh script fails with the following error seen in the image below.

3rd UPDATE: Using my laptop to connect to the board after setting the PROG-EN and HUB-PASSTHRU switches, my device manager does not detect the Arduino. I have tested any visible voltage test points on the board and everything seems to be getting the proper voltage. I have put on some magnifying lenses to look for any solder bridges but have not found any. There is an empty SMD pad near LJMP and RJMP that looks like it has been desoldered. Am I missing a component?
IMG_2749.JPG
IMG_2749.JPG (2.62 MiB) Viewed 5568 times
IMG_2748.JPG
IMG_2748.JPG (2.81 MiB) Viewed 5568 times
IMG_2752.JPG
IMG_2752.JPG (1.85 MiB) Viewed 5541 times

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by kite » Tue Aug 28, 2018 6:43 am

Hi, did it arrive like this? Had you tried to update the arduino and then it did this? It looks as if the arduino has been wiped and isn't running any code!

If you plug in in a keyboard and press F4 to get to console (or ssh instead) and run (this is case sensitive):

Code: Select all

ls /dev/ttyA*
what does it show?

Do you have a USB hub lying around? I have found that sometimes I have to connect the CSO via the usb hub in order to get my USB3 pc to detect it! Also try flipping the USB C cable that fits into the CSO.. any luck?

PS the 'USB HUB FAIL' is actually a bug, your USB hub is working fine on the CSO :)
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

johnny5alive
Posts: 4
Joined: Wed Jun 20, 2018 10:06 pm

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by johnny5alive » Thu Aug 30, 2018 7:24 am

kite wrote:
Tue Aug 28, 2018 6:43 am
Hi, did it arrive like this? Had you tried to update the arduino and then it did this? It looks as if the arduino has been wiped and isn't running any code!
Hi Kite, thank you for your support! It did arrive like this, and I wondered about the Arduino not running any code... I looked with a microscope around the board and Arduino chip but did not see any solder bridges that might be causing this issue. It just seems like the Arduino chip is blank and does not contain a bootloader, so I am unable to upload the firmware via the Arduino PC app or RasPi.
kite wrote:
Tue Aug 28, 2018 6:43 am
If you plug in in a keyboard and press F4 to get to console (or ssh instead) and run (this is case sensitive):

Code: Select all

ls /dev/ttyA*
what does it show?
It looks like it says

Code: Select all

ls /dev/ttyAMAO
, but it is hard to read a couple of the characters on the small LCD. I can try to SSH into the Pi if this is not helpful or incorrect. I've attached a photo here:
IMG_2769.JPG
IMG_2769.JPG (2.27 MiB) Viewed 5467 times
kite wrote:
Tue Aug 28, 2018 6:43 am
Do you have a USB hub lying around? I have found that sometimes I have to connect the CSO via the usb hub in order to get my USB3 pc to detect it! Also try flipping the USB C cable that fits into the CSO.. any luck?
I did try it on a few different hubs and USB ports just in case that was the issue, but I have the same result on each of them. Flipping the USB C cable didn't help either, unfortunately.

Your wiki suggests that a USBISP can be used to restore a bricked chip- I have an Atmel ICE programmer that may be able to be used but it looks like the ICSP mini header by the Arduino chip is either not drilled or filled with solder. It seems like trying to reflash the Arduino by this method could be my last option. Would it be possible to send this board back and exchange it for a new one?

Thank you!

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by kite » Fri Aug 31, 2018 6:47 am

Ok cool, yeah that is really strange i'm not sure how that managed to get through my testing procedure!! Perhaps it slipped into the wrong pile or something.. either way, I'll replace for free. Could you send me an email, and include your address and the details and I'll send you the replacement right away, and then in your own time you can return that one (just the board only). I'll give you the return address in my email reply :)

And yeah the ISP header I have put on there is a very tiny one to save space, not practical to use though unless you have my little 1.25mm spaced pogo adapter! Might change this in future to be the standard one if i can find some board space ;)

Just want to say sorry for the problems and hassle, I'll try and do better to prevent this happening ever again!
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

johnny5alive
Posts: 4
Joined: Wed Jun 20, 2018 10:06 pm

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by johnny5alive » Fri Aug 31, 2018 9:58 pm

kite wrote:
Fri Aug 31, 2018 6:47 am
Could you send me an email, and include your address and the details and I'll send you the replacement right away, and then in your own time you can return that one (just the board only). I'll give you the return address in my email reply :)

And yeah the ISP header I have put on there is a very tiny one to save space, not practical to use though unless you have my little 1.25mm spaced pogo adapter! Might change this in future to be the standard one if i can find some board space ;)
Thank you for your help! I thought that might be a mini pogo pin for the ISP header, maybe I need to make one of those... I just sent an email with my shipping information and will happily send the board back so you can check it out and hopefully flash it so that is not a wasted board. Thank you again!

type11error
Posts: 3
Joined: Tue Jun 19, 2018 11:57 am

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by type11error » Thu Oct 11, 2018 11:09 pm

hi kite, i seem to have a similar problem, it says no controller when the pi boots up in retropi and when in the console I only have /dev/ttyAMA0. Is there any fix that you've found?

Thanks

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by kite » Fri Oct 12, 2018 4:19 am

Had you just received the board? Does the little LED on the bottom of the board light up when powered on (it's like under the row of power LEDs, maybe take a picture of the board with it on and I can see)
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

type11error
Posts: 3
Joined: Tue Jun 19, 2018 11:57 am

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by type11error » Sun Oct 14, 2018 9:55 pm

Not sure which row but here is a pic
Attachments
1FE2F340-08EB-4497-916D-A7CE34A55E8D.jpeg
1FE2F340-08EB-4497-916D-A7CE34A55E8D.jpeg (3.98 MiB) Viewed 5278 times

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by kite » Mon Oct 15, 2018 6:18 am

Ok, you see the little yellow LED between the CM3 and the speaker? It's like next to/between the two white connectors in that area? Could you describe it's pattern? For example is it "kinda dim and randomly every 4 - 5 secs or so it flashes brighter" or is it "kinda flashes between dim and bright every second or more" ?

I assume when you run the arduino update script it fails?
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: CS CM3: USB Hub Fail, Joystick Fail- Arduino not detected with passthru

Post by kite » Mon Oct 15, 2018 6:22 am

PS, could you check that on the conductive button pads on the PCB itself, that there isn't solder shorting the START button?
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest