Skip to content

Cannot flash attiny1616 with arduino mega jtag2updi #1256

@MeisterQ

Description

@MeisterQ

I tired to flash an attiny1616 on a custom pcb.

Im getting this error

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: jtagmkII_program_enable(): bad response to enter progmode command: RSP_NO_TARGET_POWER
avrdude: jtagmkII_program_enable(): bad response to enter progmode command: RSP_NO_TARGET_POWER
avrdude: jtagmkII_read_byte(): bad response to read memory command: RSP_NO_TARGET_POWER
avr_read(): error reading address 0x0000
    read operation not supported for memory "signature"
avrdude: error reading signature data for part "ATtiny1616", rc=-2
avrdude: error reading signature data, rc=-2
avrdude: jtagmkII_program_disable(): bad response to leave progmode command: RSP_NO_TARGET_POWER
Failed programming: uploading error: exit status 1

Iam using pin 6 as flash pin of my arduino mega. Im powering the attiny1616 with 5V. the arduinos reset pin is shortet with a 470uF capacitor.

Almost a year ago, i flashed another custom PCB with the same arduino and setup and it worked.

Im using megatinycore 2.6.12
Arduino IDE 2.3.6
Im using this attiny https://www.lcsc.com/product-detail/C507118.html?s_z=n_C507118

This are my arduino IDEs settings:

Image

and this is my schematic

Image

Im hopeing for help. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions