The Mizar32 is a 32-bit computer based on the AVR32 processor. It is clocked at 66MHz and has 32MB of main memory. It supports mass storage on SD card, a USB connector, an on-board LED, two buttons, a JTAG port and six bus connectors.
The bus connectors let you add other stackable hardware modules such as serial ports, ethernet, a 16x2 character LCD display and a VGA/keyboard/mouse/audio board based on the 8-core Parallax Propeller processor.
The Mizar32 is designed by SimpleMachines, Italy.
This board support package aims at adding RT-Thread support for the following Mizar32 development boards.
Model | Flash | SRAM | SDRAM |
---|---|---|---|
Mizar32-A | 512KB | 64KB | 32MB |
Mizar32-B | 256KB | 64KB | 32MB |
Mizar32-C | 128KB | 64KB | 32MB |
This README is essentially a work-in-progress. I will try to further and documentation as and when I further the device driver base for the Mizar32 target.
If you feel like reaching out to me for questions pertaining to the target development board, you can write to me: ramangopalan AT gmail dot com.
This BSP is built with the AVR32 GCC that comes with the Microchip Studio. I am using the Microchip Studio version 7.0.2594. Make sure that avr32-gcc.exe is visible on your command line. Add the binary directory to you PATH.
I use Git Bash (Windows) for compiling the RT-Thread system. Once you set your path correctly, invoke Git Bash to query avr32-gcc.exe's version. The output should look similar to this:
$ avr32-gcc.exe --version
avr32-gcc.exe (AVR_32_bit_GNU_Toolchain_3.4.2_435) 4.4.7
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you see this, you're all set to compile RT-Thread for Mizar32.
$ cd bsp/avr32uc3a0/
scons -c
scons
If everything went well, scons should have generated an elf file: rtthread-uc3a0256.elf. Let us program the file. The program 'atprogram' comes with Microchip Studio. I didn't have to do much here. Just make sure `atprogram.exe' is in your PATH.
atprogram -t atmelice -i jtag -d at32uc3a0256 program -f rtthread-uc3a0256.elf
Note that you should already see the on-board LED (PB29) blink if your programming was successful. I use the Atmel ICE programmer. To access msh with the default menuconfig's configuration, you'll need the VGA shield. Connect the target board to a 12 VDC wall adapter. Also connect the shield to a VGA monitor and a PS/2 keyboard.
The output information on serial port for `ps' the command should look like this:
0x000003c0 tidle0 31 ready 0x00000054 0x00000100 67% 0x00000009 OK
0x00001650 tshell 20 running 0x000000b4 0x00001000 13% 0x0000000a OK
0x00001350 led1 5 suspend 0x0000007c 0x00000400 12% 0x00000005 EINTRPT
Here is a picture of the RT-Thread session on the VGA monitor:
Drive | Support | Remark |
---|---|---|
UART | Support | UART0/1 |
GPIO | Support | - |
I2C | - | - |
RTC | - | - |
SPI | - | - |
TIMER | - | - |
WDT | - | - |