Skip to content

notwendig/FreeRTOS-eZ80f91

Repository files navigation

1.8.2023: Add this build instruction.

  1. git clone --recurse-submodules git@github.com-FreeRTOS:notwendig/FreeRTOS-eZ80f91.git
  2. cd FreeRTOS-eZ80f91
  3. cd kernel; git checkout ; git apply ../patches/kernel-.patch

cd network; git checkout ; git apply ../patches/network-.patch

cd uzlib; git checkout ; git apply ../patches/uzlib-.patch

For see directory patches.

  1. Run virtual windows-guest on your Linux-host. If you are using an USB-Debugge’s then redirect ther USB to the guest

Install the ZDSII v5.3.5 on your guest if not already done. And on the host connect a terminal (Putty) on the serial-port ( for example /dev/ttyS4 ) and setup the connection to 115200 8N1 RTS/CTS.

  1. Now you can build the libraries.

Load the project uzlib,network and kernel one after the other into the ZDSII and compile them.

  1. Connect the Zilog Debugger and the serial-port to your Build-PC
  2. Load the application EZ80F910300ZCOG into the ZDSII and build and run it.
  3. Open a Linux-Console (132x40) and enter “nc -u 4060”. Trigger the target by enter RETURN-Key.

FreeRTOS eZ80F91 Acclaim! Port - Copyright (C) 2016-2023 by NadiSoft All rights reserved

This file is part of the FreeRTOS port for ZiLOG's EZ80F91 Module. Copyright (C) 2016 by Juergen Sievers <JSievers@NadiSoft.de>

The Port was made and rudimentary tested on ZiLOG's EZ80F910300ZCOG Developer Kit using ZDSII Acclaim 5.3.5 Developer

Environment and comes WITHOUT ANY WARRANTY to you! Developer:

SIE Juergen Sievers JSievers@NadiSoft.de Repository directories:

  • doc some documentation.
  • kernel sub-module the real time kernel source code.
  • network sub-module FreeRTOS-Plus-TCP/source the real TCP/IP source code.
  • EZ80F910300ZCOC The Demo’s header and source files.
  • uzlib sub-module The compress/un-compress library

.

See http://www.freertos.org.html for full details of the FreeRTOS directory structure and information on locating the files you require.

My Build- and Test-environment:

I use a Fedora Linux Workstation as host system. On this host a Windows 10 is running as guest under QEMU. On Windows I mount a samba share as drive Z: with at least the following directories.

  1. Z:\ZDSII_eZ80Acclaim!_5.3.5

ZiLOG Developer Studio II—eZ80Acclaim!® installation.

Free download from www.zilog.com.

  1. **Z:\workspace\FreeRTOS-eZ80f91 Windows Project-root an SMB Mount from host ~/ZiLOG

The Target is connected over its Serial and Ethernet port on the Linux-PC

The Debug-output uses target’s serial-port 0 115200,8,1,n,RTS/CTS. I use PuTTY on the Linux-PC to display such information.

On the Linux-PC also runs a DHCP-Server with will answer to the target’s DHCP Requests.

At last the ZiLOG USBSmartCable is connect between the target and Lunux-PC. This USB -Device is routed to the Windows guest. It will be used by ZiLOG’s Developer Studio for download, flashing and debugging.

Changing to directory Z:\workspace (or on the linux to the shared) and clone the project https://github.com/notwendig/FreeRTOS-eZ80f91.git including submodules.

Apply the patch to zulib.

On the Windows-guest run the ZiLOG Developer Studio. Open the Project-file Z:\workspace\FreeRTOS-eZ8091\uzib.zdsproj and build the uzlib[d].lib.

On a linux terminal change to directory uzlib and type make to build the packer/unpacker. Change to CPM directory and type make to build the CP/M 2.2 boot-tracks and the Disk-Image as packed C-Array.

Now you are ready to open and build the z80FreeROS.zdsproj, and build it.

Before you download and run the Demo to the Target, a terminal (PuTTY) should be running on the target's serial-port connection.

After the target has gotten it’s IP you may start several other connection to the target.

Regards Jürgen

About

FreeRTOS Port to ZiLOG eZ80f91 CPU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages