Atmega4809 and AtSAMD11D14A is connected to a board

I am working on a project with Atmega4809 and for the programing purpose AtSAMD11D14A is used in my circuit. i have hardware circuit PCB but i am not able to upload code to the microcontroller because the device connected com port is not displaying.
Please help me on uploading program in Atmega4809 with AtSAMD11D14A.

So basically an Arduino Nano Every ?

The SAM acts as the programmer & USB-to-Serial - have you loaded the programmer firmware into the SAM ?

From the schematics:

UPDI is the programming interface for the AVR

Your own custom design?

Why would you add a complete programmer on each & every board?

Hi Awneil
Thank you for reply.
can you help me to upload the programmer firmware into the SAM. or is their any tutorial regarding this.
please share the steps so that i can follow.

Your own custom design?

Why would you add a complete programmer on each & every board?

yes ,In every Board Is easy to upload the code by anyone by connected the USB cable directly.

You would need an SWD programmer to program the SAM via JP1

can you send me any tutorial with the help of this i can do.
may i know the reason why my comport is not displaying?

Because the COM port would be provided by the firmware running in the SAM.

Depending on cost and the number of boards you are making, it certainly sounds more simple to socket a Nano Every in some pin headers. For higher reliability, the Nano Every could be directly soldered onto a board as well.

1 Like

ok thank you for your support and can you help me to upload the the firmware in the SAM.

Read all the pages
https://learn.sparkfun.com/tutorials/arm-programming/jtag-and-swd

1 Like

thanks Jim

actually this tutorial is regarding for the ARM but we have AVR microcontroller (ATMEGA4809 & ATSAMD11D14A-MUT). so i am confused how to upload the firmware.

ATSAMD is ARM, ATMega is AVR

This thread covers burning the MuxTO code on the SAMD11 which is used as the usb and programming interface for the Atmega 4809 in the Nano Every.

https://forum.arduino.cc/t/reset-nano-every-via-1200-baud-touch/939949/8

You say this is your own custom design, yet you seem to have little grasp of what components are in it, and what they do?

When you designed-in the AtSAMD11D14A, did you not think about what is was for, what code would need to go in it, and how you would get that code into it?

:thinking:

I’m unsure if this helps , but it’s the way I got my 4809 up and running via the single wire UPDI interface . The nano every may be (is?) using it’s other chip to do this , with appropriate firmware code . [See here] (Firmware for SAMD11D14A in Arduino Nano Every compilation)

Have a look at this for programming the 4809.
Initially you need to upload some code ( eg a bootloader or your whole code) via the one wire UPDI interface . You can build a programmer for this or vbuy one
Mega Core will let you load a bootloader , so you can use theUART .

Megacore

My UPDI programmer based on a nano and an old board ( for 1284’s !)

So if you bring this pin out you can program via that ?
Pin41

Good job PCBs are cheap …

2 posts were split to a new topic: Nextion HMI and 4809 code required

2 posts were merged into an existing topic: Nextion HMI and 4809 code required

can i share my arduio ide code here?
so you can check i am on right path or not?