chipKIT uploading tips & restarting bootloader

124»

Comments

  • biomurphbiomurph Brooklyn, NY
    As mentioned on another thread, I got an update from the good folks at chipKIT that they have a link compatible with the Arduino Boards Manager thing, and I will be testing with the 1.6.5-r5 and later versions of the Arduino IDE this week.
  • edited May 2016
    Hi Biomurph,

    Some time ago You mentioned about:

    I will get a tutorial up soon. For now, please connect the picKit3 thusly:
    All the bootloading pins are broken out on the OpenBCI 32bit Board.

    PICkit3    <>    OpenBCI 32bit
    MCLR                     RST
    VDD Target                VDD
    VSS                      GND
    PGD                   D11
    PGC                    D12

    go here to get the bootloader HEX files https://github.com/chipKIT32/PIC32-avrdude-bootloader
    Use UDB32-MX2-DIP bootloader.

    Since I decided to build my OpenBCI hardware from the scratch I learned in hard way that if You don't have information mention above You will waste some time trying to debug hardware.

    In this paragraph:
    You briefly mention:
    "We use a PICkit 3 to bootload the PIC chips."
    This is the only note about existence of bootloader and You have to admit is rather subtle :)
     
    Cheers,
    henryk
  • biomurphbiomurph Brooklyn, NY
    @henryk
    Thanks for the comment! We will be sure to add more information for those that want to roll their own.
  • Hey guys, 
    I've built the boards from the documents, though I've hit a problem. 
    I upload the boot loader to the board with a Pickit3 which all goes fine(Blue led flashing, update succesful) Though when i then try to enter boot loader mode nothing happens, i.e. no flashing LED. The LED obviously works, because it flashes when transferring the boot loader, and the boot loaders definitely on there, so I'm very unsure where to go next. 
    Any suggestions?
    Thank you!
  • ahsanicahsanic Islamabad
    I am trying to upload code in cyton board, it says program flash failed......
    Programmer for Microchip PIC32 microcontrollers, Version 2.1.24
        Copyright: (C) 2011-2015 Serge Vakulenko
          Adapter: STK500v2 Bootloader
     Program area: 1d000000-1d1fffff
        Processor: Bootloader
     Flash memory: 2048 kbytes
      Boot memory: 80 kbytes
             Data: 59424 bytes
            Erase: done
    Program flash: ............................................................Program flash failed.
    An error occurred while uploading the sketch

    Help Anyone?
  • Thanks so much @alfahad! It worked:
    Turn on the board after the dongle is plugged in (start the Host radio before the Device radio)
    Hold the RST button down, turn on the board, then press the PROG button and hold it while releasing the RST button.
Sign In or Register to comment.