Betty scart
From Bettyhacks.com - Hack BettyTV-Remote
m (→Firmware flashen: Link zur Doku zum Bootloader geändert) |
|||
Line 10: | Line 10: | ||
==Quellcode== | ==Quellcode== | ||
− | Den aktuellen Source erhält man über [[SVN]] [http://boopfirmware.svn.sourceforge.net/viewvc/boopfirmware/betty_scart/ hier]. | + | Den aktuellen Source erhält man über [[SVN]] [http://boopfirmware.svn.sourceforge.net/viewvc/boopfirmware/betty_scart/trunk/ hier]. |
Das aktuelle RAW-Binary zum download: [https://boopfirmware.svn.sourceforge.net/svnroot/boopfirmware/betty_scart/trunk/betty_scart.bin betty_scart.bin] | Das aktuelle RAW-Binary zum download: [https://boopfirmware.svn.sourceforge.net/svnroot/boopfirmware/betty_scart/trunk/betty_scart.bin betty_scart.bin] | ||
Line 21: | Line 21: | ||
* http://sdcc.svn.sourceforge.net/viewvc/sdcc/trunk/sdcc/device/include/mcs51/P89LPC932.h?view=log | * http://sdcc.svn.sourceforge.net/viewvc/sdcc/trunk/sdcc/device/include/mcs51/P89LPC932.h?view=log | ||
− | ===Installation | + | ===Installation=== |
− | ====Ubuntu 9.04==== | + | ====Linux==== |
+ | |||
+ | Paket: | ||
+ | sudo apt-get install sdcc | ||
+ | sdcc -v | ||
+ | |||
+ | Manuell: | ||
+ | Bei manueller Installation aus dem binary (s. Download) und dem Befolgen der Anweisungen in INSTALL.txt | ||
+ | Makefile.local: | ||
+ | SDCCBASE=/usr/local | ||
+ | INCLUDEPATH=$(SDCCBASE)/share/sdcc/include | ||
+ | SDCCPATH=$(SDCCBASE)/bin | ||
+ | |||
+ | =====Ubuntu 9.04===== | ||
* Paket hat keine mcs51 Unterstützung | * Paket hat keine mcs51 Unterstützung | ||
* Das binary package (siehe Download Link) funktioniert | * Das binary package (siehe Download Link) funktioniert | ||
− | ====Ubuntu 9.10==== | + | =====Ubuntu 9.10===== |
* 9.10 supports mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 ([https://bugs.launchpad.net/ubuntu/+source/sdcc/+bug/412761 bug]) | * 9.10 supports mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 ([https://bugs.launchpad.net/ubuntu/+source/sdcc/+bug/412761 bug]) | ||
== Firmware flashen == | == Firmware flashen == | ||
− | Der Mikrocontroller verfügt über einen Bootloader, mit dem über die ICP/ISP Schnittstelle die Firmware geladen werden kann. Siehe [ | + | Der Mikrocontroller verfügt über einen Bootloader, mit dem über die ICP/ISP Schnittstelle die Firmware geladen werden kann. Siehe [http://ics.nxp.com/support/documents/microcontrollers/pdf/user.manual.p89lpc9301.p89lpc931a1.pdf Datenblatt] ab S. 97. |
===Mit dem PC über einen Adapter=== | ===Mit dem PC über einen Adapter=== | ||
* [[SCART-Betty-Kombiinterface]] | * [[SCART-Betty-Kombiinterface]] | ||
+ | * ScartProg [http://bettyhacks.com/forum/index.php?topic=176.15 Forum] | ||
* NXPs Adapter (http://ics.nxp.com/support/development.hardware/fdi.usb-icp-80c51isp/~P89C664/) | * NXPs Adapter (http://ics.nxp.com/support/development.hardware/fdi.usb-icp-80c51isp/~P89C664/) | ||
===Mit Betty=== | ===Mit Betty=== | ||
− | [ | + | [[Image:Betty_scart_icp.jpg|thumb|Verbindungen zwischen betty SCART adapter]] |
+ | |||
+ | Die Firmware des SCART-Adapters lässt sich mit der Betty ohne zusätzliche Hardware (außer einem entsprechenden Kabel) flashen. Die dazu nötigen Routinen sind in Boop bereits integriert, die zu flashende Firmware muß allerdings in Boop mit hinein-compiliert werden. [http://bettyhacks.com/forum/index.php?topic=148.0|Forum] | ||
# betty_scart.bin in ein Werte-Array in C-Quellcode umwandeln | # betty_scart.bin in ein Werte-Array in C-Quellcode umwandeln | ||
## Windows: http://www.ulrichradig.de/home/index.php/projekte/winbin | ## Windows: http://www.ulrichradig.de/home/index.php/projekte/winbin | ||
− | + | ## Python: [http://boopfirmware.svn.sourceforge.net/viewvc/boopfirmware/betty_scart/trunk/boop_icp.py?view=log boop_icp.py] | |
− | ## Python: http:// | + | |
# als boopfirmware/boop/trunk/tools/scart_image.h speichern | # als boopfirmware/boop/trunk/tools/scart_image.h speichern | ||
# boop kompilieren | # boop kompilieren |