Hi all,

We have a shuttler which we want to get up and running. As part of flashing the EFC (EEM FMC Carrier), we'd like to see the logs through the UART port. My understanding is we need a TTL-serial cable from the W3 pins (GND, TX, RX, P3V3) to usb. Would a serial cable at 5V power, but 3V logic still work? Or is there a large risk for damage? We currently have this cable: https://www.adafruit.com/product/70 which we would rewire to match the pins on the EFC.

Thanks!
AJ

Where did you get it from? M-Labs ones should be already flashed.

5 days later

Technosystem

25 days later

We resolved the question of the original post, but have a follow up about the correct syntax for the system description .json file.

The docs page suggests looking in two places for examples on the system description file. But the two destinations give different examples for shuttler. The artiq examples page gives this json entry:

    "target": "kasli",
    "variant": "shuttlerdemo",
    "hw_rev": "v2.0",
    "drtio_role": "master",
    "peripherals": [
        {
            "type": "shuttler",
            "hw_rev": "v1.1",
            "ports": [0]
        },
        {
            "type": "dio",
            "ports": [1],
            "bank_direction_low": "input",
            "bank_direction_high": "output"
        }
    ]
} 

Note that both EEM ports are used.

In contrast, the m-labs sinara-hw repo says to use only 1 EEM port seen here and here.

Which should we follow? We have a v1.1 EFC and v1.2 Shuttler

    ajras

    Shuttler uses only one of the FMC Carrier's two EEM ports, see the datasheet. The ARTIQ example you cite isn't for Shuttler only, it's a complete system description for a system with one Shuttler and one DIO card connected.

    10 days later

    Hello again,

    We've run into another issue.

    We flashed the shuttler (the command artiq_flash --srcbuild -t efc1v1 -d artiq/shuttler ran). But when powering up the whole crate (Kasli-Soc the shuttler is connected to) to test it, we get the following error from the Kasli-Soc UART:
    ERROR(libboard_artiq:drtio_eem): setup/hold timing calibration failed, retry in 1st...
    Sometimes the UART log says the calibration values saved, but then we get the repeated error: ERROR(libboard_artiq:drtio_eem): comma alignment failed, retrying in 1s...

    Is this related to the need for erasing stored calibration values on the EFC and Kasli-soc (see here)? The kasli-soc SD card had no config.txt file when it was booted up, so I'm not sure if this is our error in the first place.