CoreUSB Not Uploading Issue

From Microduino Wiki
Revision as of 20:24, 7 December 2016 by Sonny (talk) (Possible Fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Microduino / mCookie CoreUSB sometimes encounters problems where the serial port is no longer detectable. This makes it impossible to upload new sketches to. This issue can occur quite often and is related to the software serial implementation of the chip.

Symptoms

When plugging in the Microduino / mCookie CoreUSB the COM port is temporarily available or even not detectable.

Possible Fix

If the problem is related to the COM (serial port). Then this fix might fix the problem.

If the below fix does not work. Then re-burning of the CoreUSB boot-loader will be required to revive the CoreUSB.

Guide for Microduino CoreUSB

Please read all the steps below before performing the fix! Please contact Microduino Support if you have any questions

  • Plug in the Microduino CoreUSB with a MicroUSB wire to your Computer. Have nothing else attached to the CoreUSB. Just the CoreUSB by itself!
  • Open the Microduino IDE. Leave the default blank sketch open.
  • Under Tools->Board, select Microduino/mCookie-Core USB.
  • Under Tools->Processor, select USB.
  • Under Tools->Port, it should be un-selected. If it is selected please follow the guide Deselecting a COM Port. Once completed. Restart this guide.
  • Read this step carefully! Your goal is to use something to connect two pins. Grab a metal paper clip or something conductive. If you have a jumper wire you can use that. You will need to create a connection between two pins -- RST and GND. See image which shows the labeling of the pins. Make sure your orientation is correct and that the pins are correct. Connecting other pins can potentially damage the board.
  • Create the connection between the RST and GND pins:
  1. Wedge the paper clip between the two pins of the RST and GND pin.
  2. OR Connect a jumper wire between the RST and GND pin.
Jumper Wire Method
MD CoreUSB Fix1.jpg MD CoreUSB Fix3.jpg
Paper Clip Method
MD CoreUSB Fix2.jpg MD CoreUSB Fix4.jpg
  • With the paper clip still wedged or jumper wire still connected between the two pins. Go to the Microduino IDE and with the default blank sketch. Hit Upload (looks like a right arrow icon) on the top left.
  • It should say "Compiling sketch..." near the bottom left of the IDE. If you can a compiling error. Hit upload again until you get "Compiling sketch..." followed by an "Uploading..." message.
  • Once you see the "Uploading..." message. Remove the paper clip or jumper wire to disconnect the pins.
  • If successful you should get a "Done uploading." message.

Guide for mCookie CoreUSB

Please read all the steps below before performing the fix! Please contact Microduino Support if you have any questions

  • Plug in the mCookie CoreUSB with a MicroUSB wire to your Computer. Have nothing else attached to the CoreUSB. Just the CoreUSB by itself!
  • Open the Microduino IDE. Leave the default blank sketch open.
  • Under Tools->Board, select Microduino/mCookie-Core USB.
  • Under Tools->Processor, select USB.
  • Under Tools->Port, it should be un-selected. If it is selected please follow the guide Deselecting a COM Port. Once completed. Restart this guide.
  • Read this step carefully! Grab a metal paper clip or something conductive. Your goal is to use something to connect two pins. A metal paperclip works really well here. You will need to create a connection between two pins -- RST and GND. See image which shows the labeling of the pins. Make sure your orientation is correct and that the pins are correct. Connecting other pins can potentially damage the board.

CoreUSB Fix1.png

  • Wedge the paper clip between the two circle pads of the RST and GND pin.

CoreUSB Fix2.png

  • With the paper clip still wedged between the two pins. Go to the Microduino IDE and with the default blank sketch. Hit Upload (looks like a right arrow icon) on the top left.
  • It should say "Compiling sketch..." near the bottom left of the IDE. If you can a compiling error. Hit upload again until you get "Compiling sketch..." followed by an "Uploading..." message.
  • Once you see the "Uploading..." message. Remove the paper clip to disconnect the pins.
  • If successful you should get a "Done uploading." message.

Deselecting a COM Port

When attempting this fix. If you have a COM port select. This fix will not be successful. You will need to deselect the COM port following the steps below.

  • Open the Microduino IDE.
  • Arduino -> Preferences..
  • At the bottom of the window. You should see "More preferences can be edited directly in the file." There should be a clickable file location under that. Click that. That will open a folder. Open the "preferences.txt"
  • Close the Microduino IDE.
  • Go back to the "preferences.txt" Scroll down to find the lines:
serial.port=***********
serial.port.file=***********
  • Delete the values that are assigned to them so they will be
serial.port=
serial.port.file=
  • Save the file. Re-open the Microduino IDE. Check under Tools->Port. There should be nothing selected. Bottom right of the IDE should say "Microduino/mCookie-Core USB (32u4), USB on"
  • Restart the guide for your Microduino / mCookie CoreUSB