Programming Comms

How the Arduino Uno programming works We spent some time trying to debug programming the Arduino Uno over a link that didn’t have the DTR signal available and discovered it’s a problem. The RTS signal The Arduino IDE uses the RTS signal to reset the Arduino microcontroller, which causes its bootloader to briefly run. With […]

Read More

.Programmers General

Getting an AT / ATtiny microcontroller ready for serial port Arduino programming To be able to program using just the serial port pins you need your AT/ATtiny to first be programmed with a bootloader, as has been done on the microcontroller fitted on an Arduino manufactured PCB. Programmers There are many, we’ve used successfully USBasp […]

Read More

Serial Port Programming

Programming an Arduino using the serial port Generally the Tools > Programmer selection is only used for Tools > Burn Bootloader and Sketch > Upload Using Programmer and is not used for standard uploads. “Programmer” setting For standard uploads you can set Tools > Programmer to anything you like because it will have no effect. […]

Read More

USBasp

Seems a popular choice and able to program larger devices such as the Mega2560 There’s a jumper to select 3V3 or 5V – make sure you use it!!! USBasp main page: https://www.fischl.de/usbasp/ Installing Windows Driver On windows you need to install a driver for it. Windows driver page: https://zadig.akeo.ie/ Its a run the exe program, […]

Read More

ATtiny – Programming

Bootloader vs Programmer The ICSP programmer is needed when writing the bootloader or if you want to save program flash space and only program your ATtiny using the ICSP. When programming the ATTiny using the bootloader you use the TX/RX serial port (the ATTiny should be connected to your USB-serial adapter). The ICSP programmer doesn’t […]

Read More