Diese Sektion erlaubt es ihnen alle Beiträge dieses Mitglieds zu sehen. Beachten sie, dass sie nur solche Beiträge sehen können, zu denen sie auch Zugriffsrechte haben.
boopfirmware/lpctool/trunk$ svn diff lpctool_serial.h
Index: lpctool_serial.h
===================================================================
--- lpctool_serial.h (revision 19)
+++ lpctool_serial.h (working copy)
@@ -1,5 +1,5 @@
#ifndef LPCTOOL_SERIAL_H
-#define LPCTOOL_DERIAL_H
+#define LPCTOOL_SERIAL_H
#define TOOLBAUD 115200
boopfirmware/boop/trunk/infrared$ svn diff codes.c
Index: codes.c
===================================================================
--- codes.c (revision 19)
+++ codes.c (working copy)
@@ -229,7 +229,7 @@
"UFS 922"
},
{
- #include "ir_codes/lirc/STR_DE545"
+ #include "ir_codes/lirc/str_de545"
"STR-DE545"
},
{
Info : erasing flash #0 before write
Info : using flash #0 image boop_rom.bin
Info : opening serial device /dev/ttyUSB0
setting 38400
Info : compensating openport-reset
Info : reset into bootmode
Info : opening bootloader
Info : initiating auto-baud
Info : awaiting autobaud response
Info : Synchronized
�
(14)
Info : got response, answering
Info : setting frequency
Info : switching baudrate
setting 38400
Info : disabling echo
Info : unlocking bootloader
Info : uploading compiled-in ram image
Info : starting ram upload
Info : ram upload complete, total bytes: 0x00004B28
Info : ram uploaded
Info : executing code at ram address 0x40000200
Info : code execution started 0x40000200
setting 38400
Info : opening ram tool
Info : erasing flash #0 before write
Info : using flash #0 image boop_rom.bin
Info : opening serial device /dev/ttyUSB0
Info : compensating openport-reset
Info : reset into bootmode
Info : opening bootloader
Info : initiating auto-baud
Info : awaiting autobaud response
ERROR: autobaud detection failed
ERROR: Error opening BootLoader
Info : closing serial device /dev/ttyUSB0
printInfoS(2,"compensating openport-reset",0);
setRTS(0);
usleep(1000000);
usleep(1000000);
boopfirmware/lpctool/trunk$ make
/opt/armtool/4.1.1/bin/arm-elf-gcc -mcpu=arm7tdmi-s -c -Wall -mthumb-interwork -msoft-float -I/opt/armtool/4.1.1/include -o serial.o serial.c
/opt/armtool/4.1.1/bin/arm-elf-gcc -mcpu=arm7tdmi-s -c -Wall -mthumb-interwork -msoft-float -I/opt/armtool/4.1.1/include -o ramtool.o ramtool.c
/opt/armtool/4.1.1/bin/arm-elf-ld -Os -Tlpc2220.ld -o ramtool.elf crt.o serial.o lcd.o fonty.o flash.o ramtool.o
/opt/armtool/4.1.1/bin/arm-elf-objcopy -O binary ramtool.elf ramtool.bin
/opt/armtool/4.1.1/bin/arm-elf-gcc -mcpu=arm7tdmi-s -c -Wall -mthumb-interwork -msoft-float -I/opt/armtool/4.1.1/include -DRESIDENT -o romtool.o ramtool.c
/opt/armtool/4.1.1/bin/arm-elf-ld -Os -Tlpc2220_rom.ld -o romtool.elf crt.o serial.o lcd.o fonty.o flash.o romtool.o
/opt/armtool/4.1.1/bin/arm-elf-objcopy -O binary romtool.elf romtool.bin
gcc -Os bin2h.c -o bin2h
bin2h.c: In function 'main':
bin2h.c:18: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
strip bin2h
./bin2h > tool_data.h
gcc -Os infohelper.c lpctool_serial.c bootcom.c toolcom.c lpctool.c -o lpctool
infohelper.c: In function 'printInfoH':
infohelper.c:39: warning: format '%08X' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
bootcom.c: In function 'goBootLoader':
bootcom.c:172: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
bootcom.c: In function 'uploadData':
bootcom.c:200: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
bootcom.c:226: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
bootcom.c:226: warning: format '%i' expects type 'int', but argument 4 has type 'long unsigned int'
strip lpctool
boopfirmware/lpctool/trunk$ ./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
^C
---__---__---
---___-____--
Ich vermute es hängt an dem 36kHz TSOP den ich am PC zum samplen benutze.