Wednesday, February 3, 2021

Z80-MBC2 and the uTerm

One of the funnest projects that I've built has been the Z80-MBC2 and the uTerm projects by Fabio Defabis; what's more he just keeps churning out the Open Source goodness.

You can read more able the projects with the numerous links below:

https://www.facebook.com/groups/Z80MBC2

https://hackaday.io/project/159973-z80-mbc2-a-4-ics-homebrew-z80-computer

https://hackaday.io/project/165325-uterm

https://github.com/SuperFabius 

I'm really happy with my z80 CP/M board and after a REALLY long time I've finished my uTerm.


Why so long to finish the uTerm . . . well I am glad you asked!

 

After completing the uTerm it was time to program the STM chip and oh boy it went super pear shaped.  I looked for doco on how to do it and I just missed everything.  I plugged it in the wrong way connected power and POP . . . it was dead.  What follows is a HOW not to blow up your uTerm blog entry.

Read the Hackaday page : https://hackaday.io/project/165325-uterm/details

Scroll down to : HOW TO FLASH THE STM32 WITH THE ST-LINK V2

Read my Blog so you don't make mistakes!

  1.  The FIRST thing you should solder to the board is the STM chip
  2. The SECOND thing you should do it to solder on the 4 pin header for J6

        NOW STOP!!  It is time to program it.

You'll likely notice that there isn't much room around the chip once you put all of the through hole components in.  If you fully populate it, it's going to be a pain to get the broken chip out and put a new one in.  The second reason is that the STM chips have been really hard to get hold of.  I had to wait 3 months just to get mine on back order. 

  • The next thing to do is to PLUG the programmer into the board correctly. Make sure you have NOT plugged it into your computer.  Leave it disconnected until it is connected to the board like so.
  • The order of the pins of J6 on the uTerm board is as follows :

                PIN 1 : VCC 3.3v - ** make sure it is 3.3v ** 

                PIN 2 : SWDIO

                PIN 3 : SWCLK

                PIN 4 : GROUND 

  •  Check you programmer as pinouts are all different.  Mine has the pinout printed on the side.


  • With 4.6 version of the STM32 ST-LINK Utility you will need the following settings.

And you are done, now I have a green blinky cursor.

The complete uTerm.





No comments:

Post a Comment