Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Problem to program pro mini
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Problem to program pro mini

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 4 Posters 3.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MagnusF
    wrote on last edited by
    #1

    I have purchased some pro mini 5V and an USB to TTL programmer, from china.
    I have connect them occording to the following:
    Programmer Pro mini
    DTR>>>>>>>>>DTR
    TX>>>>>>>>>>RX
    RX>>>>>>>>>>TX
    VCC>>>>>>>>>VCC
    CTS>>>>>>>>>-
    GND>>>>>>>>>GND

    Arduino IDE 1.8.0
    Board: "Arduino pro or pro mini"
    Processor: "ATmega328 (5V 16MHz)"
    Port: "COM6"
    Programmer: "AVRISP mk II"

    When I try to upload the sketch "Blink" I got the following message:
    avrude: verification error, content mismatch
    0xff != 0x0c
    avrude: verification error, content mismatch
    avrude: verification error; content mismatch

    Anyone who can tell me what the error is?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      Have you tried latest ide and boards definitions?

      1 Reply Last reply
      0
      • Nca78N Offline
        Nca78N Offline
        Nca78
        Hardware Contributor
        wrote on last edited by
        #3

        Hello,

        it looks like a serial communication problem to me, are you sure you have no problem with the DTR connexion ?
        While the sketch compile, press the reset button on the pro mini, and just when it says it's starting to transfer, release it. If it works like that it means the DTR signal is wrong and not doing a reset on your board. But cable/jumper, adapter or arduino board problem, I don't know.
        Make sure also you have selected the right voltage on the USB to TTL adapter, if it's on 3.3V the atmega will not run.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MagnusF
          wrote on last edited by
          #4

          I have updated ide to 1.8.3 but the result is the same. Find no way to update boards difinations.
          I missed one row in the error message which I think is important:
          "avrdude: stk500_recv(): programmer is not responding"

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #5

            maybe bad FTDI adapter?

            1 Reply Last reply
            1
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #6

              Or a bad bootloader?

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              M 1 Reply Last reply
              1
              • M Offline
                M Offline
                MagnusF
                wrote on last edited by
                #7

                The problem is partially resolved, the first Pro mini is wrong in any way.
                Tried another Pro mini and it worked.
                Before I switched the minis, I searched the Arduino forum and found this topic on how to test a serial adapter and according to this test the FTDI adapter was ok.
                https://forum.arduino.cc/index.php?topic=73748.0

                After switching to Ide 1.8.3 and even when I switch back to 1.8.0 and I choose sketch, include library, manage library I get the following error message:
                Index error: could not find referenced tool name=gcc-arm-none-eabi version=5_2-2015q4 packager=sandeepmistry
                Index error: could not find referenced tool name=openocd version=0.10.0-dev.nrf5 packager=sandeepmistry

                Is there something to care about?

                1 Reply Last reply
                0
                • Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #8

                  You're trying to program using the wrong programmer maybe ?
                  Select back Avr ISP mk2

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MagnusF
                    wrote on last edited by
                    #9

                    I have programmed 3 more boards with the first settings and it worked well.
                    What I understood, only the choice of programmers is used when burning bootloaders, is this correct?

                    1 Reply Last reply
                    0
                    • sundberg84S sundberg84

                      Or a bad bootloader?

                      M Offline
                      M Offline
                      MagnusF
                      wrote on last edited by
                      #10

                      @sundberg84
                      I read in another topic your reference to https://www.arduino.cc/en/Tutorial/ArduinoISP on how to burn a bootloader.
                      Is this an opportunity to get the wrong card to work?
                      Do you know if the capacitor mentioned in the reference is needed for a Pro Mini?

                      sundberg84S 1 Reply Last reply
                      0
                      • M MagnusF

                        @sundberg84
                        I read in another topic your reference to https://www.arduino.cc/en/Tutorial/ArduinoISP on how to burn a bootloader.
                        Is this an opportunity to get the wrong card to work?
                        Do you know if the capacitor mentioned in the reference is needed for a Pro Mini?

                        sundberg84S Offline
                        sundberg84S Offline
                        sundberg84
                        Hardware Contributor
                        wrote on last edited by
                        #11

                        @MagnusF - if the error is a bad bootloader, but that is rarely the case... I have seen that once. It will not hurt though to re-upload the bootloader if you suspect thats the problem.

                        Controller: Proxmox VM - Home Assistant
                        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        2

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.0k

                        Posts


                        Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular