Registrieren || Einloggen || Hilfe/FAQ || Suche || Memberlist || Home || Statistik || Kalender || Staff Willkommen Gast!
[ Unofficial CP/M Website ] [ Z80 Family Support Page ] [ Forum-Regeln ] [ Impressum/Kontakt ] [ Datenschutzerklärung ]

CP/M-Forum » Softwareprojekte » ZiLOG USBSmartCable (Acclaim) to TCP/IP Gateway » Threadansicht

Autor Thread - Seiten: -1-
23.06.2016, 06:16 Uhr

Avatar von timetube


I'm using the ZDSII_eZ80Acclaim!_5.2.1 and the USBSmartCable to connect the developer environment to the EZ80F910300ZCOG Developer Kit (Target).
See 160623-SmartCable.tar.gz for my current project.

This works under kvm-virtual WindowsXP on Linux host more or less stable.

To get able using ZiLOG's equipment and Software on 'wine' (the windows emulator on linux) I wrote a small gateway to map EthernetSmartCable request to/from USBSmartCable-Devices. The reason is that 'wine' doesn't support access on Host-USB devices. But 'wine' is able to use IP connections to the host.

For that I connect the USBSmartCable-device to the host's USB-port and run the Geteway-Server.
Than I start ZiLOG's IDE under 'wine' and configure the EtherntSmartCable for debug device. (host-ip:4040)

This works under wine/linux more or less stable except the following

The Acclaim uses the eZ80F91algo.ini to generate the proper nexus-messages and send them to the debugger-device.

The line of interest is the first statement of the Init sequence.

The original sequence is:


;Set ZDI Clock Frequency

This results in two different messages, depending on which device (USB or EthernetSmartCable) I have configured. The message send from the EthernerSmartCable DLL does not work on the USBSmartCable Device.

Be using Wireshark on the USBSmartCable (nxEz80UsbSC.dll) you will see the following message for initialization.


And on the EthernetSmartCable (nxEz80EthernetSC.dll)


which results in
USB Answer "00000001" + Disconnect on the USB-Device. But it works on the Eth-Device

On the Acclaim you will get
[ERROR] Invalid Parameter
[ERROR] Unable to connect to the target.

I can Hot-fix this situation by rewriting the INIT_TARGET string.


Now I can connect, downloading and debugging on 'wine'.

Register ED is described as
(RED= Target type(01:eZ80, 02:Encore...))

I attaches my small geteway server project (eclipse-project) as also my eZ80F91algo.ini file for testing purpose. You can use it on a linux PC. The USBDevice as also port 4040 must be accessible by the user which runs the delegation server and 'wine'.

You can grant access to the USBSmartCable device by the followup rule file

# Bus 005 Device 002: ID 04e3:0001 Zilog, Inc.

SUBSYSTEM=="usb", ATTRS{idVendor}=="04e3", ATTRS{idProduct}=="0001", MODE="0666"
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="04e3", ATTRS{idProduct}=="0001", MODE="0666"

For port access see your firewall – rules.

Have fun no frust.
"Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt." Ein Stein.

Dieser Post wurde am 23.06.2016 um 06:17 Uhr von timetube editiert.
Seitenanfang Seitenende
Profil || Private Message || Suche Zitatantwort || Editieren || Löschen || IP
Seiten: -1-     [ Softwareprojekte ]  


powered by ThWboard 3 Beta 2.84-php5
© by Paul Baecher & Felix Gonschorek