I'd welcome some info on how to compile and upload the MuxTO software that runs on the ATSAMD11. The notes at the top of MuxTO.ino are very brief to say the least ! It looks like an Arduino sketch ...
Compile with
fqbn=arduino:samd:muxto:float=default,config=enabled,clock=internal_usb,timer=timer_732Hz,bootloader=4kb,serial=two_uart,usb=cdc
to obtain the binary for Serial-to-USB converter + UPDI programmer on the Arduino Nano Every (MuxTO for brevity)
I want to design a thru-hole 4809-based board but have the programmer/bridge/debug board as a separate board. I am competent with multiple boards, cores, etc, can use Atmel Studio, have a J-link programmer, and have made my own ATSAMD11 designs in the past.
Maybe it would make sense to put the binary and some notes in the Github repo ?
I just need a little more info please.
Edited to add ...
I've just seen another thread on this subject. Why are we using the Mattairtech core ? Justin is a great guy and I use his cores in some other Arduino/ARM projects, but the core hasn't been updated in a quite a while ...
A little later ...
Ok, I can get this to work, but only without the bootloader. Otherwise the binary is too large by 112 bytes. That's ok for me as I can use my J-link. I need to wait for the boards to see if it actually works.
text data bss dec hex filename
12800 0 2500 15300 3bc4 /var/folders/03/s3pv8qk91w78m4_st_nbxl5m0000gn/T/arduino_build_722457/MuxTO.ino.elf
For reference, my environment is:
macOS High Sierra 10.13.6
Arduino 1.8.10
Core: Mattairtech 1.6.18-beta-b1 (most recent beta, latest prod build doesn't support Mac)
Board: Generic D11D14AS
Clock Source: INTERNAL_USB_CALIBRATED_OSCILLATOR
USB Config: CDC_ONLY
Serial Config: TWO_UART_ONE_WIRE_NO_SPI
Bootloader Size: NO_BOOTLOADER
Timer PWM Frequency: 732.4Hz
Floating Point: Print & String use separate singles and doubles
Build Options: config.h enabled
Mods - feel free to merge with the other thread on this topic.