Forum: Mikrocontroller und Digitale Elektronik HC08 Class 3 Programmierschnittstelle


von Spike (Gast)


Lesenswert?

Hallo,

ich "spiele" gerade mit einem HC08 Eval. Board und mir geht dass
manuelle An/Aus geschalte beim Flashen ein wenig auf die Nerven.

Welche (günstigen) Alternativen gibt es anstelle der serienmäßigen
Anbindung via RS232 (Class 3)? Was ist z.B. die Class 4 mit auto-reset,
und wo gibt's das ganze, oder wie baut man's?

Gruß
Spike

von Profi (Gast)


Angehängte Dateien:

Lesenswert?

Welches Board hast Du?

<Iornie on> Am besten Du kaufst einen Cyclone oder MON08 von P&E
<Iornie off>
siehe auch Text im Anhang

Die "Schaltung" (Diode, 2 Widerstände, Transistor) findest Du im
MON08 Multilink User Manual (enthalten z.B. im pkg08sz oder auf
www.pemicro.com):

Wenn die Security-Bytes einmal erkannt wurden, muss man sie nach einem
Reset nicht mehr schicken.
Also nicht jedes mal ausschalten, sondern nur resetten.

Zitat aus MON08 Multilink User Manual:
Class IV
Custom Board (no ICS) with MON08 serial port circuitry and additional
auto-reset circuit built in. In this configuration, the ICS board is
not used at all. The user must provide a serial port connection from
the PC and all hardware configuration necessary to force the processor
into MON08 mode upon reset. In addition, the user must include an extra
circuit which allows the reset line of the processor to be driven low
from the DTR line of the serial port connector (Pin 4 on a DB9). The
following diagram shows the additional connection needed to reset from
a DB9 serial connector.

Hier ist das Schaltbild (1 Diode, 2 Widerstände, 1 Transistor).

Figure 4-36: Additional Connection To Reset From DB9
In this configuration, because the software does not directly control
power to the processor, the user will be prompted to turn the
processor&#8217;s power supply on and off. Turning off the power supply
is necessary in order to be able to pass the initial security mode check
and access the flash on the processor. A simple reset is not enough; to
pass the security check, you must first force the processor to
encounter a POR (power-on reset) which requires the processor&#8217;s
voltage to dip below 0.1v. Once security has been passed, resetting the
device should be facilitated by the above circuitry. This configuration
can be specified at startup in the software by using the NODTRADD
command-line parameter; otherwise the software remembers the hardware
configuration from session to session.

von Spike (Gast)


Lesenswert?

Hallo Profi,

danke für den Tip und sorry für die späte Antwort.

Ich habe gerade mal die Schaltung aufgebaut, angeschlossen und
festgestellt: "klappt nicht".

Ich verbinde mein 908GZ60 Board via COM, hole mir GND vom MON08-Stecker
und schleife auch den per Schaltung erzeugten *Reset darüber wieder ein.
Die Schaltung selbst funktioniert einwandfrei, aber sobald ich den
MON08-Stecker anzapfe gibt's kein Echo mehr vom Board.

Bei gezogenem MON08 funktioniert die Kommunikation allerdings
Problemlos.

Was nun tun?


Gruß
Spike

von Eckhard (Gast)


Lesenswert?

Hallo,

hier kannst Du einen Class I Programmer finden.

http://www.jelectronique.com/SPGMR908/SPGMR908.pdf

Der macht dann den powerdown via DTR.

Eckhard

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.