LPCTool
From Bettyhacks.com - Hack BettyTV-Remote
m (→Lpctool-Probleme: code-formatierung) |
|||
| Line 1: | Line 1: | ||
| − | + | ==Aktuelle Version== | |
| − | + | ||
lpctool V0.9 | lpctool V0.9 | ||
This Software is free Software under GNU GPL 3 or later | This Software is free Software under GNU GPL 3 or later | ||
(c) 2007 Ch. Klippel <ck@mamalala.net> | (c) 2007 Ch. Klippel <ck@mamalala.net> | ||
| − | + | ==Windows== | |
<pre> | <pre> | ||
http://katanafans.idf-mod.de/cmde/betty_pub/lpctool-cygwin.zip | http://katanafans.idf-mod.de/cmde/betty_pub/lpctool-cygwin.zip | ||
</pre> | </pre> | ||
| − | === | + | ==Linux== |
| + | === Debian Paket === | ||
| + | Für Debian Basierte Distr. kann man folgendes Paket nehmen. | ||
| + | <pre> | ||
| + | http://www.grautier.com/grautier/index.php?/plugin/dlfile_108 | ||
| + | </pre> | ||
| − | Das LPCTool kann man unter | + | === selbst kompilieren === |
| + | Man benötigt die ARM-toolchain, siehe [[Boop]] | ||
| + | |||
| + | Das LPCTool kann man unter Linux mit subversion herunterladen. | ||
<pre> | <pre> | ||
svn checkout svn://svn.mamalala.org/lpctool/trunk | svn checkout svn://svn.mamalala.org/lpctool/trunk | ||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
| − | Als | + | Als kann das Programm compiliert werden: |
<pre> | <pre> | ||
| Line 34: | Line 37: | ||
</pre> | </pre> | ||
| − | + | ==Boop Flashen== | |
| − | == | + | Flashen kann man dann z.B. so: |
| + | |||
| + | <pre> | ||
| + | ./lpctool -d /dev/ttyS0 -i -v -e -a boop_rom.bin | ||
| + | </pre> | ||
| + | |||
| + | Wenn man LPCTool installiert hat (Debian-Paket oder <pre>make install</pre>) lässt man das <pre>./</pre> weg. | ||
| + | |||
| + | |||
| + | == LPCTool Parameter == | ||
<pre> | <pre> | ||
| Line 73: | Line 85: | ||
</pre> | </pre> | ||
| − | |||
| − | + | ==Lpctool-Probleme== | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Falls nach dem Laden des Bootloaders (ramtool) die Fernbedienung neu startet (reset!) - | Falls nach dem Laden des Bootloaders (ramtool) die Fernbedienung neu startet (reset!) - | ||
im Quellcode die Geschwindigkeit (u.a. TOOLBAUD) von 115.200 baud auf 38.400 baud | im Quellcode die Geschwindigkeit (u.a. TOOLBAUD) von 115.200 baud auf 38.400 baud | ||
| − | reduzieren. | + | reduzieren. |
| − | (Linux, CentOS 5, USB-Seriell-Kabel, Windows mit FT232R). | + | "tcsetattr" toggelt beim Baud-Wechsel (38.400->115.200) den reset-Pin (Linux, CentOS 5, USB-Seriell-Kabel, Windows mit FT232R). |
| + | |||
| + | Eine gebremste lpctool-cygwin für Windows gibt es [http://bettyhacks.com/forum/index.php?topic=54.msg842#msg842 im Forum]. | ||
Stellen im Code von LPCTOOL: | Stellen im Code von LPCTOOL: | ||
| − | |||
'''lpctool_serial.h''' ''Zeile 5'': | '''lpctool_serial.h''' ''Zeile 5'': | ||