avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] avrdude reads x128a1 but do not like to write


From: avrdude
Subject: [avrdude-dev] avrdude reads x128a1 but do not like to write
Date: Thu, 25 Nov 2010 16:22:58 +0100
User-agent: KMail/1.9.6 (enterprise 20070904.708012)

Hallo Avrdudes,
I write a configuration and test tool for a pcb with two x128a1 controller.
So your command option -Pusb:05:50 is a fine feature to run two avrdude in 
parallel.
But I hava allready a problem at running a single avrdude yet!
This Tool allready call avrdude and its working fine while I'm reading from 
x128a1
via jtag mkII:
=====================================programm output=====
(164943995)o:avrdude -cjtag2 -px128a1 -Pusb:05:50 -Uapplication:r:~test1.bin:r 
-Uapptab:r:~test1t.bin:r -Uapptab:r:~test1b.bin:r"
(40987|13263)o:---avrdude1--output--------------
(40987|13263)o:avrdude: AVR device initialized and ready to accept 
instructions
(40987|13263)o:
(40987|13263)o:Reading | ################################################## | 
100% 0.28s
(40987|13263)o:
(40987|13263)o:avrdude: Device signature = 0x1e974c
(40987|13263)o:avrdude: reading application memory:
(40987|13263)o:
(40987|13263)o:Reading | ################################################## | 
100% 10.24s
(40987|13263)o:
(40987|13263)o:avrdude: writing output file "~test1.bin"
(40987|13263)o:avrdude: reading apptable memory:
(40987|13263)o:
(40987|13263)o:Reading | ################################################## | 
100% 0.64s
(40987|13263)o:
(40987|13263)o:avrdude: writing output file "~test1t.bin"
(40987|13263)o:avrdude: reading apptable memory:
(40987|13263)o:
(40987|13263)o:Reading | ################################################## | 
100% 0.64s
(40987|13263)o:
(40987|13263)o:avrdude: writing output file "~test1b.bin"
(40987|13263)o:
(40987|13263)o:avrdude done. Thank you.
(40987|13263)o:------------------
(40994|0007)o:avrdude1 done exit=0 status=0 n=200
=====================================programm output ende=====

its working fine!

But if I try to write "application" memory it's not working!
Have somebody a idea, whats going wrong here???

=====================================program output============
(18873|1700)o: avrdude -cjtag2 -px128a1 -Pusb:05:50  \
    -u -v -U application:w:../../avr/u_grid/program/u_grid101122_1.hex \
   -U fuse0:w:0xFF:m -U fuse1:w:0x0A:m -U fuse2:w:0x4A:m -U fuse4:w:0x00:m \
   -U fuse5:w:0x22:m
(18873|1760)o:---avrdude1--output--------------
(18873|1760)o:avrdude: Version 5.10, compiled on Oct 20 2010 at 10:39:12
(18873|1760)o: Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
(18873|1760)o: Copyright (c) 2007-2009 Joerg Wunsch
(18873|1760)o:
(18873|1760)o: System wide configuration file is "/usr/local/etc/avrdude.conf"
(18873|1760)o: User configuration file is "/home/axel/.avrduderc"
(18873|1760)o: User configuration file does not exist or is not a regular 
file, skipping
(18873|1760)o:
(18873|1760)o: Using Port : usb:05:50
(18873|1760)o: Using Programmer : jtag2
(18873|1760)o:avrdude: usbdev_open(): Found JTAGICE mkII, serno: 070000000550
(18873|1760)o:JTAG ICE mkII sign-on message:
(18873|1760)o:Communications protocol version: 1
(18873|1760)o:M_MCU:
(18873|1760)o: boot-loader FW version: 255
(18873|1760)o: firmware version: 5.44
(18873|1760)o: hardware version: 0
(18873|1760)o:S_MCU:
(18873|1760)o: boot-loader FW version: 255
(18873|1760)o: firmware version: 5.44
(18873|1760)o: hardware version: 1
(18873|1760)o:Serial number: 07:00:00:00:05:50
(18873|1760)o:Device ID: JTAGICEmkII
(18873|1760)o: AVR Part : ATXMEGA128A1
(18873|1760)o: Chip Erase delay : 0 us
(18873|1760)o: PAGEL : P00
(18873|1760)o: BS2 : P00
(18873|1760)o: RESET disposition : dedicated
(18873|1760)o: RETRY pulse : SCK
(18873|1760)o: serial program mode : yes
(18873|1760)o: parallel program mode : yes
(18873|1760)o: Timeout : 0
(18873|1760)o: StabDelay : 0
(18873|1760)o: CmdexeDelay : 0
(18873|1760)o: SyncLoops : 0
(18873|1760)o: ByteDelay : 0
(18873|1760)o: PollIndex : 0
(18873|1760)o: PollValue : 0x00
(18873|1760)o: Memory Detail :
(18873|1760)o:
(18873|1760)o: Block Poll Page Polled
(18873|1760)o: Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW 
MaxW ReadBack
(18873|
1760)o: ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- 
---------
(18873|1760)o: eeprom 0 0 0 0 no 2048 32 0 0 0 0x00 0x00
(18873|1760)o: application 0 0 0 0 no 131072 256 0 0 0 0x00 0x00
(18873|1760)o: apptable 0 0 0 0 no 8192 256 0 0 0 0x00 0x00
(18873|1760)o: boot 0 0 0 0 no 8192 256 0 0 0 0x00 0x00
(18873|1760)o: flash 0 0 0 0 no 139264 256 0 0 0 0x00 0x00
(18873|1760)o: prodsig 0 0 0 0 no 512 256 0 0 0 0x00 0x00
(18873|1760)o: usersig 0 0 0 0 no 512 256 0 0 0 0x00 0x00
(18873|1760)o: signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
(18873|1760)o: fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00
(18873|1760)o: fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00
(18873|1760)o: fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00
(18873|1760)o: fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00
(18873|1760)o: fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00
(18873|1760)o: lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00
(18873|1760)o:
(18873|1760)o: Programmer Type : JTAGMKII
(18873|1760)o: Description : Atmel JTAG ICE mkII
(18873|1760)o: M_MCU hardware version: 0
(18873|1760)o: M_MCU firmware version: 5.44
(18873|1760)o: S_MCU hardware version: 1
(18873|1760)o: S_MCU firmware version: 5.44
(18873|1760)o: Serial number: 07:00:00:00:05:50
(18873|1760)o: Vtarget : 3.8 V
(18873|1760)o: JTAG clock : 891.7 kHz (1.1 us)
(18873|1760)o:
(18873|1760)o:JTAG ICE mkII sign-on message:
(18873|1760)o:Communications protocol version: 1
(18873|1760)o:M_MCU:
(18873|1760)o: boot-loader FW version: 255
(18873|1760)o: firmware version: 5.44
(18873|1760)o: hardware version: 0
(18873|1760)o:S_MCU:
(18873|1760)o: boot-loader FW version: 255
(18873|1760)o: firmware version: 5.44
(18873|1760)o: hardware version: 1
(18873|1760)o:Serial number: 07:00:00:00:05:50
(18873|1760)o:Device ID: JTAGICEmkII
(18873|1760)o:avrdude: AVR device initialized and ready to accept instructions
(18873|1760)o:
(18873|1760)o:Reading | ################################################## | 
100% 0.28s
(18873|1760)o:
(18873|1760)o:avrdude: Device signature = 0x1e974c
(18873|1760)o:" application" memory type not defined for part "ATXMEGA128A1"
(18873|1760)o:
(18873|1760)o:avrdude done. Thank you.
(18873|1760)o:------------------
(18900|0027)o:avrdude1 done exit=1 status=0 n=51
========program output end===============================

Maybe somebody can help me?
best regards
axel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]