sinara-hw / sinara

Sayma AMC/RTM issue tracker
Other
42 stars 7 forks source link

Sayma_AMC documentation #133

Closed jbqubit closed 5 years ago

jbqubit commented 7 years ago

@filipswit is leading effort to write formal documentation of Sinara. When will the documentation effort start? For inspiration see documentation for AFC.

jbqubit commented 6 years ago

@filipswit Please update so we can get this Issue closed and get WUT paid. A student from Duke University will be visiting UMD this weekend who is a Sayma user. I will ask him to read your documentation so you can get feedback from a user with fresh eyes.

filipswit commented 6 years ago

I think by tomorrow evening will be able to put newer version on repo.

jbqubit commented 6 years ago

Splendid. Please aim for RTM too and I'll give them a read together.

filipswit commented 6 years ago

I have already pushed on repo Sayma AMC, from some reason i couldn't commit it via git so I pushed it via files upload - It is with default message;/

SaymaAMC.pdf

jbqubit commented 6 years ago

Thank you! Will review this weekend.

jbqubit commented 6 years ago

@filipswit @gkasprow The documentation for MMC is broken.

The source code is written in C and can be found on github. Source code: https://github.com/m-labs/sinara/tree/master/SAYMA_firmware. pre-compiled binary: https://github.com/m-labs/mmc-firmware/releases OpenMMC Project:https://github.com/lnls-dig/openMMC

There are three different repositories referenced. Which one is right? There's no pre-compiled binary at the specified location. Please let me know which to use since I'd like to update the MMC firmware on my board.

jbqubit commented 6 years ago

More on MMC flashing...

Also not mentioned is how the serial ports are used by Sayma.

/dev/ttyUSB0 JTAG
/dev/ttyUSB1 :: usually the MiSoC console 
/dev/ttyUSB2 
/dev/ttyUSB3 :: MMC console  115200, 8, n, 1 
jbqubit commented 6 years ago

Empirically, programming using FlashMagic requires baud rate of 57600 and selection of Interface "None (ISP)". Communicating with MMC serial port requires baud rate of 115200.