Shaheers

Atmega328PB bootloader burning w Arduino as ISP

May 19th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.12 KB | None | 0 0
  1.  
  2. But some times when i using Arduino as ISP it works
  3. [code]C:\Users\mubas\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/bin/avrdude -CC:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/avrdude.conf -v -patmega328pb -carduino -PCOM4 -b19200 -e -Ulock:w:0x3f:m -Uefuse:w:0b11110101:m -Uhfuse:w:0xd6:m -Ulfuse:w:0b11111111:m
  4.  
  5. avrdude: Version 6.3-20171130
  6. Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
  7. Copyright (c) 2007-2014 Joerg Wunsch
  8.  
  9. System wide configuration file is "C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/avrdude.conf"
  10.  
  11. Using Port : COM4
  12. Using Programmer : arduino
  13. Overriding Baud Rate : 19200
  14. AVR Part : ATmega328PB
  15. Chip Erase delay : 9000 us
  16. PAGEL : PD7
  17. BS2 : PC2
  18. RESET disposition : dedicated
  19. RETRY pulse : SCK
  20. serial program mode : yes
  21. parallel program mode : yes
  22. Timeout : 200
  23. StabDelay : 100
  24. CmdexeDelay : 25
  25. SyncLoops : 32
  26. ByteDelay : 0
  27. PollIndex : 3
  28. PollValue : 0x53
  29. Memory Detail :
  30.  
  31. Block Poll Page Polled
  32. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  33. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  34. eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
  35. flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
  36. lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  37. hfuse 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. efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  42.  
  43. Programmer Type : Arduino
  44. Description : Arduino
  45. Hardware Version: 2
  46. Firmware Version: 1.18
  47. Topcard : Unknown
  48. Vtarget : 0.0 V
  49. Varef : 0.0 V
  50. Oscillator : Off
  51. SCK period : 0.1 us
  52.  
  53. avrdude: AVR device initialized and ready to accept instructions
  54.  
  55. Reading | ################################################## | 100% 0.01s
  56.  
  57. avrdude: Device signature = 0x1e9516 (probably m328pb)
  58. avrdude: erasing chip
  59. avrdude: reading input file "0x3f"
  60. avrdude: writing lock (1 bytes):
  61.  
  62. Writing | ################################################## | 100% 0.01s
  63.  
  64. avrdude: 1 bytes of lock written
  65. avrdude: verifying lock memory against 0x3f:
  66. avrdude: load data lock data from input file 0x3f:
  67. avrdude: input file 0x3f contains 1 bytes
  68. avrdude: reading on-chip lock data:
  69.  
  70. Reading | ################################################## | 100% 0.01s
  71.  
  72. avrdude: verifying ...
  73. avrdude: 1 bytes of lock verified
  74. avrdude: reading input file "0b11110101"
  75. avrdude: writing efuse (1 bytes):
  76.  
  77. Writing | ################################################## | 100% 0.01s
  78.  
  79. avrdude: 1 bytes of efuse written
  80. avrdude: verifying efuse memory against 0b11110101:
  81. avrdude: load data efuse data from input file 0b11110101:
  82. avrdude: input file 0b11110101 contains 1 bytes
  83. avrdude: reading on-chip efuse data:
  84.  
  85. Reading | ################################################## | 100% 0.01s
  86.  
  87. avrdude: verifying ...
  88. avrdude: 1 bytes of efuse verified
  89. avrdude: reading input file "0xd6"
  90. avrdude: writing hfuse (1 bytes):
  91.  
  92. Writing | ################################################## | 100% 0.02s
  93.  
  94. avrdude: 1 bytes of hfuse written
  95. avrdude: verifying hfuse memory against 0xd6:
  96. avrdude: load data hfuse data from input file 0xd6:
  97. avrdude: input file 0xd6 contains 1 bytes
  98. avrdude: reading on-chip hfuse data:
  99.  
  100. Reading | ################################################## | 100% 0.01s
  101.  
  102. C:\Users\mubas\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/bin/avrdude avrdude: verifying ...
  103. avrdude: 1 bytes of hfuse verified
  104. -CC:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/avrdude.conf avrdude: reading input file "0b11111111"
  105. -v avrdude: writing lfuse (1 bytes):
  106. -patmega328pb
  107. -carduino Writing | ################################################## | 100% 0.01s
  108.  
  109. -PCOM4 avrdude: 1 bytes of lfuse written
  110. -b19200 avrdude: verifying lfuse memory against 0b11111111:
  111. -Uflash:w:C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/bootloaders/optiboot_flash/bootloaders/atmega328pb/16000000L/optiboot_flash_atmega328pb_UART0_115200_16000000L.hex:i avrdude: load data lfuse data from input file 0b11111111:
  112. -Ulock:w:0x0f:m avrdude: input file 0b11111111 contains 1 bytes
  113.  
  114. avrdude: reading on-chip lfuse data:
  115.  
  116. Reading | ################################################## | 100% 0.01s
  117.  
  118. avrdude: verifying ...
  119. avrdude: 1 bytes of lfuse verified
  120.  
  121. avrdude done. Thank you.
  122.  
  123.  
  124. avrdude: Version 6.3-20171130
  125. Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
  126. Copyright (c) 2007-2014 Joerg Wunsch
  127.  
  128. System wide configuration file is "C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/avrdude.conf"
  129.  
  130. Using Port : COM4
  131. Using Programmer : arduino
  132. Overriding Baud Rate : 19200
  133. AVR Part : ATmega328PB
  134. Chip Erase delay : 9000 us
  135. PAGEL : PD7
  136. BS2 : PC2
  137. RESET disposition : dedicated
  138. RETRY pulse : SCK
  139. serial program mode : yes
  140. parallel program mode : yes
  141. Timeout : 200
  142. StabDelay : 100
  143. CmdexeDelay : 25
  144. SyncLoops : 32
  145. ByteDelay : 0
  146. PollIndex : 3
  147. PollValue : 0x53
  148. Memory Detail :
  149.  
  150. Block Poll Page Polled
  151. Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
  152. ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
  153. eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
  154. flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
  155. lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  156. hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  157. lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  158. calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
  159. signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
  160. efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
  161.  
  162. Programmer Type : Arduino
  163. Description : Arduino
  164. Hardware Version: 2
  165. Firmware Version: 1.18
  166. Topcard : Unknown
  167. Vtarget : 0.0 V
  168. Varef : 0.0 V
  169. Oscillator : Off
  170. SCK period : 0.1 us
  171.  
  172. avrdude: AVR device initialized and ready to accept instructions
  173.  
  174. Reading | ################################################## | 100% 0.00s
  175.  
  176. avrdude: Device signature = 0x1e9516 (probably m328pb)
  177. avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
  178. To disable this feature, specify the -D option.
  179. avrdude: erasing chip
  180. avrdude: reading input file "C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/bootloaders/optiboot_flash/bootloaders/atmega328pb/16000000L/optiboot_flash_atmega328pb_UART0_115200_16000000L.hex"
  181. avrdude: writing flash (32768 bytes):
  182.  
  183. Writing | ################################################## | 100% 0.00s
  184.  
  185. avrdude: 32768 bytes of flash written
  186. avrdude: verifying flash memory against C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/bootloaders/optiboot_flash/bootloaders/atmega328pb/16000000L/optiboot_flash_atmega328pb_UART0_115200_16000000L.hex:
  187. avrdude: load data flash data from input file C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/bootloaders/optiboot_flash/bootloaders/atmega328pb/16000000L/optiboot_flash_atmega328pb_UART0_115200_16000000L.hex:
  188. avrdude: input file C:\Users\mubas\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.0.2/bootloaders/optiboot_flash/bootloaders/atmega328pb/16000000L/optiboot_flash_atmega328pb_UART0_115200_16000000L.hex contains 32768 bytes
  189. avrdude: reading on-chip flash data:
  190.  
  191. Reading | ################################################## | 100% 0.00s
  192.  
  193. avrdude: verifying ...
  194. avrdude: 32768 bytes of flash verified
  195. avrdude: reading input file "0x0f"
  196. avrdude: writing lock (1 bytes):
  197.  
  198. Writing | ################################################## | 100% 0.02s
  199.  
  200. avrdude: 1 bytes of lock written
  201. avrdude: verifying lock memory against 0x0f:
  202. avrdude: load data lock data from input file 0x0f:
  203. avrdude: input file 0x0f contains 1 bytes
  204. avrdude: reading on-chip lock data:
  205.  
  206. Reading | ################################################## | 100% 0.01s
  207.  
  208. avrdude: verifying ...
  209. avrdude: 1 bytes of lock verified
  210.  
  211. avrdude done. Thank you.
  212.  
  213. [/code]
Add Comment
Please, Sign In to add comment