Difference between revisions of "Z80-MBC2 Build Notes"

From Land Boards Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
== Build Notes ==
 
== Build Notes ==
  
 +
* All through hole construction
 
* Build took less than 2 hours
 
* Build took less than 2 hours
 
* Used mostly junk box parts
 
* Used mostly junk box parts
 +
** 20 MHz Z80
 
* Purchased alternate SRAM
 
* Purchased alternate SRAM
 
** [https://www.mouser.com/ProductDetail/913-AS6C1008-55PIN AS6C1008-55PIN]
 
** [https://www.mouser.com/ProductDetail/913-AS6C1008-55PIN AS6C1008-55PIN]
 
* Forgot to buy SIP resistors
 
* Forgot to buy SIP resistors
 
** Made my own
 
** Made my own
** Pin 1 (boxed on SS is common
+
** Pin 1 (boxed on SS is the common
** Used 1/8W resistors vertical
+
** Used 1/8W resistors vertically mounted
 
* Ref des are not top-bottom or left-right
 
* Ref des are not top-bottom or left-right
 
** PDF Assembly drawing text is not searchable
 
** PDF Assembly drawing text is not searchable

Revision as of 18:31, 23 July 2021

Z80-MBC2 P586-720PX.jpg

Sourced PCB

  • ebay - bare PCB $8
    • Arrived in a couple of days

Reference Docs

Build Notes

  • All through hole construction
  • Build took less than 2 hours
  • Used mostly junk box parts
    • 20 MHz Z80
  • Purchased alternate SRAM
  • Forgot to buy SIP resistors
    • Made my own
    • Pin 1 (boxed on SS is the common
    • Used 1/8W resistors vertically mounted
  • Ref des are not top-bottom or left-right
    • PDF Assembly drawing text is not searchable
    • Struggled to find some of the resistors
  • KiCad Gerbers
  • 5mm LEDs fit into 3mm hole spacing
    • I didn't have a 3mm Blue so I used 5mm

Programming THE ATMEGA32

  • Was able to use ATProgHead running Arduino as ISP to burn bootloader but not program the code
  • Could not use any of my FTDI cards for serial programming since they have RTS/CTS but not DTR
    • Most programmer setups in Arduino work just fine with RTS since both are usually pulled, but not the MightyCore
    • This is speculation as to why but I am able to program SCREWDUINO cards just fine
  • Used TL866ii to program ATMEGA32 fuses
    • The Fuse bits should be: High Byte 0xD6, Low Byte 0xAF, Lock Byte 0xCF.
    • Reference: Setting AVR Fuse Bits
    • If you use the programmer defaults it sets the clock to 1 MHz which gives a serial port rate of 600 baud (told me I needed to fix the fuses).

Z80-MBC2-TL866II.PNG

  • Found path in dump in Arduino IDE:
Arduino: 1.8.13 (Windows 10), Board: "ATmega32, Yes (UART0), EEPROM retained, Standard pinout, BOD 2.7V, LTO disabled, External 16 MHz"
Sketch uses 28642 bytes (88%) of program storage space. Maximum is 32256 bytes.
Global variables use 1213 bytes (59%) of dynamic memory, leaving 835 bytes for local variables. Maximum is 2048 bytes.
C:\Users\HPz420\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino18/bin/avrdude -CC:\Users\HPz420\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.1.3/avrdude.conf -v -patmega32 -carduino -PCOM23 -b115200 -D -Uflash:w:C:\Users\HPz420\AppData\Local\Temp\arduino_build_883457/S220618_IOS-LITE-Z80-MBC2.ino.hex:i 

Other

  • Serial port marking correlated to the FTDI card end not referenced from card internal