Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

program avr128da28 chip using arduino uno as a programmer #525

Open
hoka83 opened this issue Apr 23, 2024 · 4 comments
Open

program avr128da28 chip using arduino uno as a programmer #525

hoka83 opened this issue Apr 23, 2024 · 4 comments

Comments

@hoka83
Copy link

hoka83 commented Apr 23, 2024

hello does jtag2updi support avr128da28 to be programmed by arduino uno? , i want to program avr128da28 chip using arduino uno as a programmer, can anyone provide me steps to do that

@pcfreak1201
Copy link

Hi! Spence doesn't support jtag2updi any more. You can try to use avrdude directly. There should be support for the avr12da28 since version 7.2.
You should give SerialUPDI a try: https://github.com/SpenceKonde/DxCore/blob/master/README.md#updi-programming-hardware

@hoka83
Copy link
Author

hoka83 commented Apr 25, 2024

Hi! Spence doesn't support jtag2updi any more. You can try to use avrdude directly. There should be support for the avr12da28 since version 7.2. You should give SerialUPDI a try: https://github.com/SpenceKonde/DxCore/blob/master/README.md#updi-programming-hardware

i watched this video on youtube which Program an AVR DA MCU Using an Arduino Nano but in my case i have AVR128DA28 chip and arduino uno , i connected the pins as the same he did and it gave me error while burning the boatloader

i am just connecting arduino uno as a programmer for AVR128DA chip using updi and it gives me this error:

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: jtagmkII_program_enable(): bad response to enter progmode command: RSP_ILLEGAL_MCU_STATE
avrdude: jtagmkII_program_enable(): bad response to enter progmode command: RSP_ILLEGAL_MCU_STATE
avrdude: jtagmkII_read_byte(): bad response to read memory command: RSP_ILLEGAL_MCU_STATE
avr_read(): error reading address 0x0000
read operation not supported for memory "signature"
avrdude: error reading signature data for part "AVR128DA28", rc=-2
avrdude: error reading signature data, rc=-2
avrdude: jtagmkII_program_disable(): bad response to leave progmode command: RSP_ILLEGAL_MCU_STATE
Error while burning bootloader.
IMG_6061 (1)
IMG_6060

hardware connection

@hoka83
Copy link
Author

hoka83 commented Apr 25, 2024

this method worked fine in the video just i watched on youtube and i did the same thing and connections but just with arduino uno and avr128DA28 chip

@nomakewan
Copy link
Contributor

nomakewan commented Jul 29, 2024

Looks like you have voltage connected to 3.3V instead of 5V even though the logic level outputs on your Uno are 5V? Any particular reason you did that?

We also can't diagnose any potential connection issues to your AVR128DB28 because your photo does not show us that chip, there are no labels on where the wires are going into the green PCB, and you have not provided a schematic of that board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants