weatherbox:bumblebee:bootloading_troubleshoot

This is an old revision of the document!


=== Troubleshoot Bootloading & FTDI Programming For: ===

 It should be noted that a no communication code 0x0000 could be a hardware or software issue. 
 fastest way to verify a hardware issue is attempting to boot load a known good device.

Bare Bumblebee (List steps to troubleshoot boot load issues on bare bumblebee)

  • Verified boot load settings in IDE with team Guava bread board. Had successful boot load.
  • Attempted boot load of Bumblebees bread board. No communication 0x0000 unknown device.
  • Switched known good Atmega328 chip from team Guava board to team Bumblebees board. Boot load

failed to communicate still.

  • Boot loaded Team Apples Atmega328 chip on team Guavas board. Successful boot load.
  • Removed all circuits not necessary for boot loading team Bumblebee board and attempted boot.

Verified circuits of bread board for boot loading Still no connection 0x0000.

  • Changed 16 mega Hz clock as a failed clock would result in no communication. Still 0x0000
  • Changed out two ceramic 22pF capacitors. Still no communication 0x0000.
  • Changed out 1uF capacitor. Polarity of capacitor between ground and reset

pin 1 appears to have been reversed.

  Attempted boot load with successful communication on team Bumblebees bread board.
  
Bumblebee 4.0 (List steps to troubleshoot boot load issues on bumblebee 4.0) 
  
    * Connected Bumblebee version 4.0 to IDE and attempted boot load. No communication unrecognized device 0x0000. 
    * Circuits where checked for continuity and shorts and all appear to be ok. 
    * Upon contacting lab mates a recommendation was made to changed Bod voltage from 2.7 volts 
      to 4.3 volts. After this successful communication was 
     established with Bumblebee version 4.0 and boot load appeared to take. 
    * Connected Bumblebee version 4.1 and attempted boot loading. No communication 0x0000.
    * Attempted to upload sketch to version 4.0 to verify boot load was successful with no success. 
 Bumblebee 4.1 (List steps to troubleshoot boot load issues on bumblebee 4.0)
 
  * Connected Bumblebee version 4.1 to IDE and attempted boot load. No communication unrecognized device 0x0000. 
    * Circuits where checked for continuity and shorts and all appear to be ok. 
    * Bod voltage changed from 2.7 volts to 4.3 as with version 4.0 Bumblebee still no 
      communication 0x0000. 
    * Attempted to upload sketch to version 4.0 to verify boot load was successful with no 
     success. 
     At this point a sketch upload needs to be performed to version 4.0 to verify boot loading 
     was successful. 
    

=== How to bootload PCB boards: ===

  • Open up board schematic & board layout (we used v4.0 but same process for both versions)
  • Determine correct ISP pins for bootloading
  • Connect ISP pins to Arduino Uno
  • Connect Arduino Uno to computer
  • Open Arduino IDE
  • Open Arduino ISP under: File→Examples→11.ArduinoISP→ArduinoISP
  • Upload code to Arduino Uno: Tools→Port→Port # (Arduino Uno)→Upload
  • Once upload to Arduino Uno is complete go to Tools and select correct configuration
  • Tools should have the following configuration (Note: We are using the MiniCore Library to setup bootload/FTDI programming upload)

  • Once completed, burn bootloader under tools
  • Once bootload is done with no errors move onto uploading code using the FTDI

=== Troubleshooting Bootloading Information:===

=== Updated Boot loading Procedure (February 7, 2022):===

  • weatherbox/bumblebee/bootloading_troubleshoot.1644293805.txt.gz
  • Last modified: 2022/02/08 04:16
  • by jgrous