Cyton V3 Firmware upgrade, detailed steps?

edited May 2018 in Cyton
Hello,

I've been having some difficulties updating my cyton from v1 firmware to v3. I was wondering if someone could take a look at what I am doing and tell me what I am doing wrong?

I have the daisy module attached and I am using the dongle (no wifi shield)

I am using Arduino 1.8.5

I have the following libraries installed:
Open_BCI_3bit_Library v. 3.1.1
Open_BCI_32bit_SD v. 2.0.0
OpenBCI_Wifi_Master 1.0.1

chipKIT v. 1.3.1

I am doing this on a mac

I follow the instructions here, under the heading "FIRMWARE VERSIONS 2.X.X & 3.X.X ... "

The first time I try to upload the sketch, I get a "no target found" error. So I use the radio config tool in the gui to make sure everything is on the same channel (from this thread). When I try to upload the sketch again I get another error message: "panic:runtime error: index out of range".

I have tried multiple orders of these steps: running the radio config tool, then opening arduino, then trying to upload the sketch as well as opening arduino, running the radio config tool, and then trying to upload the sketch. In all cases, I get a "no target found" for the first upload attempt and a panic runtime error for the second attempt.

If I try to verify and upload separately, the sketch verifies/compiles fine. When I click upload, we bypass the "no target found" error and go straight to the panic runtime error.

I hope this is enough info for someone to offer some suggestions. I'm not sure where to go from here in terms of troubleshooting. Any help is greatly appreciated!

Comments

  • wjcroftwjcroft Mount Shasta, CA
    Did you follow the steps of the upgrade process, and also upgrade the RFduino radios? The V3 firmware needs all three CPUs (chipKIT PIC32 main processor), and both RFduinos -- to be running the newer firmware.
  • Aha! I did not realize I also needed to update the RFduino radios! So I should follow the instructions here to bring everything to firmware v2 and then follow the steps for upgrading to v3?
  • wjcroftwjcroft Mount Shasta, CA
    https://github.com/OpenBCI/OpenBCI_32bit_Library/blob/master/UPGRADE_GUIDE.md

    You first upgrade the radios, then upgrade the PIC. You don't need to upgrade the PIC to V2, then V3, you can go direct to V3.
Sign In or Register to comment.