= HF8V = / = SP8WJT = / = SP0106RZ =


HF-6050


PROJECT: HF-6050
DESCRIPTION: Digital System based on ATMEGA128
STATUS: u
PROJECT START DATE: 2020
DOCUMENTATION: TM, 20 pages
DIMENSIONS: 50 x 45 mm
UC-###: UC-136 -> UC-245 -> UC-246
uC FAMILY: AVR
THN ADDRESS: 0x92
TYPE: 0x1F
HARDWARE VERSION: 2.5
SOFTWARE VERSION: 1.18


Modules:
PROJECTDESCRIPTIONPCBSTATUSREMARKS
HF-12224uC module ATMEGA64 (version 1)TPD42651fUC-136
HF-12224uC module ATMEGA128 (version 2)TPD42651u fUC-245
HF-12224uC module ATMEGA128 (version > 2.4)TPD42651uUC-246
HF-70250Programming connectorTPD11301ubecause of design error special connector must be used for HF-10060 standard
HF-17763Keyboard 4x4TPD57763uoptional
HF-17966Keyboard 4x4TPD57966uoptional
HF-4036Input-output deviceTPD52911uoptional

Project Info

HF-6050 is simple single board computer (but I still call it Digital System). It is de facto the same as HF-12224 Microprocessor Module but HF-6050 designator defines system as a whole with additional equipment, software, etc... The were many "adventures" with this system, you can belive or not but ATMEGA64 which was first choosen to this project is type 0x13 in my UC database. I never thought that hexadecimal numbers can be unlucky! :)) Initially ATMEGA64 (UC-136) was soldered for TPD42651 but for some reasons something goes wrong and uC was destroyed, supply rail has short-circuit to ground (near 0 ohm) ... Sometimes happens. I could not establish reason but probably I connected reversed power supply. I exchanged it with ATMEGA128 (UC-245) which is the same LQPF64 case but 128K flash instead of 64K. And again I made the same error and burned another ATMEGA128!
Thus currently another ATMEGA128 (UC-246) is installed. To protect HF-6050 from reversed power supply polarity I added TVS diode BZW06-145, in reversed polarity. This is powerfull 300 A peak current diode. There is no particular reason to use that model which is 145 volt version, but I have some 150 pcs of it and in reversed polarity it works perfectly (at least for small power supplies, where overcurrent protection works well, otherwise it can develope problems with overheating)...

This system has the following features:
  • Flash memory 128 KB (DRIVE0, system only)
  • RAM memory 4 KB
  • Internal EEPROM memory 4 KB (DRIVE1, 15 user files, 1 system segment)
  • External EEPROM memory 25CSM04, 512 KB (DRIVE2, 2040 user files, 8 system segments)
  • Clock 16 MHz (can be overclocked to 20-24 MHz)
  • Power supply: 3.3V or 5V
  • 53 I/O pins available as external ports
  • 4 I/O pins for onboard devices
  • Programming interface which is not compatible (because of design error) with HF-10060 standard, so special connector HF-70250 must be used
  • Reset button
  • Protection against reversed supply polarity
  • External XTAL option


  • System Drives:

    DRIVE# DESCRIPTION TYPE SIZE FILE FORMAT SYSTEM SEGS USER SEGS REMARKS
    DRV0 ATMEGA128 FLASH fixed 128KB none 512 0 system drive, read only
    DRV1 ATMEGA128 EEPROM fixed 4KB THFS8 1 15 system/user
    DRV2 25CSM04 fixed 512KB THFS8 8 2040 user
    DRV3 HF-1469 mobile 4KB THFS8 1 15 user, currently no HF-10032 slot, must be connected externally
    DRV3 HF-1471 mobile 32KB THFS8 1 127 user, currently no HF-10032 slot, must be connected externally
    DRV4 --- --- --- --- --- --- not planned on this system
    DRV5 HF-64111 mobile 512KB THFS8 8 2040 user, currently no HF-10082 slot, must be connected externally
    DRV6 --- --- --- --- --- --- not installed but supported by software
    DRV7 --- --- --- --- --- --- not installed but supported by software



    Software

    Currently THOS-1 operational system is installed. It is first ATMEGA128 with this system, what means 16 times more FLASH and 4 times more RAM comparing to HF-6030, but assembler code is so efficient that currently only more than 16KB is used with all these extended functions. Major changes: there are two different 256-command vector tables, one for user, another for HAVR - this is logical because some system functions cannot be acceced by user directly, in HF-6030 all is mixed in one table. I also wrote simple RAM Memory Manager to manage "huge" amount of 4KB RAM what was unthinkable in HF-6030 with only 3 RAM segments. It is easy to manually manage 3 segments but 16 segments is much too more. The main idea of THOS-1 operational system is still the same - do everything as simple as possible.


    HAVR

    HF-6050 is fourth system with HAVR8 compiler and interpreter with extended set of instructions, because it have much more ports and RAM segments than any other system.


    Sources:
    [1] ATMEGA128 datasheet

    Prefix 60

    HF Register

    Microcontrollers in my constructions and external equipment

    UC Database - my CPU collection

    Electronics

    Main Page