= HF8V = / = SP8WJT = / = SP0106RZ =
HF-6158
PROJECT: HF-6158
DESCRIPTION: Digital System on ATMEGA64
STATUS: u
PROJECT START DATE: 2024
LOCALISATION: PL
DOCUMENTATION: TM, DVC
PCB: TPD52906#3 , TPD52919#4
SYSTEM DIMENSIONS: 70 x 50 mm
WEIGHT: 36.6 g
SUPPLY VOLTAGE: 3.3V or 5V
HARDWARE VERSION: 1.4
SOFTWARE VERSION: 1.31
CPU
CPU CATALOG NUMBER: UC-137
CPU: ATMEGA64
CPU BRAND: ATMEL
CPU FAMILY: AVR
CPU ARCHITECTURE: 8b
FLASH: 64K
RAM: 4K
EEPROM: 2K
MAX CLOCK: 16MHz
THN ADDRESS: 0x3E
UC TYPE: 0x13

HF-12258 on HF-60258 extension board

HF-60258 extension board without uC module (ver. 1.3)
Modules:
Project Info
HF-6158 is used for various tentative projects and tests. Assembled on universal board can be easily modified, for example microprocessor can be changed for ATMEGA128 or similiar.
This system has the following features:
THOS-1 operating system
Embedded HAVR8 compiler and interpreter
48 I/O pins (PORTA-PORTF) available as external ports
5 I/O pins (PORTG) only for extension board devices
HF-10060 programming interface
Reset button
Function button
Function LED
LED supply voltage control
HF-10032 I2C interface (memory drives HF-1469, HF-1471, etc with THFS file system)
HF-10040 UART interface for communcation
Buzzer (CW output device)
Potection against reversed supply polarity
In practise I rarely need to switch output channel to UART OUTPUT DEVICE, I can handle all commands on CW OUTPUT DEVICE which is 24 WPM telegraphy.
Port assigments:
| PORTA |
PA0-PA7 |
general I/O |
user |
|
| PORTB |
PB0-PB7 |
general I/O |
user |
|
| PORTB |
PB1 |
HF-10060 |
SCK |
|
| PORTC |
PC0-PC7 |
general I/O |
user |
|
| PORTD |
PD0-PD7 |
general I/O |
user |
|
| PORTE |
PE0-PE7 |
general I/O |
user |
[*] |
| PORTE |
PE0 |
HF-10060 |
MOSI |
|
| PORTE |
PE0 |
HF-10040 (UART0) |
RXD0 |
|
| PORTE |
PE1 |
HF-10060 |
MISO |
|
| PORTE |
PE1 |
HF-10040 (UART0) |
TXD0 |
|
| PORTF |
PF0-PF7 |
general I/O |
user |
preferred for hex keyboard HF-17763 or HF-17966 |
| PORTG |
PG0 |
extension board resources |
N/A |
reserve |
| PORTG |
PG1 |
extension board resources |
Function LED2 |
|
| PORTG |
PG2 |
extension board resources |
Function switch SW2 |
|
| PORTG |
PG3 |
extension board resources |
BOOT_RESET |
|
| PORTG |
PG4 |
extension board resources |
Buzzer BZ1 |
|
[*] - PE0, PE1 - cannot be used in applications when UART0 is in use.
System Drives:
| DRV0 |
ATMEGA64 FLASH |
fixed |
64KB |
none |
256 |
0 |
system drive, read only |
| DRV1 |
ATMEGA64 EEPROM |
fixed |
2KB |
THFS8 |
3 |
5 |
system/user |
| DRV2 |
on extenxion board |
fixed |
- |
THFS8 |
- |
- |
planned, system drive |
| DRV3 |
HF-1469 |
mobile |
4KB |
THFS8 |
1 |
15 |
user, HF-10032 slot |
| DRV3 |
HF-1471 |
mobile |
32KB |
THFS8 |
1 |
127 |
user, HF-10032 slot |
| DRV4 |
--- |
--- |
--- |
--- |
--- |
--- |
not planned on this system |
| DRV5 |
--- |
--- |
--- |
--- |
--- |
--- |
not planned on this system |
| DRV6 |
--- |
--- |
--- |
--- |
--- |
--- |
not installed but supported by software |
| DRV7 |
--- |
--- |
--- |
--- |
--- |
--- |
not installed but supported by software |
Software:
In current software version 1.21 there is 196 functions available for user (code size 17.7 KB), these are THOS-1 system functions, some drivers for various hardware inherited from older systems like HF-6030, HF-6048 and HF-6050 and some new developed functions and drivers. I still prefer writing for AVR than newer ARM processors. For some old equipment there is no need to use 100 MHz processor, 16 MHz AVR will do the job quite well because it is 5 times more efficient than INTEL 8x86 processors. All code has been written in pure assembler what is time consuming but very efficient in generated code size. Source code for these 17.7 KB exaecutable code is more than 20 000 lines in more than 100 files (in assembler there is almost 2 source code lines for one generated byte).
For that reason capitalistic commercial programmers will never write code in assembler. It is too good and efficient for Capitalistic Regime. Their goals are other, huge and unefficient code where various bugs end exploits can be hidden for invigilation of capitalistic society by their oligarchic masters.
Hardware version changes:
Version 1.4: introduced function LED2 which is logically connected with function switch SW2. When user calls function Wait_for_function_button LED2 is flashing with 1 Hz period untill SW2 is pressed. I found this helpfull to "synchronize" user to various processes when system must wait for user answer.
Sources:
[1] ATMEGA64 Datasheet
STATUS CODES
| f | failed |
| g | device not complete |
| n | not tested |
| p | planned |
| q | not accomplished |
| r | resigned |
| u | fully operational |
| w | assembled but not tested |
| x | not avalaible (returned, sold, lost or no data) |
| z | decomissioned (disassembled) |
Prefix 61
HF Register
Microcontrollers in my constructions and external equipment
UC Database - my CPU collection
Electronics
Main Page