TechRxiv
First Paper.pdf (4.28 MB)
Download file

IoT Microchip AVR Programmer based on TPI and PDI Protocols for Firmware-over-the-Air Updates

Download (4.28 MB)
preprint
posted on 25.05.2022, 19:11 authored by wael badawywael badawy, Samy H. Sharf, Rafaat A. Salama, Mostafa A. Mekky, Ahmed I. Ahmed

The smart connected devices which form the IoT Wireless Sensor Networks (WSN) need to be remotely re- programmed over-the-air. Therefore, new features are added, software bugs or security vulnerabilities are fixed and their assigned applications can be re-purposed. This paper proposes an IoT FOTA Microchip AVR Programmer using Wi-Fi tech- nology which supports the official Microchip Tiny Programming Interface (TPI) and Program and Debug Interface (PDI). TPI is supported by the Microchip AVR ATtiny family and PDI is supported by the Microchip AVR ATxmega family of micro- controllers. The core contribution is to add wireless connectivity to the official standard STK500v2 and STK600 programming protocols of the Microchip AVR Programmer. A simulation is conducted using the AVRDUDE Command-Line and the NB Virtual Comm Port applications proving reliable FOTA proce- dure. Experimental implementation is carried on the Microchip AVR ATtiny20 and ATxmega32A4U micro-controllers, and the collected results showed a significant match to the conducted simulation.

History

Email Address of Submitting Author

wael@waelbadawy.com

ORCID of Submitting Author

https://orcid.org/0000-0003-0251-9124

Submitting Author's Institution

Hertfordshire hosted by GAF

Submitting Author's Country

Egypt