-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MMC serial terminal on Linux #542
Comments
Are U sure that the MMC did not enter the bootloader mode ? |
You can solder tiny SMT DIP switch. I will add such one in rev2. |
Is that necessary? Can't the firmware be made more robust? Cant we do something like use a magic string sent over the uart to restart into boot loader so the uart works by default? It would also be great if firmware was done using a simple python program rather than flash magic. |
This bootloader is carved in stone and cannot be changed. |
@gkasprow I don't mind too much how we do this, but I think it is important to have flashing robust and automated. I.e.not relying on users to toggle dip switches. Id also like a simple command line script I can run to do this like the artiq_flash script, which works on both windows and Linux. |
This can be done with Open MMC bootloader developed by LNLS. We can add the switch as temporary / emergency solution and implement automated approach. |
@gkasprow Have you tried the Open MMC bootloader developed by LNLS? |
This has to do with the status of the serial port control lines. It is possible to make it work under Linux without touching the hardware: in another issue, I posted a hacky C program that resets the control lines and makes the Sayma not enter the bootloader. It is possible to integrate it into a serial port terminal program, which would make using the MMC console relatively seamless.
Sure. You can also use OpenOCD and a JTAG cable, though they are not very reliable IME. |
|
The fourth serial interface exposed by Sayma over USB is MMC Console. How to use it is discussed here and here. The MMC terminal works in FlashMagic and Terminalbpp, both on Windows. But I can't get this to work under linux.
Here's what I'm doing.
minicom -D /dev/ttyUSB4
)What I observe: nothing in minicom.
The text was updated successfully, but these errors were encountered: