OpCUBE project.

Real world programming things.
Last modified May 22th, 2024
[ Announcement ]

Welcome to next phase of OpCUBE Project.

Point to next generation of Programmable material concept and applications..

named "Physical Computing".

Since the first times, 2003 Summer, I'd published MIDE-51 software package on web with ASEM-51 Assemmbler tools for MCS-51 beginner , and support SDCC - C language compiler on year later..

MCS-51 is good MCU to learn and use, easy to getting start to build your own system on past years time. But now, we have many microcontroller available on market. New generation MCU had much more advantage features than old MCS-51 , e.g. Microchip's PIC / dsPIC, Atmel AVR / AVR32 thru ARM base MCU.

Good developer need to learn and made comparison each others MCU, on the advantage/disadvantage feature need on new design, or old project improvement..

Amoung of them,Atmel's AVR is most interesting chip, with modern 8-bit RISC MCU and rich I/O performance in less $ price. With tons of document available on web since simple D.I.Y. hardware project to complex system design. Also several software support since commercial tools for best code optimization or open-source AVR-GCC also work great with no cost..

AVR becomes the value choice for implement "Physical Computing" idea.
The proposal of "physical Computing " is made for interaction of hardware control "the real world" with easy softeware programming.

That's why AVR section added here.. and others MCU may be posted on next the proper time..

Have fun...

Worapoht K. , Bangkok - Thailand on 22nd Oct 2009
OpCUBE Moderator
if any comment or suggestion, mail me:
wrp [at] opcube [dot] com

[ OpCUBE : The Action! ]

we had abandon AVRIDE project(domain had been sold!)



Wiring Board Bootloader V.2 source
    Base on Jason P. Kyle 's stk500boot.c bootloader
    I'd modified to Wiring board (AVR ATMega128)
    V1 support UISP and AVRDUDE
    V2 support AVRDUDE and also STK500 plugin on AVR Studio

Relate link

Arduino Project http://www.arduino.cc
AVR and AVR Studio , Atmel Corporation
AVR Plugin for Eclipse , on AVR Plugin for Eclipse project
AVR LibC , C library addon GCC compileron Nongnu.org AVR LibC page
Eclipse CDT (C/C++ Developement Tool) , Current version 3.4 (Ganymede)
ImageCraft , C.W. & ImageCraft Creations Inc.
MikroElektronika compiler , MikroElektronika
WinAVR , on SourceForge project
Wiring Project http://www.wiring.org.co
[ Software development Section ]
[ Software tools for MCS-51 ]

For all WIN32 Platform
Assembler and C Language (single file sytle)

MIDE-51 Studio: IDE for MCS-51
Release 0.2.6.0
Just refreshing, BUGs fixed , evaluate Dark theme editor
(see changed log here..)

Only editor
(New version 0.2.6.0,
on Dark theme editor)
Download 0.2.6.0 MIDE51.EXE
.ZIP file format size: 476KB.

(Old 0.2.5.18)
Download 0.2.5.18 MIDE51.EXE
.ZIP file format size: 647KB.

Self-Executable file setup. Packed with
  • New! ASEM-51 V1.3 MCU file Sep 23, 2008
  • SDCC 2.9.4 (snapshot and document 091021)
  • Simulator : TS Control Emulator 8051 v1.0 (evaluation 2KB simulator limited)
  • another simulator: JSIM-51 v4.05


  • Download 0.2.6.0 packed file size: 10,161 KB.

    Download 0.2.5.18 packed file size: 4,021 KB.
    (you can install 0.2.5.18 packed first ,
    then download MIDE51.EXE 0.2.6.0 above and overwrite if needed..)

    Reference toolchain
    Assembler ASEM-51 by W.W.Heinz

    C compiler SDCC : Small Device C Compiler

    Simulator : TS Controls 8051 Emulator v1.0 evaluation (Owner : http://www.tscontrols.com was gone)

    Simulator : JSIM-51 Simulator v4.05 by Jens Altmann

    Feature on MIDE-51
  • Syntax highlighter on ASEM-51 reserved word & addition register on selected device (devices listed on ASEM51/MCU folder)

  • Syntax highlighter on SDCC reserved word & MCS-51 standard register

  • Support multi document workspace

  • Support standard editor feature and shortcut key such as Cut , Copy, Paste, Find, Replace and Windows tile & cascade

  • Editor font style and size selectable

  • Save recent file(s) opened in list

  • Shortcut to ASEM-51 html manual

  • Shortcut to SDCC html & PDF manual (search file on SDCC/DOC)

  • Report assembler & compiler message

  • Support drag and drop file from explorer.

  • Automatic save last windows position.

  • Support wheel mouse

  • Bookmark code position upto 10

  • Show/Hide line number on editor




  • For all Platform
    Eclipse with SDCC (Multiple sources project style solution)

    Need software in list

    Win32 Get all others software and unpack/install to your harddrive
  • Install Java runtime first
  • Unpack Eclipse to harddrive i.e. C:\Eclipse and made Shortcut on desktop
  • Unpack EclipseSDCC on Eclipse folder (both feature and plugin)
  • Finally, Setup SDCC Package with installer (for automatic PATH setting)


  • Linux Ubuntu : get Synaptic update first (root privilege need)
    search "sdcc" package match to your Ubuntu at http://packages.ubuntu.com/
  • sun-java6-jre
  • sdcc
  • sdcc-libraries
  • sdcc-doc
  • and others package may needed by sdcc binary


  • Online update on console
  • sudo apt-get install sun-java6-jre
  • sudo apt-get install sdcc
  • sudo apt-get install sdcc-libraries
  • sudo apt-get install sdcc-doc


  • after install, get most updated package (Snapshot) on http://sdcc.sourceforgt.net and overwrite previous install.

    Snapshot (click for larger size)



    Creative Commons License Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.