MESAFLASH(1)
π MESAFLASH π
okay bestie, so this is mesaflash β it's the little utility in the General Commands Manual that flashes Mesa Electronics FPGA cards. yes. literally that. she reads, she writes, she configures. she does it all. π
β¨ NAME β¨
MesaFlash β the utility that flashes Mesa Electronics FPGA Cards π¦
πΈ SYNOPSIS πΈ
mesaflash [options] [commands]
π DESCRIPTION π
mesaflash reads, writes, and configures Mesa Electronics FPGA cards. that's the whole vibe. no cap. π
π OPTIONS π
--device nameβ pick which device is the active one, bestie. if you don't hand it a command, it's gonna detect the board with that given name and print info about it. π
the special values "ETHER", "SPI" and "AUTO" will attempt to detect a device on ethernet, SPI, or any interface β but heads up, --addr still needs to be specified for non-PCI devices. not optional. periodt. π
--addr [ip]|[device]β use an ip or a device name to look for<name>(IP address for Ethernet boards, serial device name for USB boards and serial boards, SPI device name for SPI boards). π«Ά--addr_hiβ sets the high register address for the EPP interface. β¨--eppβ use the EPP interface to connect to the board. only for boards with multiple interfaces (7c80,7c81,7i43,7i90,7i64). π₯--usbβ use the USB interface to connect to the board. again, only for boards with multiple interfaces (7c80,7c81,7i43,7i90,7i64). πΈ--spiβ use the SPI interface to connect to the board. you guessed it, only for boards with multiple interfaces (7c80,7c81,7i43,7i90,7i64). β--serialβ use the serial interface to connect to the board. only for boards with multiple interfaces (7i43,7i90,7i64). π--fallbackβ use the fallback area of the FLASH memory while executing commands. π--recoverβ access the board using the PCI bridge GPIO (currently only6I24/6I25). π§--xmlβ formats the output from thereadhmidcommand into XML. iconic. β¨--dbname# nameβ set the daughter board name tonamefor FPGA connectorN. this letsreadhmidinclude daughterboard terminal names, where#can be in the range1to6(1means first FPGA connector). π--verboseβ prints detailed information while running commands. she's chatty, we love her. π¬
π COMMANDS π
--write filenameβ writes a standard bitfilefilenameconfiguration to the userarea of the FLASH memory. IMPORTANT!filenamemust be a VALID FPGA configuration file. don't play with her. π--fix-boot-blockβ if a write operation does not detect a valid boot block, write one. π οΈ--no-auto-verifyβ don't automatically verify after writing. living dangerously, i see you. π--verify filenameβ verifies the FLASH memory configuration against the bitfilefilename. π«Ά--program filenameβ writes a standard bitfilefilenameconfiguration to the FPGA. IMPORTANT!filenamemust be a VALID FPGA configuration file. same energy as--write, different destination, bestie. β--backup-flash filename|dirnameβ backup all content of the FLASH memory to the filefilenameor to the directorydirnamewith auto naming dump file. πΎ--restore-flash filenameβ restore all content of the FLASH memory from a filefilename.
IMPORTANT! can't use a dump file from different types of boards. unacceptable to interrupt the restoring process. if the restoring process was interrupted, do not turn off the board power and do not reload the board, and run the restore process again. required SHA256 checksum file filename.sha256. π
--sha256-checkβ integrity check the FPGA configuration bitfile before writing. required SHA256 checksum filefilename.sha256. π--readhmidβ print hostmot2 configuration in PIN file format. π--print-pdβ print hostmot2 Pin Descriptors. πΈ--reloadβ do a full FPGA reload from FLASH memory (only Ethernet, SPI and PCI boards). π--resetβ do a full firmware reset (only Ethernet and serial boards). π«--sserialβ print full information about all sserial remote boards. π¦--rpo addressβ read hostmot2 variable directly ataddress. π--wpo address valueβ write hostmot2 variable directly ataddresswithvalue. βοΈ--setip="n.n.n.n"β set the board IP address in EEPROM memory ton.n.n.n(only Ethernet boards). π--info filenameβ print info about configuration infilename. βΉοΈ--helpβ print the help message. she's helpful, she's humble, she's everything. π
π BUGS π
no known bugs. she's flawless. not me being obsessed with a perfectly behaved utility fr fr. π
π«Ά AUTHOR π«Ά
- LinuxCNC Developer Community
<emc-developers@lists.sourceforge.net> - Michael Geszkiewicz
<micges@wp.pl> - Peter Wallace
<tech@mesanet.com>
π COPYRIGHT π
GNU GPL v2+ License π
- Copyright (c) 2020 Sebastian Kuzminsky
- Copyright (c) 2019 Peter Wallace
- Copyright (c) 2013-2015 Michael Geszkiewicz
okay that's the whole page, bestie!! this was version 3.4.6, dated November 5 2022, and she lives in the General Commands Manual β go flash something iconic, ily, bye!! πβ¨π
π¦ where this page comes from
- debian bookworm: mesaflash 3.4.6-1 Β· GPL-2.0-or-later
- debian trixie: mesaflash 3.4.9+git20250302-1 Β· GPL-2.0-or-later
- fedora 43: mesaflash 3.4.9-7.20231017gitrelease.3.4.9.fc43 Β· GPL-2.0-or-later
- fedora 44: mesaflash 3.4.9-8.20231017gitrelease.3.4.9.fc44 Β· GPL-2.0-or-later
- ubuntu noble: mesaflash 3.4.6-1 Β· GPL-2.0-or-later
- ubuntu resolute: mesaflash 3.4.9+git20250302-1 Β· GPL-2.0-or-later
- ubuntu stonking: mesaflash 3.4.9+git20250302-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms