Milkymist

From RTEMSWiki
Revision as of 08:14, 2 August 2011 by Lekernel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Milkymist
Mmone.jpg
Board Namemilkymist
ManufacturerSharism at Work Ltd.
Referencehttp://www.milkymist.org/mmone.html
ArchitectureLM32
CPU ModelMilkymist SoC
Runs on Simulator?Yes. QEMU
RAM128MB DDR SDRAM
Non-volatile Memory32MB NOR flash, memory card
Serial PortsOne 3.3V RS232
VideoVGA up to 140MHz pixel clock
OtherVideo input, DMX512, MIDI, infrared, USB, audio


Contents

Overview

Features:

  • Multi-standard video input (PAL/SECAM/NTSC)
  • Two DMX512 (RS485) ports
  • MIDI IN and MIDI OUT ports
  • VGA output, 24bpp, up to 140MHz pixel clock (> 1024x768)
  • AC'97 audio
  • XC6SLX45 Spartan-6 FPGA supporting the open source Milkymist SoC
  • 128MB 32-bit DDR400 SDRAM
  • 32MB parallel flash
  • 10/100 Ethernet
  • Memory card
  • Two USB host connectors
  • RC5-compatible infrared receiver
  • RS232 debug port

Board Setup

Connect the device to your local network for download of the binaries over Ethernet. You may also want to open the case and connect a 3.3V serial cable (such as the JTAG/Serial adapter from the manufacturer) to use the console. Press the middle pushbutton to start.

Downloading and Executing

On the board

  • Convert the ELF executable to raw binary with rtems*-lm32-objcopy -Obinary file.elf file.bin
  • Boot it from the Milkymist BIOS, for example using TFTP netboot by pressing F8 during the Milkymist One startup. It will attempt to download "boot.bin" from the host 192.168.0.14 using IP address 192.168.0.42.

See also the BIOS reference at the project's wiki.

In QEMU

Support is upstream QEMU 0.15+.

Typical command line:

qemu-system-lm32 -M milkymist -serial stdio -kernel file.elf

See also the page at the project's wiki.

Debugging

In-system debugging with GDB is supported over the serial port.

flterm --port /dev/ttyUSB0 --gdb-passthrough
set remote interrupt-on-connect on
target remote <pseudo terminal printed by flterm>
lm32-rtems*-gdb file.elf

See also the page at the project's wiki.

Test Reports

References

Personal tools
Namespaces

Variants
Actions
Navigation
Gedare's Special Help
Toolbox