Advertisement
MoonshineSG

ATmega168P firmware for YOUYUE-858D+

Jul 7th, 2015
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.91 KB | None | 0 0
  1. $ avrdude -c usbasp -p atmega168p -v -U lfuse:w:0xE2:m -U hfuse:w:0xDD:m -U efuse:w:0x05:m -U lock:w:0x0F:m
  2.  
  3. avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55
  4. Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
  5. Copyright (c) 2007-2014 Joerg Wunsch
  6.  
  7. System wide configuration file is "/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf"
  8. User configuration file is "~/.avrduderc"
  9. User configuration file does not exist or is not a regular file, skipping
  10.  
  11. Using Port : usb
  12. Using Programmer : usbasp
  13. AVR Part : ATmega168P
  14. Chip Erase delay : 9000 us
  15. PAGEL : PD7
  16. BS2 : PC2
  17. RESET disposition : dedicated
  18. RETRY pulse : SCK
  19. serial program mode : yes
  20. parallel program mode : yes
  21. Timeout : 200
  22. StabDelay : 100
  23. CmdexeDelay : 25
  24. SyncLoops : 32
  25. ByteDelay : 0
  26. PollIndex : 3
  27. PollValue : 0x53
  28. Memory Detail :
  29.  
  30. Block Poll Page Polled
  31. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  32. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  33. eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
  34. flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
  35. lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  36. hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  37. efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  38. lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  39. calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
  40. signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
  41.  
  42. Programmer Type : usbasp
  43. Description : USBasp, http://www.fischl.de/usbasp/
  44.  
  45. avrdude: auto set sck period (because given equals null)
  46. avrdude: warning: cannot set sck period. please check for usbasp firmware update.
  47. avrdude: AVR device initialized and ready to accept instructions
  48.  
  49. Reading | ################################################## | 100% 0.00s
  50.  
  51. avrdude: Device signature = 0x1e940b
  52. avrdude: safemode: lfuse reads as E2
  53. avrdude: safemode: hfuse reads as DD
  54. avrdude: safemode: efuse reads as 5
  55. avrdude: reading input file "0xE2"
  56. avrdude: writing lfuse (1 bytes):
  57.  
  58. Writing | ################################################## | 100% 0.00s
  59.  
  60. avrdude: 1 bytes of lfuse written
  61. avrdude: verifying lfuse memory against 0xE2:
  62. avrdude: load data lfuse data from input file 0xE2:
  63. avrdude: input file 0xE2 contains 1 bytes
  64. avrdude: reading on-chip lfuse data:
  65.  
  66. Reading | ################################################## | 100% 0.00s
  67.  
  68. avrdude: verifying ...
  69. avrdude: 1 bytes of lfuse verified
  70. avrdude: reading input file "0xDD"
  71. avrdude: writing hfuse (1 bytes):
  72.  
  73. Writing | ################################################## | 100% 0.00s
  74.  
  75. avrdude: 1 bytes of hfuse written
  76. avrdude: verifying hfuse memory against 0xDD:
  77. avrdude: load data hfuse data from input file 0xDD:
  78. avrdude: input file 0xDD contains 1 bytes
  79. avrdude: reading on-chip hfuse data:
  80.  
  81. Reading | ################################################## | 100% 0.00s
  82.  
  83. avrdude: verifying ...
  84. avrdude: 1 bytes of hfuse verified
  85. avrdude: reading input file "0x05"
  86. avrdude: writing efuse (1 bytes):
  87.  
  88. Writing | ################################################## | 100% 0.00s
  89.  
  90. avrdude: 1 bytes of efuse written
  91. avrdude: verifying efuse memory against 0x05:
  92. avrdude: load data efuse data from input file 0x05:
  93. avrdude: input file 0x05 contains 1 bytes
  94. avrdude: reading on-chip efuse data:
  95.  
  96. Reading | ################################################## | 100% 0.00s
  97.  
  98. avrdude: verifying ...
  99. avrdude: 1 bytes of efuse verified
  100. avrdude: reading input file "0x0F"
  101. avrdude: writing lock (1 bytes):
  102.  
  103. Writing | ################################################## | 100% 0.00s
  104.  
  105. avrdude: 1 bytes of lock written
  106. avrdude: verifying lock memory against 0x0F:
  107. avrdude: load data lock data from input file 0x0F:
  108. avrdude: input file 0x0F contains 1 bytes
  109. avrdude: reading on-chip lock data:
  110.  
  111. Reading | ################################################## | 100% 0.00s
  112.  
  113. avrdude: verifying ...
  114. avrdude: 1 bytes of lock verified
  115.  
  116. avrdude: safemode: lfuse reads as E2
  117. avrdude: safemode: hfuse reads as DD
  118. avrdude: safemode: efuse reads as 5
  119. avrdude: safemode: Fuses OK (E:05, H:DD, L:E2)
  120.  
  121. avrdude done. Thank you.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. $ avrdude -v -patmega168p -cusbasp -Pusb -e -Uflash:w:youyue858d.cpp.hex
  134.  
  135. avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55
  136. Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
  137. Copyright (c) 2007-2014 Joerg Wunsch
  138.  
  139. System wide configuration file is "/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf"
  140. User configuration file is "~/.avrduderc"
  141. User configuration file does not exist or is not a regular file, skipping
  142.  
  143. Using Port : usb
  144. Using Programmer : usbasp
  145. AVR Part : ATmega168P
  146. Chip Erase delay : 9000 us
  147. PAGEL : PD7
  148. BS2 : PC2
  149. RESET disposition : dedicated
  150. RETRY pulse : SCK
  151. serial program mode : yes
  152. parallel program mode : yes
  153. Timeout : 200
  154. StabDelay : 100
  155. CmdexeDelay : 25
  156. SyncLoops : 32
  157. ByteDelay : 0
  158. PollIndex : 3
  159. PollValue : 0x53
  160. Memory Detail :
  161.  
  162. Block Poll Page Polled
  163. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  164. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  165. eeprom 65 20 4 0 no 512 4 0 3600 3600 0xff 0xff
  166. flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff
  167. lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  168. hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  169. efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  170. lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  171. calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
  172. signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
  173.  
  174. Programmer Type : usbasp
  175. Description : USBasp, http://www.fischl.de/usbasp/
  176.  
  177. avrdude: auto set sck period (because given equals null)
  178. avrdude: warning: cannot set sck period. please check for usbasp firmware update.
  179. avrdude: AVR device initialized and ready to accept instructions
  180.  
  181. Reading | ################################################## | 100% 0.00s
  182.  
  183. avrdude: Device signature = 0x1e940b
  184. avrdude: safemode: lfuse reads as E2
  185. avrdude: safemode: hfuse reads as DD
  186. avrdude: safemode: efuse reads as 5
  187. avrdude: erasing chip
  188. avrdude: auto set sck period (because given equals null)
  189. avrdude: warning: cannot set sck period. please check for usbasp firmware update.
  190. avrdude: reading input file "youyue858d.cpp.hex"
  191. avrdude: input file youyue858d.cpp.hex auto detected as Intel Hex
  192. avrdude: writing flash (5558 bytes):
  193.  
  194. Writing | ################################################## | 100% 3.78s
  195.  
  196. avrdude: 5558 bytes of flash written
  197. avrdude: verifying flash memory against youyue858d.cpp.hex:
  198. avrdude: load data flash data from input file youyue858d.cpp.hex:
  199. avrdude: input file youyue858d.cpp.hex auto detected as Intel Hex
  200. avrdude: input file youyue858d.cpp.hex contains 5558 bytes
  201. avrdude: reading on-chip flash data:
  202.  
  203. Reading | ################################################## | 100% 3.28s
  204.  
  205. avrdude: verifying ...
  206. avrdude: 5558 bytes of flash verified
  207.  
  208. avrdude: safemode: lfuse reads as E2
  209. avrdude: safemode: hfuse reads as DD
  210. avrdude: safemode: efuse reads as 5
  211. avrdude: safemode: Fuses OK (E:05, H:DD, L:E2)
  212.  
  213. avrdude done. Thank you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement