Advertisement
Guest User

Unable to connect to stk600 with avrdude

a guest
Apr 18th, 2012
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.00 KB | None | 0 0
  1. hayden@hayden-laptop:~/Documents/UCI/Fundamentals/dev/ISRDemo$ avrdude -p atmega2560 -c stk600 -P usb -t -vvvv
  2.  
  3. avrdude: Version 5.10, compiled on Mar 23 2010 at 15:03:00
  4. Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
  5. Copyright (c) 2007-2009 Joerg Wunsch
  6.  
  7. System wide configuration file is "/etc/avrdude.conf"
  8. User configuration file is "/home/hayden/.avrduderc"
  9. User configuration file does not exist or is not a regular file, skipping
  10.  
  11. Using Port : usb
  12. Using Programmer : stk600
  13. avrdude: usbdev_open(): Found STK600, serno: 0045E550839C
  14. avrdude: usbdev_open(): using read endpoint 0x83
  15. avrdude: Sent: . [01]
  16. avrdude: Recv: . [01] . [00] . [06] S [53] T [54] K [4b] 6 [36] 0 [30] 0 [30]
  17. avrdude: stk500v2_getsync(): found STK600 programmer
  18. AVR Part : ATMEGA2560
  19. Chip Erase delay : 9000 us
  20. PAGEL : PD7
  21. BS2 : PA0
  22. RESET disposition : dedicated
  23. RETRY pulse : SCK
  24. serial program mode : yes
  25. parallel program mode : yes
  26. Timeout : 200
  27. StabDelay : 100
  28. CmdexeDelay : 25
  29. SyncLoops : 32
  30. ByteDelay : 0
  31. PollIndex : 3
  32. PollValue : 0x53
  33. Memory Detail :
  34.  
  35. Block Poll Page Polled
  36. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  37. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  38. eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
  39. Block Poll Page Polled
  40. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  41. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  42. flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
  43. Block Poll Page Polled
  44. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  45. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  46. lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  47. Block Poll Page Polled
  48. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  49. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  50. hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  51. Block Poll Page Polled
  52. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  53. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  54. efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  55. Block Poll Page Polled
  56. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  57. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  58. lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  59. Block Poll Page Polled
  60. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  61. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  62. calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
  63. Block Poll Page Polled
  64. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  65. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  66. signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
  67.  
  68. Programmer Type : STK600
  69. Description : Atmel STK600
  70. Programmer Model: STK600
  71. avrdude: Sent: . [03] . [90]
  72. avrdude: Recv: . [03] . [00] . [03]
  73. avrdude: Sent: . [03] . [91]
  74. avrdude: Recv: . [03] . [00] . [02]
  75. avrdude: Sent: . [03] . [92]
  76. avrdude: Recv: . [03] . [00] . [06]
  77. Hardware Version: 3
  78. Firmware Version Master : 2.06
  79. avrdude: Sent: . [03] . [a8]
  80. avrdude: Recv: . [03] . [00] . [02]
  81. avrdude: Sent: . [03] . [a9]
  82. avrdude: Recv: . [03] . [00] . [01]
  83. avrdude: Sent: . [03] . [aa]
  84. avrdude: Recv: . [03] . [00] . [02]
  85. avrdude: Sent: . [03] . [ab]
  86. avrdude: Recv: . [03] . [00] . [00]
  87. Firmware Version Slave 1: 2.01
  88. Firmware Version Slave 2: 2.00
  89. avrdude: Sent: . [03] . [a6]
  90. avrdude: Recv: . [03] . [00] . [ff]
  91. Routing card : Not present
  92. avrdude: Sent: . [03] . [a5]
  93. avrdude: Recv: . [03] . [00] . [0f]
  94. Socket card : STK600-ATMEGA2560
  95. avrdude: Sent: . [03] . [c8]
  96. avrdude: Recv: . [03] . [00] . [00] . [1a]
  97. RC_ID table rev : 26
  98. avrdude: Sent: . [03] . [c9]
  99. avrdude: Recv: . [03] . [00] . [00] . [01]
  100. EC_ID table rev : 1
  101. avrdude: Sent: . [03] . [94]
  102. avrdude: Recv: . [03] . [00] 2 [32]
  103. Vtarget : 5.0 V
  104. avrdude: Sent: . [03] . [c2]
  105. avrdude: Recv: . [03] . [00] . [01] . [f3]
  106. Varef 0 : 4.99 V
  107. avrdude: Sent: . [03] . [c3]
  108. avrdude: Recv: . [03] . [00] . [00] . [00]
  109. Varef 1 : 0.00 V
  110. avrdude: Sent: . [03] . [c0]
  111. avrdude: Recv: . [03] . [00] . [00] . [19]
  112. SCK period : 3.25 us
  113. avrdude: Sent: . [03] . [c1]
  114. avrdude: Recv: . [03] . [00] . [ce] . [f8]
  115. Oscillator : 7.996 MHz
  116.  
  117. avrdude: Sent: . [02] . [9e] . [01]
  118. avrdude: Recv: . [02] . [00]
  119. avrdude: Sent: . [0d]
  120. avrdude: Recv: . [0d] . [00] . [10]
  121. avrdude: Sent: . [10] . [c8] d [64] . [19] [20] . [00] S [53] . [03] . [ac] S [53] . [00] . [00]
  122. avrdude: Recv: . [10] . [c0]
  123. avrdude: stk500v2_command(): command failed
  124. avrdude: Sent: . [0d]
  125. avrdude: Recv: . [0d] . [00] . [00]
  126. avrdude: stk500v2_program_enable(): bad STK600 connection status: Target not detected (0x00)
  127. avrdude: initialization failed, rc=-1
  128. Double check connections and try again, or use -F to override
  129. this check.
  130.  
  131. avrdude: Sent: . [11] . [01] . [01]
  132. avrdude: Recv: . [11] . [00]
  133.  
  134. avrdude done. Thank you.
  135.  
  136. hayden@hayden-laptop:~/Documents/UCI/Fundamentals/dev/ISRDemo$ avrdude -p atmega2560 -c stk600 -P usb -U flash:w:isrdemo.hex:i -vvvv
  137.  
  138. avrdude: Version 5.10, compiled on Mar 23 2010 at 15:03:00
  139. Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
  140. Copyright (c) 2007-2009 Joerg Wunsch
  141.  
  142. System wide configuration file is "/etc/avrdude.conf"
  143. User configuration file is "/home/hayden/.avrduderc"
  144. User configuration file does not exist or is not a regular file, skipping
  145.  
  146. Using Port : usb
  147. Using Programmer : stk600
  148. avrdude: usbdev_open(): Found STK600, serno: 0045E550839C
  149. avrdude: usbdev_open(): using read endpoint 0x83
  150. avrdude: Sent: . [01]
  151. avrdude: Recv: . [01] . [00] . [06] S [53] T [54] K [4b] 6 [36] 0 [30] 0 [30]
  152. avrdude: stk500v2_getsync(): found STK600 programmer
  153. AVR Part : ATMEGA2560
  154. Chip Erase delay : 9000 us
  155. PAGEL : PD7
  156. BS2 : PA0
  157. RESET disposition : dedicated
  158. RETRY pulse : SCK
  159. serial program mode : yes
  160. parallel program mode : yes
  161. Timeout : 200
  162. StabDelay : 100
  163. CmdexeDelay : 25
  164. SyncLoops : 32
  165. ByteDelay : 0
  166. PollIndex : 3
  167. PollValue : 0x53
  168. Memory Detail :
  169.  
  170. Block Poll Page Polled
  171. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  172. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  173. eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
  174. Block Poll Page Polled
  175. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  176. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  177. flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
  178. Block Poll Page Polled
  179. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  180. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  181. lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  182. Block Poll Page Polled
  183. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  184. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  185. hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  186. Block Poll Page Polled
  187. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  188. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  189. efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  190. Block Poll Page Polled
  191. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  192. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  193. lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
  194. Block Poll Page Polled
  195. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  196. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  197. calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
  198. Block Poll Page Polled
  199. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  200. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  201. signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
  202.  
  203. Programmer Type : STK600
  204. Description : Atmel STK600
  205. Programmer Model: STK600
  206. avrdude: Sent: . [03] . [90]
  207. avrdude: Recv: . [03] . [00] . [03]
  208. avrdude: Sent: . [03] . [91]
  209. avrdude: Recv: . [03] . [00] . [02]
  210. avrdude: Sent: . [03] . [92]
  211. avrdude: Recv: . [03] . [00] . [06]
  212. Hardware Version: 3
  213. Firmware Version Master : 2.06
  214. avrdude: Sent: . [03] . [a8]
  215. avrdude: Recv: . [03] . [00] . [02]
  216. avrdude: Sent: . [03] . [a9]
  217. avrdude: Recv: . [03] . [00] . [01]
  218. avrdude: Sent: . [03] . [aa]
  219. avrdude: Recv: . [03] . [00] . [02]
  220. avrdude: Sent: . [03] . [ab]
  221. avrdude: Recv: . [03] . [00] . [00]
  222. Firmware Version Slave 1: 2.01
  223. Firmware Version Slave 2: 2.00
  224. avrdude: Sent: . [03] . [a6]
  225. avrdude: Recv: . [03] . [00] . [ff]
  226. Routing card : Not present
  227. avrdude: Sent: . [03] . [a5]
  228. avrdude: Recv: . [03] . [00] . [0f]
  229. Socket card : STK600-ATMEGA2560
  230. avrdude: Sent: . [03] . [c8]
  231. avrdude: Recv: . [03] . [00] . [00] . [1a]
  232. RC_ID table rev : 26
  233. avrdude: Sent: . [03] . [c9]
  234. avrdude: Recv: . [03] . [00] . [00] . [01]
  235. EC_ID table rev : 1
  236. avrdude: Sent: . [03] . [94]
  237. avrdude: Recv: . [03] . [00] 2 [32]
  238. Vtarget : 5.0 V
  239. avrdude: Sent: . [03] . [c2]
  240. avrdude: Recv: . [03] . [00] . [01] . [f3]
  241. Varef 0 : 4.99 V
  242. avrdude: Sent: . [03] . [c3]
  243. avrdude: Recv: . [03] . [00] . [00] . [00]
  244. Varef 1 : 0.00 V
  245. avrdude: Sent: . [03] . [c0]
  246. avrdude: Recv: . [03] . [00] . [00] . [19]
  247. SCK period : 3.25 us
  248. avrdude: Sent: . [03] . [c1]
  249. avrdude: Recv: . [03] . [00] . [ce] . [f8]
  250. Oscillator : 7.996 MHz
  251.  
  252. avrdude: Sent: . [02] . [9e] . [01]
  253. avrdude: Recv: . [02] . [00]
  254. avrdude: Sent: . [0d]
  255. avrdude: Recv: . [0d] . [00] . [10]
  256. avrdude: Sent: . [10] . [c8] d [64] . [19] [20] . [00] S [53] . [03] . [ac] S [53] . [00] . [00]
  257. avrdude: Recv: . [10] . [c0]
  258. avrdude: stk500v2_command(): command failed
  259. avrdude: Sent: . [0d]
  260. avrdude: Recv: . [0d] . [00] . [00]
  261. avrdude: stk500v2_program_enable(): bad STK600 connection status: Target not detected (0x00)
  262. avrdude: initialization failed, rc=-1
  263. Double check connections and try again, or use -F to override
  264. this check.
  265.  
  266. avrdude: Sent: . [11] . [01] . [01]
  267. avrdude: Recv: . [11] . [00]
  268.  
  269. avrdude done. Thank you.
  270.  
  271. ]0;hayden@hayden-laptop: ~/Documents/UCI/Fundamentals/dev/ISRDemohayden@hayden-laptop:~/Documents/UCI/Fundamentals/dev/ISRDemo$ eixit
  272. exit
  273.  
  274. Script done on Tue 17 Apr 2012 11:19:31 PM PDT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement