wiki:TBR/BSP/Mrm332

Mrm332

{{Infobox BSP |BSP_name = Mini RoboMind? |Manufacturer = RoboMinds? |Architecture = m68k |image = Mrm1p2.jpg |Board_URL = http://www.robominds.com/minirobomind.htm |CPU_model = MC68332 |RAM = 512K |NVMEM = 512K Flash |Serial = one, RS-232 |Video = N/A }}

Overview

The Mini RoboMind? is a compact robot control board the provides the powerful processing power that is ideal for building advanced robots. It is specifically designed for amateur robotics with easy to use interfaces and the processing power to develop advanced algorithms.

It is easily programmed using assembly, SBasic, or C/C++. The compact size fits with in the mini sumo specifications and the TPU provides boundless interface opportunities for I/O intensive applications such as autonomous walking robots and firefighters. The Mini RoboMind? is easily interfaced to sensors such as flame detectors, line detectors, microphones, IR, vector 2x compass, SPI devices, encoders, gyros, accelerometers, cameras , and many more. It would also make a great platform to experiment with multiple agents interacting in a common environment.

Board Setup

The Mini RoboMind? should be ready to go when you receive it. However, you will need an RS-232 serial cable to connect it to your computer. If you have a programming cable for the 68HC11 or 68HC12, it’ll work fine.

Downloading and Executing

To load the C/C++ compiler on your computer:

  1. Drag the “xgcc” folder from the CD-ROM to your C: drive’s root directory.
  2. Open a DOS prompt and enter the command: attrib -r \xgcc\*.* /s
  3. Add the following lines to your C:\AUTOEXEC.BAT file:

set djgpp=c:\djgpp\djgpp.env set path=%path%;c:\xgcc\bin set path=%path%;c:\xgcc set path=%path%;c:\xgcc\68k\2_8_1

  1. Run the AUTOEXEC.BAT file (or reboot).

Debugging

To compile a C/C++ program: After the compiler is setup, copy the following files to a folder where your program will reside: RM_CRT0.O rm_rom.ld stddef.h Edit your program however you like and save it with the customary .h, .c or .cpp extensions. To compile your program, type cc filename.c from the DOS prompt. To link your program, type ll destname source1.o source2.o source3.o and so forth. Two files will be created; destname.txt and destname.s19. Both are identical, download either one to the board.

Test Reports

{{Test Report |Version = CVS head |Date = 24 March 2011 |User = User:Richard Campbell? |Report = Successfully ran ticker; File I/O prints * NOT ENOUGH MEMORY TO BUILD AND RUN * on the console. }}

Last modified on Mar 25, 2011 at 9:55:12 PM Last modified on Mar 25, 2011, 9:55:12 PM