Low cost 8031 microcontroller development board PART-2

F. FIRMWARE

 

 

        8 kB ROM for the first moving will contain with monitor program, where this monitor program I take from Paul Stoffregen (using assembly) after modified to fit with 8031 type. The next experiment, this will contain with BASIC interpreter. So the user program can use BASIC language, more easy to learn. Of course the ROM can be make 2 pcs, so the firmware can be changed easily. One using assembly and the other using BASIC language. It is your choice. EPROM can be programmed using commercial EPROM programmer or another diy programmer like my 2764-programmer or my universal eprommer. We also can use EEPROM device like 2864 type to experiment with. EEPROM can be programmed using  Willeprom ver 3.1s like mine.

        Here are the firmware programs :
  1. Modified from Paul design (PaulMon) 

  2. BASIC Interpreter with 8031 basic system (Basic31 V1.2a) 

  3. BASIC Interpreter with 8052 basic system (Basic52 V1.1)
These are the displays for paulmon monitor program on hyper terminal : 

















     Remember that, paulmon monitor program has autobaudrate detect, so when connected the development board to PC and after run hyper termninal, push the key once until the welcome message appear on the screen. Hyper terminal set to 9600 bps connection.
        Doing more experiment to another monitoring program, you can try these sample :
  1. Minimum Monitor (MinMon) from the book written by Sencer Yeralan 

  2. Mon51 from the book writen by Scott MacKenzie 

        After I searh the net at several old sites (link could be followed below), I got a few resources about 8051 microcontroller. Very much monitor program could be used was made by another people, and all of it is free. Here a few of them (but still in original version, not implemented to my circuit) some simple while others more complex :
  1. Steve 8051 Bootloader Ver 3.0 

  2. Goodhue (dari Signetics Co.) Bootstrap 8051 

  3. Scott Mon51 Ver 12 from the author 

  4. Steve Kemplin MonPlus 8031 Ver 3.1 

  5. Ibrahim AVCI MonXXX 8XC52 

  6. Rigel Corp. rMinMon 8051 from the author 

  7. Ron Stubbers RTC31 Monitor 8051

  8. UltraMon 8051 

  9. Debug51 Monitor Debugger
        If I could have enough time, I will do experiment with those programs monitor later.
        Here are the displays on hyper terminal :













G. PROTOTYPE

 

        As told above , my prototype size about 8cm x 15 cm and work nicely. To test the board works or not, you can use the sample program like this that showing the big text to monitor display.

Fig 1. Development Board 8031-ah














Beside using 8031 microcontroller, I also tried another types like : 8051(note : pin-31 tied to ground, so the internal ROM not used), 8952 (note : this type has flash ROM/PEROM), monitor program can be written or erased many times, EPROM not used). All could work successfully. Besides that, we could use flash ROM/EEROM like the type 2864 (8 kBytes), which could written or erased many time also, so we did not bother by reprogramming the EPROM.
Here is the complete design.
        Between the three board that I design, there is a little difference for the I/O terminals. The difference between each boards I/O could be seen here.

H. ADD-ON CARDS

        As the time goes by, I made one by one the expansion board (module) for any project as I needed it. Here are the collections of the add-on cards, and I will update it as I make the new one :

I. APPLICATION

        First application that I have built was running the 24 leds from PPI-8255 port. This program also can be used for testing the PPI-8255 port as that is already works properly or not. Here are the applications for this running leds project.





    Experiment later with this board :

No comments:

Post a Comment

Followers