WordPress database error: [Disk got full writing 'information_schema.(temporary)' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `mb_options`


Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/rest-api/class-wp-rest-server.php on line 1896
{"id":1473,"date":"2012-11-02T00:39:28","date_gmt":"2012-11-02T03:39:28","guid":{"rendered":"http:\/\/wordpress.matbra.com\/?p=1473"},"modified":"2012-11-02T00:39:28","modified_gmt":"2012-11-02T03:39:28","slug":"programando-atmega8u2-no-arduino-uno-utilizando-usb-asp","status":"publish","type":"post","link":"https:\/\/wordpress.matbra.com\/en\/2012\/11\/02\/programando-atmega8u2-no-arduino-uno-utilizando-usb-asp\/","title":{"rendered":"Programming atmega8u2 on Arduino Uno using USB Asp"},"content":{"rendered":"

Hello,<\/p>\n

Recently my Arduino UNO stopped to be recognized by computer (using USB), I tried a few stuffs: <\/p>\n

– Changed the Atmega328
\n– Rewrite bootloader
\n– Tested the controller on other board
\n– Measure the connection between a few pins using a multimeter<\/p>\n

Nothing worked, so I decided to try to update the atmega8u2 firmware that is responsible to control de USB connection, I found two articles that I used as base:
\nUpdating the Atmega8U2 on an Uno or Mega2560 using DFU <\/a> e tamb\u00e9m How to upgrade atmega8u2 firmware<\/a> <\/p>\n

Both of them used solutions that needs to soldering a resistor on the board, but I don’t want to solder anything to the board, so I checked next to the atmega8u2 exists the ICSP pins, so I decided to try to burn the bootloader using them. Just to prevent other disaster I removed my atmega328 from board and connected the USB ASP to the ICSP pins. (Remember that the PIN 1 has a number or a little mark near it, mine had a small white circle)<\/p>\n

\"\"<\/a><\/p>\n

After that, I accessed the dir that contains atmega8u2 hex of Arduino Uno (\/arduino\/hardware\/arduino\/firmware), and then I tried to rewrite the bootloader:<\/p>\n

sudo avrdude -c usbasp -p m8 -u -U flash:w:UNO-dfu_and_usbserial_combined.hex<\/p><\/blockquote>\n

It didn’t worked because it is a atmega8u2 and I was trying to write it with atmega8 the error was:<\/p>\n

avrdude: Yikes! Invalid device signature. <\/p><\/blockquote>\n

So I did a little more research and I discover that at90usb162 is almost the same, so I decided to take a shot with force (-F) option<\/p>\n

sudo avrdude -c usbasp -p usb162 -u -U flash:w:UNO-dfu_and_usbserial_combined.hex -F<\/p><\/blockquote>\n

I waited it to burn, turn arduino uno off, connected my atmega328 and then turn it on and my USB just showed up on my computer, so now I can program my Arduino UNO using USB again.<\/p>\n

Matheus<\/p>\n

PS: Right after the booloader update I tried to Upload a Sketch to atmega328 without sucess, it was out of sync, so I tried to rewrite the bootloader of atmega328, and then everything started to work.<\/p>\n

References:
\n
http:\/\/8515.avrfreaks.net\/index.php?name=PNphpBB2&file=viewtopic&p=688637
\n<\/a>
http:\/\/image.pinout.net\/pinout_10_pin_files\/connector_pinout.php?image=avr_icsp.png&pinout=%20This%20a%20pinout%20of%20the%20AVR%20ICSP%20header.%20(6-pin%20&%2010-pin)
\n<\/a><\/p>\n

<\/p>","protected":false},"excerpt":{"rendered":"

Hello, Recently my Arduino UNO stopped to be recognized by computer (using USB), I tried a few stuffs: – Changed the Atmega328 – Rewrite bootloader…<\/p>\n