I uploaded basic programs to check the arduino. Everything was working fine. Then I have to attach it to a certain circuit. Now after attaching it, when I am trying to upload the code, I am facing the following errors/warnings:
avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: jtagmkII_reset(): bad response to reset command: RSP_ILLEGAL_MCU_STATE
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: jtagmkII_close(): bad response to sign-off command: RSP_ILLEGAL_MCU_STATE
PS: I am not a pro programmer. kindly guide me in this regard. Whether there is a problem with my hardware connection, or the arduino needs some missing connections to be fixed and or any software(bootloader) update?
I tested it before making the connections. It worked fine. It is soldered now to the board. I have cross checked all the connections. But the error is still there.
avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: jtagmkII_reset(): timeout/error communicating with programmer (status -1)
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)
avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)
avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)