Leeren Prozessor programmieren

Aus Motorkontrolle.de
Version vom 20. April 2013, 16:58 Uhr von Supacharger (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Programmierung eines leeren Prozessors == Die unten aufgelisteten Schritte beschreiben den Ablauf einer Programmierung eines leeren Prozessors. Einen leere…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Programmierung eines leeren Prozessors

Die unten aufgelisteten Schritte beschreiben den Ablauf einer Programmierung eines leeren Prozessors. Einen leeren Prozessor erhält man, wenn man diesen nicht über einen Gruppenkauf bezogen. Vergewissern Sie sich zuvor, dass Sie die neueste Version der "Prog08sz"-Software benutzen; diese ist unter http://groups.yahoo.com/group/68hc908pgm/ files/software/prog08sz.zip erhältlich.

  1. Wollen Sie einen MegaSquirt-Code vewenden (keine "Tomtek ignition"), dann laden Sie sich bitte die erwünschte "megasquirt.s19"-Datei herunter. Alternative können Sie auch eine "megasquirt.asm"- oder "megasquirtDT.asm"-Datei verwenden, nachdem Sie diese zu der entsprechenden ".s19"-Datei assembliert haben (der Tomtek ignition Code, der Dual Table MS Code und alle MS-Standard-Codes ab Version 2 enthalten bereits eden Bootloader; Sie müssen also lediglich die megasquirt.asm aasemblieren). Wie Sie das machen können Sie in der "Code"-Sektion der englischsprachigen MegaSquirt FAQs nachlesen.
  2. Starten Sie die Software prog08sz; es kann sein, dass Sie es mehrmals probieren müssen, die Verbindung herzustellen. Können Sie dennoch keine Verbindung herstellen, lesen Sie bitte das Archiv 908 um Hinweise zu Fehlerbeseitigung zu erhalten

3. Often the connect problem is low voltage due to a wimpy serial port, so you might want to eliminate this problem by connecting an external power source. (e.g., a 9 volt battery) to the circuit. Connect the positive (+) side of the battery to the banded side of D2 (or D1) and the negative (-) side to a ground point (e.g., the mounting lug on the 9 pin connector).

4. Select the 908_gp32.08p module when asked to "Specify Programming Algorithm to Use".

5. If this chip has been programmed before, you need to erase it (if in doubt, do this anyhow). Click on the button with the “pencil erasing” icon (6th from the left) to Erase Module. When this is done, it says "Erasing. Module has been erased" in the lower left corner of the screen, after which you should verify the chip with Blank Check Module (the button beside Erase Module). You should get a message saying "Erased."

6. For version 1.0 of the code only, click on "SS Specify S Record" in the window on the middle left [or the 19diskette19 button in the menu], and select "boot_r12.s19". Note that Version 2 and later .s19 files include the boot_r12 file, and this step should be skipped. Click on "Program Module" [on the menu on the left, or use the button beside the “diskette”/Specify Recordbutton]. After a few seconds, it should complete. Then you can then click on "VM Verify Module" [on the menu on the left, or use the button beside the “Program Module” button]. You should get a message that the module was “verified”.

7. Click on Specify S Record as above, this time selecting "megasquirt.s19" Follow this with "Program Module", then "Verify Module".

8. Disconnect the serial cable from the programmer, unlatch the ZIF lever, remove the chip, and you should be ready to insert the chip into a MegaSquirt® controller and run.