-- PeterKainberger - 08 Jan 2010

ECM (what you should know)

INIT-property: possible values of optional parameter
  • 4 Bit (0..3) to select target:
    • 1: flash
    • 2: ram
    • 4: boot
4 Bit (4..7) restart options:
    • 1: restart for download (means that existing user software is disabled)
    • 2: full initialisation, including device order in DPRAM (keep in mind that after this intialisation the device order in DPRAM could have changed and devman has to be restarted)
8 Bit (8..15) for additional options:
    • 1: restart for debugging (means ECM will stop at breakpoint during boot-phase)
    • 2: unprotect boot sector in flash
Options in Bitgroups can be combined:
e.g. 0x0121 means restart ECM in flash with full initialisation and stop at breakpoint during boot-phase
  • NODAL example: CALL KP1CS012(INIT([[121))

Test-Piggy erzeugen:
  • Boot- und Flash-ECM auf die CPU installieren
    ecload $gecmv09 xxxcs011 -v
    ecload $gbecmv09 xxxcs011 -v
  • auf Boot-ECM umschalten:
    vmeboot -b xxxcs011
  • download-offset auf 0x01000000 stellen
    Menue-C im ECM
  • Piggy-Boot installieren
    ecload -d gp-boot.sr xxxcs011 --noinit --noboot xxxcs011 -v
    (--noinit und --noboot sind wichtig!)
  • Piggy-ECM installieren
    ecload -d gp-ecm-v09xx.sr xxxcs011 --noinit --noboot -v
    (--noinit und --noboot sind wichtig!)
  • SE-Testprogramm starten
    Menue-3 im ECM
  • automatischen Test überspringen
    Taste drücken, dann <RETURN> (Achtung! dafür hat man nur ca 15s Zeit)
  • Menue-G im Testprogramm ausführen (damit werden Flash-ECM und Flash-Boot kopiert)
  • Fertig

This topic: Frontend > WebHome > ECMInfos
Topic revision: 20 Jun 2016, LudwigHechler
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback