LPCTool
From Bettyhacks.com - Hack BettyTV-Remote
| Line 19: | Line 19: | ||
==Windows== | ==Windows== | ||
| − | |||
http://katanafans.idf-mod.de/cmde/betty_pub/lpctool-cygwin.zip | http://katanafans.idf-mod.de/cmde/betty_pub/lpctool-cygwin.zip | ||
| − | |||
Es gibt aber Einschränkungen, siehe [[LPCTool#Lpctool-Probleme]]. | Es gibt aber Einschränkungen, siehe [[LPCTool#Lpctool-Probleme]]. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Linux== | ==Linux== | ||
| Line 61: | Line 51: | ||
</pre> | </pre> | ||
| − | |||
| − | Flashen | + | ==Boop Flashen== |
| − | + | === LPCTool Parameter === | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | == LPCTool Parameter == | + | |
<pre> | <pre> | ||
| Line 108: | Line 90: | ||
-V be more verbose | -V be more verbose | ||
</pre> | </pre> | ||
| + | |||
| + | |||
| + | ===Linux=== | ||
| + | |||
| + | 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. | ||
| + | |||
| + | |||
| + | ===Windows=== | ||
| + | Flashen kann man dann z.B. so: | ||
| + | |||
| + | <pre> | ||
| + | lpctool.exe -d /dev/com4 -i -v -e -a boop_rom.bin | ||
| + | </pre> | ||
| + | |||
| + | |||
| + | === Flashvorgang === | ||
| + | |||
| + | <pre> | ||
| + | lpctool -d /dev/ttyUSB0 -i -v -e -a boop_rom.bin | ||
| + | |||
| + | lpctool V0.9 | ||
| + | |||
| + | This Software is free Software under GNU GPL 3 or later | ||
| + | (c) 2007 Ch. Klippel <ck@mamalala.net> | ||
| + | |||
| + | Info : erasing flash #0 before write | ||
| + | Info : using flash #0 image boop_rom.bin | ||
| + | Info : opening serial device /dev/ttyUSB0 | ||
| + | Info : reset into bootmode | ||
| + | Info : opening bootloader | ||
| + | Info : initiating auto-baud | ||
| + | Info : awaiting autobaud response | ||
| + | Info : got response, answering | ||
| + | Info : setting frequency | ||
| + | Info : switching baudrate | ||
| + | Info : disabling echo | ||
| + | Info : unlocking bootloader | ||
| + | Info : uploading compiled-in ram image | ||
| + | Info : starting ram upload | ||
| + | Info : ram upload complete, total bytes: 0x000049CC | ||
| + | Info : ram uploaded | ||
| + | Info : executing code at ram address 0x40000200 | ||
| + | Info : code execution started 0x40000200 | ||
| + | Info : opening ram tool | ||
| + | Info : opened ramtool | ||
| + | Info : opening flash0 image boop_rom.bin | ||
| + | Info : uploading flash0 image boop_rom.bin | ||
| + | Info : setting address to 0x80000000 | ||
| + | Info : erasing whole flash | ||
| + | Info : erasing flash | ||
| + | Info : whole flash erased | ||
| + | Info : enabling bulk write | ||
| + | Info : setting total number of bytes to 0x000301D8 | ||
| + | Info : starting flash upload | ||
| + | Info : flash upload complete, total bytes: 0x000301D8 | ||
| + | Info : flash #0 uploaded | ||
| + | Info : reset device | ||
| + | Info : closing file descriptor | ||
| + | Info : closing serial device /dev/ttyUSB0 | ||
| + | </pre> | ||
| + | |||