Uploading V1/V2 firmware "read page failed"

edited April 2017 in Cyton
Hi guys it has been a while (almost a year) since I have done any work on the OpenBCI projects, I have lost where I was up to so I was wanting to start from scratch which requires me to re upload the 32 bit software to the board. It seems that all the links I had saved for uploading the code are all broken now and I have totally forgotten the process, can someone direct me to the pages that explained uploading the software etc please. Thanks in advance.
«1

Comments

  • OK so found this but all of the links just go to the welcome page. 

    https://github.com/OpenBCI/OpenBCI_32bit_Library/blob/master/UPGRADE_GUIDE.md
  • wjcroftwjcroft Mount Shasta, CA
    Adam, hi.

    If your V1 firmware is working fine, it is not required to upgrade to V2.

    Because the V2 firmware upgrade needs to upload to all three microcontrollers (dongle RFduino, mainboard, mainboard RFduino), the process takes a number of steps and time. That is the document link you provided above.

    William


  • wjcroftwjcroft Mount Shasta, CA
    edited February 2017
    Upload tutorials are now here see links on this page, in left column,

    http://docs.openbci.com/Hardware/01-OpenBCI_Hardware

  • Hi thanks for the reply, it failed checksum every time, on testing channel 2 and 7 from http://docs.openbci.com/Tutorials/01-Cyton_Getting Started_Guide there is no activity at all and 2 and 7say RAILED, I am hoping this is because the checksum failed and it is just a case of keep trying to upload.
  • edited February 2017
    Verify flash: ................................................Read page failed.
    invalid reply checksum

    Now I am getting no target found constantly
  • wjcroftwjcroft Mount Shasta, CA
    What are you trying to upload, are you attempting to upgrade to V2? Have you done that in the proper sequence as shown? Radios must upgrade first.

  • No I am uploading the V1 which I downloaded the first time I was uploading.
  • Target not found stopped after I unplugged the dongle and put it back in but cannot get around 


    Verify flash: ................................................Read page failed.
    invalid reply checksum
  • Here is the full output


    Programmer for Microchip PIC32 microcontrollers, Version 2.0.183
        Copyright: (C) 2011-2015 Serge Vakulenko
          Adapter: STK500v2 Bootloader
     Program area: 1d000000-1d1fffff
        Processor: Bootloader
     Flash memory: 2048 kbytes
      Boot memory: 80 kbytes
             Data: 96368 bytes
            Erase: done
    Program flash: ................................................################################################# done
     Verify flash: ................................................invalid reply checksum
    Read page failed.

  • Yer that does not appear to help as the links linked there are dead, but if it is the install guide yes I have followed that.
  • wjcroftwjcroft Mount Shasta, CA
  • edited February 2017
    Sorry bit lost as did not have to do this last time. 


    We are to use that instead of Arduino IDE ? Again the following link is broken:

    http://docs.openbci.com/hardware/01-OpenBCI_Hardware#openbci-hardware-documentation-openbci-32bit-board-breakout-pins

    But that page seems to be about rolling own firmware ? I am just trying to upload the original one.

    Using search at top of the page results in 0 posts about invalid reply checksum


  • wjcroftwjcroft Mount Shasta, CA
    I'm sorry. Perhaps you would be better upgrading to V2 firmware.

    The previous threads I mentioned and the link above (again below) have tips for V1 flashing issues.

    http://openbci.com/forum/index.php?p=/discussion/208/chipkit-uploading-tips-restarting-bootloader
  • Having trouble understanding what that link was saying:


    We are to use that instead of Arduino IDE ? 
  • Sorry I see the link took me to the final page of the post, checking out the rest now. 
  • None of that has helped. still unable to get the software on the device.
  • I take it the board is bricked or something I have no activity at all 2 / 7 as before both of these channels say RAILED. Any one else have any suggestions please.
  • wjcroftwjcroft Mount Shasta, CA
    Usually a RAILED condition means the electrodes / cables are open / bad. Have you tried swapping with known working channels? Check the cable continuity with an ohmmeter.

    Mentioning Joel @biomurph. Adam is trying to reload V1 firmware, but encountering "Read page failed" message. I tried pointing him to the V1 firmware upload tips thread.
  • edited February 2017
    Hi thanks for tagging biomurph, to be honest I am totally frustrated :D All links on this forum that link to documentation are broken so trying to find answers is pretty much impossible, the all just link to the welcome page. The V1 firmware upload tips thread did not help other than remind me that it was possible it had worked. 

    RE your comment about known channels, I was following the documentation on the getting started guide, it has been a year nearly and i need to go through top to bottom to refresh. Following the guide exactly, this is what I get which is nothing like what it shows on the guide and I notice no difference when blinking eyes, tensing arm etc.

    I read and remembered that read page failed may not be an issue so went ahead and tried but still no movement. 6 hours roughly now I have been to simply get the software uploaded and at a stage where I can see the activity correctly,

    I understand it could be something I am doing incorrectly but I have followed the set up guide exactly so I am not really knowing how. Any advice would be appreciate I was hoping to get some coding done tonight. 

    image
  • wjcroftwjcroft Mount Shasta, CA
    Did you try checking / swapping the electrode cables as I mentioned previously?

    The links to docs.openbci.com are indeed screwy now after the reorganization. HOWEVER if you look at the tabs at the top of the page and left of the docs page, it should be obvious where to look for documentation on that site. Just use the old link text and infer where it probably moved to.

    Even if you have two bad channels, can you just turn them off and do your experiment with the working channels? We don't know yet if it is a cable issue (more likely) or something wrong on the mainboard.
  • "Have you tried swapping with known working channels?"

    My reply was in answer to your comment, I thought it answered it, I am using the channels stated in the getting started guide. I have another set of electrodes and I will try with those, however if the current ones are broken then that sucks as they have been used about 3 times and have stayed in the original packaging from OpenBCI since bought.

    RE turning off the channels, I did as shown in my image above I am trying to monitor those channels (2,4,7 or even 2 and 7) not sure how turning them off would help solve the issue. Ultimately I am trying to detect alpha waves to make sure it is all working before I start on the python library. 

    Just to confirm for alpha you need the purple electrode on the front right of your forehead and the red electrode on the back plus bias and white to srb2 ? 

    I will try the other set of electrodes now. 
  • wjcroftwjcroft Mount Shasta, CA
    The channels shown in the tutorial are arbitrary. You can use any channel numbers / any 'colors'. Similarly you can swap any electrode on any channel. In your experiments you get to decide what channel numbers have what meaning.

    Electrode cables do flake out. This is expected, as they are inexpensive.
  • Brand new unopened until now electrodes, 

    White -> SRB 2 -> Left ear
    Black -> bias  -> right ear
    Red  -> 7n -> back of head
    Purple -> 2N -> front right of head 

    No difference.

    image
  • wjcroftwjcroft Mount Shasta, CA
    So your cables are likely good. Unless you have a freak bad batch.

    For the time being, just turn off those bad channels and use two others instead. Who knows if your board might have blown out those channels. Static electricity can do that. Do you have sparks when you touch items in winter there? Always best to ground yourself before touching electronics.


  • wjcroftwjcroft Mount Shasta, CA
    You also need to swap your reference and bias to assure you have good cables there.
  • wjcroftwjcroft Mount Shasta, CA
    re: flashing V2 firmware sequencing, see the first link at the top of this thread.

  • Hi thanks I am doing and same error, read page failed, invalid checksum
  • edited February 2017
    Is this actually an issue or is it not? I am guessing that it is seeing as the board will no longer come on.
  • Just to bring the topic up to date for anyone with same issues, the suggestions about changing channels did not work, WJCroft suggested updating to V2 which I am attempting now.
Sign In or Register to comment.