Skip to content
Leon Kiefer edited this page Jun 6, 2021 · 5 revisions

I can't upload a new Sketch to my SparkFun Pro Micro

  1. read on how to reset to Bootloader
  2. Reset the Pro Micro to bootloader
  3. While the Pro Micro is in the bootloader, set the Serial Port to the COM port of the bootloader.
  4. Wait eight seconds so Pro Micro is in user mode again
  5. Upload your sketch
  6. While the upload is in progress, reset the Pro Micro to bootloader
  7. If the upload fails, retry the last two steps, the timing is very important

I'm getting the error 'CorsairLightingProtocolHID' does not name a type; did you mean 'CorsairLightingProtocolSerial'?

Look at step 2 of the Getting Started, and make sure you have selected a CLP Board before compiling.

I'm getting the error panic: runtime error: invalid memory address or nil pointer dereference

Make sure you have installed CLP Boards and the original board you are uploading to, e.g. SparkFun Boards. Go to the CLP Boards documentation to find the links to all the supported boards you may need to install.

The upload worked just fine, but iCUE does not detect the device.

Make sure you have installed and selected the CLP Boards in Arduino IDE before uploading the code. See the second step in the setup guide.