DCC DCC-MonitorDCC-SnifferDCC-PolarityRailcomLenzZ21Intellibox
Pfad: mknetz/Eisenbahn/Digital/DCC
Impressum
Autor: Klaus Merkert
Letzte Änderung dieser Seite: 29.12.2017 16:21:55 2601

Grundlagen

DCC-Schnüffel

mk@x2:~/Arbeitsfläche/Eisenbahn/dcc/DCCsniffer/bootloader$ avrdude -c usbasp -p m162 -u -U flash:w:bootloader.hex

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9404
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "bootloader.hex"
avrdude: input file bootloader.hex auto detected as Intel Hex
avrdude: writing flash (15832 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 15832 bytes of flash written
avrdude: verifying flash memory against bootloader.hex:
avrdude: load data flash data from input file bootloader.hex:
avrdude: input file bootloader.hex auto detected as Intel Hex
avrdude: input file bootloader.hex contains 15832 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 15832 bytes of flash verified

avrdude done.  Thank you.
mk@x2:~/Arbeitsfläche/Eisenbahn/dcc/DCCsniffer/SnifferV2.07$ avrdude -c avr910 -p m162 -P /dev/ttyUSB0 -U flash:w:DCCsniffer.hex -U eeprom:w:DCCsniffer.eep -u -b 19200

avrdude: avr910_recv(): programmer is not responding
mk@x2:~/Arbeitsfläche/Eisenbahn/dcc/DCCsniffer$ avrdude -c usbasp -p m162

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9404

avrdude: safemode: Fuses OK (H:FF, E:99, L:62)

avrdude done.  Thank you.
mk@x2:~/Arbeitsfläche/Eisenbahn/dcc/DCCsniffer/bootloader$ avrdude -c avrisp -P /dev/ttyUSB0 -p m162 -b 19200 -v

avrdude: Version 6.1, compiled on Nov 23 2014 at 21:15:40
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/home/mk/.avrduderc"

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : avrisp
         Overriding Baud Rate          : 19200
         AVR Part                      : ATmega162
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   128    0 yes     16384  128    128  4500  4500 0xff 0xff
           eeprom        65    20     4    0 no        512    4      0  9000  9000 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           lock           0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel AVR ISP
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9404
avrdude: safemode: lfuse reads as DF
avrdude: safemode: hfuse reads as 98
avrdude: safemode: efuse reads as F9

avrdude: safemode: lfuse reads as DF
avrdude: safemode: hfuse reads as 98
avrdude: safemode: efuse reads as F9
avrdude: safemode: Fuses OK (E:F9, H:98, L:DF)

avrdude done.  Thank you.
mk@x2:~/Arbeitsfläche/Eisenbahn/dcc/DCCsniffer/bootloader$ avrdude -c avrisp -P /dev/ttyUSB0 -p m162 -b 19200 -u -U flash:w:bootloader.hex -U eeprom:w:bootloader.eep -v

avrdude: Version 6.1, compiled on Nov 23 2014 at 21:15:40
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/home/mk/.avrduderc"

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : avrisp
         Overriding Baud Rate          : 19200
         AVR Part                      : ATmega162
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   128    0 yes     16384  128    128  4500  4500 0xff 0xff
           eeprom        65    20     4    0 no        512    4      0  9000  9000 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           lock           0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel AVR ISP
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9404
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "bootloader.hex"
avrdude: input file bootloader.hex auto detected as Intel Hex
avrdude: writing flash (15832 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 15832 bytes of flash written
avrdude: verifying flash memory against bootloader.hex:
avrdude: load data flash data from input file bootloader.hex:
avrdude: input file bootloader.hex auto detected as Intel Hex
avrdude: input file bootloader.hex contains 15832 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 15832 bytes of flash verified
avrdude: reading input file "bootloader.eep"
avrdude: input file bootloader.eep auto detected as Intel Hex
avrdude: writing eeprom (0 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 0 bytes of eeprom written
avrdude: verifying eeprom memory against bootloader.eep:
avrdude: load data eeprom data from input file bootloader.eep:
avrdude: input file bootloader.eep auto detected as Intel Hex
avrdude: input file bootloader.eep contains 0 bytes
avrdude: reading on-chip eeprom data:

Reading |                                                    | 0% 0.00sGleitkomma-Ausnahme (Speicherabzug geschrieben)

Links