<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://bettyhacks.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://bettyhacks.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oblivious</id>
		<title>Bettyhacks.com - Hack BettyTV-Remote - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://bettyhacks.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oblivious"/>
		<link rel="alternate" type="text/html" href="http://bettyhacks.com/wiki/index.php?title=Special:Contributions/Oblivious"/>
		<updated>2026-06-25T14:16:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.2</generator>

	<entry>
		<id>http://bettyhacks.com/wiki/index.php?title=LPCTool</id>
		<title>LPCTool</title>
		<link rel="alternate" type="text/html" href="http://bettyhacks.com/wiki/index.php?title=LPCTool"/>
				<updated>2008-02-08T12:35:52Z</updated>
		
		<summary type="html">&lt;p&gt;Oblivious: /* Lpctool-Probleme */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Aktuelle Version===&lt;br /&gt;
&lt;br /&gt;
lpctool V0.9&lt;br /&gt;
This Software is free Software under GNU GPL 3 or later&lt;br /&gt;
(c) 2007 Ch. Klippel &amp;lt;ck@mamalala.net&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Windows Version===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://katanafans.idf-mod.de/cmde/betty_pub/lpctool-cygwin.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===LPCTool aus dem svn Laden und Instalieren===&lt;br /&gt;
&lt;br /&gt;
Das LPCTool kann man unter linux mit dem folgenden Befehl herunterladen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout svn://svn.mamalala.org/lpctool/trunk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Für Debian Basierte Distr. kann man folgendes Paket nehmen.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://www.grautier.com/grautier/index.php?/plugin/dlfile_108&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Als nächstes können wir dann das Programm compilieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd trunk&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Bei dem Paket für Debian Basierte Systeme &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg -i LPCTool.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sollte das nicht klappen muss noch das armtoolchan installiert werden, welches auch von Boop verwendet wird beim Debian Paket ist das nicht nötig dieses ist schon fertig Compiliert.&lt;br /&gt;
&lt;br /&gt;
=== Help ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lpctool [-d NAME] [-i] [-r [NAME]] [-R ADDRESS] [-X [ADDRESS]] [-a [NAME] [-A ADRDESS]] [-e] [-b [NAME] [-B ADDRESS]] &lt;br /&gt;
               [-E] [-s] [-S] [-c] [-C] [-v] [-V]&lt;br /&gt;
&lt;br /&gt;
        -d NAME         specify serial device, default is /dev/ttyS0&lt;br /&gt;
        -i              use compiled-in flash-tool instead of external ram image file&lt;br /&gt;
        -r NAME         specify file for ram,  default is ramtool.bin&lt;br /&gt;
        -R ADDRESS      optionally specifies the start-address to load into ram&lt;br /&gt;
                        default is 0x40000200 - must be specified in hex&lt;br /&gt;
        -X ADDRESS      set the execution address for the uploaded ram image&lt;br /&gt;
                        defualt is 0x40000200, omiting the address disables execution&lt;br /&gt;
        -a NAME         specify file for flash #0, default is flash0.bin&lt;br /&gt;
        -A ADDRESS      optionally specifies the start-address to load into flash #0&lt;br /&gt;
                        default is 0x80000000 - must be specified in hex&lt;br /&gt;
        -e              completely erase the first flash before writing&lt;br /&gt;
                        default is no erase&lt;br /&gt;
        -b NAME         specify file for flash #1, default is flash1.bin&lt;br /&gt;
        -B ADDRESS      optionally specifies the start-address to load into flash #1&lt;br /&gt;
                        default is 0x82000000 - must be specified in hex&lt;br /&gt;
        -E              completely erase the second flash before writing&lt;br /&gt;
                        defualt is no erase&lt;br /&gt;
        -S              only erase the first sector in flash before writing&lt;br /&gt;
                        this is a lot faster if only the first sector is used&lt;br /&gt;
        -c              write flash0 in chunk mode instead of write-all&lt;br /&gt;
        -C              write flash1 in chunk mode instead of write-all&lt;br /&gt;
                        in chunk mode, parts with 4 consectuive 0xFFFFFFFF or more&lt;br /&gt;
                        in the image are skipped. speeds upload when the image has&lt;br /&gt;
                        gaps. defualt is off&lt;br /&gt;
        -N              do not reset the device after uploading to flash&lt;br /&gt;
                        by default the device gets reset after upload&lt;br /&gt;
        -?              print this help&lt;br /&gt;
        -v              print version&lt;br /&gt;
        -V              be more verbose&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Boop Flashen===&lt;br /&gt;
&lt;br /&gt;
Flashen kann man dann mit folgenden Befehl.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./lpctool -d /dev/ttyS0 -i -v -e -a boop_rom.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Lpctool-Probleme===&lt;br /&gt;
&lt;br /&gt;
Falls nach dem Laden des Bootloaders (ramtool) die Fernbedienung neu startet (reset!) -&lt;br /&gt;
im Quellcode die Geschwindigkeit (u.a. TOOLBAUD) von 115.200 baud auf 38.400 baud&lt;br /&gt;
reduzieren. Da &amp;quot;tcsetattr&amp;quot; beim Baud-Wechsel (38.400-&amp;gt;115.200) den reset-Pin toggelt.&lt;br /&gt;
(Linux, CentOS 5, USB-Seriell-Kabel)&lt;/div&gt;</summary>
		<author><name>Oblivious</name></author>	</entry>

	<entry>
		<id>http://bettyhacks.com/wiki/index.php?title=LPCTool</id>
		<title>LPCTool</title>
		<link rel="alternate" type="text/html" href="http://bettyhacks.com/wiki/index.php?title=LPCTool"/>
				<updated>2008-02-08T12:34:59Z</updated>
		
		<summary type="html">&lt;p&gt;Oblivious: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Aktuelle Version===&lt;br /&gt;
&lt;br /&gt;
lpctool V0.9&lt;br /&gt;
This Software is free Software under GNU GPL 3 or later&lt;br /&gt;
(c) 2007 Ch. Klippel &amp;lt;ck@mamalala.net&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Windows Version===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://katanafans.idf-mod.de/cmde/betty_pub/lpctool-cygwin.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===LPCTool aus dem svn Laden und Instalieren===&lt;br /&gt;
&lt;br /&gt;
Das LPCTool kann man unter linux mit dem folgenden Befehl herunterladen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout svn://svn.mamalala.org/lpctool/trunk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Für Debian Basierte Distr. kann man folgendes Paket nehmen.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://www.grautier.com/grautier/index.php?/plugin/dlfile_108&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Als nächstes können wir dann das Programm compilieren.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd trunk&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Bei dem Paket für Debian Basierte Systeme &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg -i LPCTool.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sollte das nicht klappen muss noch das armtoolchan installiert werden, welches auch von Boop verwendet wird beim Debian Paket ist das nicht nötig dieses ist schon fertig Compiliert.&lt;br /&gt;
&lt;br /&gt;
=== Help ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usage: lpctool [-d NAME] [-i] [-r [NAME]] [-R ADDRESS] [-X [ADDRESS]] [-a [NAME] [-A ADRDESS]] [-e] [-b [NAME] [-B ADDRESS]] &lt;br /&gt;
               [-E] [-s] [-S] [-c] [-C] [-v] [-V]&lt;br /&gt;
&lt;br /&gt;
        -d NAME         specify serial device, default is /dev/ttyS0&lt;br /&gt;
        -i              use compiled-in flash-tool instead of external ram image file&lt;br /&gt;
        -r NAME         specify file for ram,  default is ramtool.bin&lt;br /&gt;
        -R ADDRESS      optionally specifies the start-address to load into ram&lt;br /&gt;
                        default is 0x40000200 - must be specified in hex&lt;br /&gt;
        -X ADDRESS      set the execution address for the uploaded ram image&lt;br /&gt;
                        defualt is 0x40000200, omiting the address disables execution&lt;br /&gt;
        -a NAME         specify file for flash #0, default is flash0.bin&lt;br /&gt;
        -A ADDRESS      optionally specifies the start-address to load into flash #0&lt;br /&gt;
                        default is 0x80000000 - must be specified in hex&lt;br /&gt;
        -e              completely erase the first flash before writing&lt;br /&gt;
                        default is no erase&lt;br /&gt;
        -b NAME         specify file for flash #1, default is flash1.bin&lt;br /&gt;
        -B ADDRESS      optionally specifies the start-address to load into flash #1&lt;br /&gt;
                        default is 0x82000000 - must be specified in hex&lt;br /&gt;
        -E              completely erase the second flash before writing&lt;br /&gt;
                        defualt is no erase&lt;br /&gt;
        -S              only erase the first sector in flash before writing&lt;br /&gt;
                        this is a lot faster if only the first sector is used&lt;br /&gt;
        -c              write flash0 in chunk mode instead of write-all&lt;br /&gt;
        -C              write flash1 in chunk mode instead of write-all&lt;br /&gt;
                        in chunk mode, parts with 4 consectuive 0xFFFFFFFF or more&lt;br /&gt;
                        in the image are skipped. speeds upload when the image has&lt;br /&gt;
                        gaps. defualt is off&lt;br /&gt;
        -N              do not reset the device after uploading to flash&lt;br /&gt;
                        by default the device gets reset after upload&lt;br /&gt;
        -?              print this help&lt;br /&gt;
        -v              print version&lt;br /&gt;
        -V              be more verbose&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Boop Flashen===&lt;br /&gt;
&lt;br /&gt;
Flashen kann man dann mit folgenden Befehl.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./lpctool -d /dev/ttyS0 -i -v -e -a boop_rom.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Lpctool-Probleme===&lt;br /&gt;
&lt;br /&gt;
Falls nach dem Laden des Bootloaders die Fernbedienung neu startet (reset!) -&lt;br /&gt;
im Quellcode die Geschwindigkeit (u.a. TOOLBAUD) von 115.200 baud auf 38.400 baud&lt;br /&gt;
reduzieren. Da &amp;quot;tcsetattr&amp;quot; beim Baud-Wechsel (38.400-&amp;gt;115.200) den reset-Pin toggelt.&lt;br /&gt;
(Linux, CentOS 5, USB-Seriell-Kabel)&lt;/div&gt;</summary>
		<author><name>Oblivious</name></author>	</entry>

	</feed>