MESAFLASH(1)

πŸ“¦
version 3.4.9+git20250302 Β· 2 versions
  • 3.4.9+git20250302 Β· debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 3.4.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 only 6I24/6I25). 🧚
  • --xml β€” formats the output from the readhmid command into XML. iconic. ✨
  • --dbname# name β€” set the daughter board name to name for FPGA connector N. this lets readhmid include daughterboard terminal names, where # can be in the range 1 to 6 (1 means first FPGA connector). πŸŽ€
  • --verbose β€” prints detailed information while running commands. she's chatty, we love her. πŸ’¬

🌈 COMMANDS 🌈

  • --write filename β€” writes a standard bitfile filename configuration to the userarea of the FLASH memory. IMPORTANT! filename must 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 bitfile filename. 🫢
  • --program filename β€” writes a standard bitfile filename configuration to the FPGA. IMPORTANT! filename must 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 file filename or to the directory dirname with auto naming dump file. πŸ’Ύ
  • --restore-flash filename β€” restore all content of the FLASH memory from a file filename.
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 file filename.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 at address. πŸ‘€
  • --wpo address value β€” write hostmot2 variable directly at address with value. ✍️
  • --setip="n.n.n.n" β€” set the board IP address in EEPROM memory to n.n.n.n (only Ethernet boards). 🌐
  • --info filename β€” print info about configuration in filename. ℹ️
  • --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>

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!! πŸŽ€βœ¨πŸ’–