I have been trying to access the housekeeping SPI ...
# mpw-2-silicon
y
I have been trying to access the housekeeping SPI without the nucleo Board. I have connected the USB, Set the power jumpers to main and then running
python3 ../util/caravel_hkdebug.py
This also fails to read the flash and gives the following output. It would be a great help if @Dinesh A @Matt Venn you could try out this method and let me know if you are facing the same issue. What might be the error as I am not able to access the Caravel Flash with this method too? Thanks for all the help!
m
image.png
this is without the nucleo board, just the hat
y
Great! Thanks alot for testing this. Have you powered this through a USB hub or direct from ur PC? Also only 2 jumpers have to be changed right. 3v3 and 1v8 to main?
m
through a usb hub, and setting both jumpers to main
👍 1
y
Hey @Matt Venn ive tried 4 different chips, and also tried providing an external 5v supply using the GPIO headers ensuring that there is enough power available. Yet I'm stuck at the same output as earlier. Is there anything else that I should crosscheck?
m
Did you ever get that hkdebug script to work?
Can you check the USB cable had data wires not just power?
y
Nope never got the debug script to work before. And i am using the cable that came with the board. Plus since it is detecting the FTDI it definitely has the data cables.
m
If I take out the ASIC from the hat, then I get the same result as you
so I guess your asic is not mounted correctly, the chip is bad, the asic carrier is in the wrong position or something similar
how many chips have you tried?
y
I have tried around 4 chips, and made sure the orientation is correct. For one chip, I had checked the continuity between the pads of the Caravel carrier and metal pins, and that also seemed to work fine. By any chance are there any specific drivers required for pyftdi to work? And can it be a issue specific to my PC?
m
but it finds the device, right? so pyftdi appears to be working
maybe you have a bad board. I'll check with Jeff to see if he tested them all before sending
y
Ill cross check the connections once with the kicad layout files. And check if there are any hardware issues.