tinyurl.com/SanUSB 05/06/2011 SanUSB The transfer application firmware for microcontrollers is usually accomplished through a specific hardware programmer. Through the SanUSB tool, executable in Linux, Mac OSX and Windows® operating systems, it is possible the discharge of application firmware for microcontrollers directly via USB, as well as generating a virtual serial communication port using the USB interface. The SanUSB tool allows to program application .hex into the chip using the standard USB connectivity of PIC microcontrollers. This tool is composed of software and a circuit based on the microcontroller with USB interface for the development of embedded systems [1], i.e., systems that manipulate data inside another larger system [2]. To facilitate the tool application, the software is free and available from the archives at http://www.tinyurl.com/SanUSB [3]. Using this tool, students of IFCE were consecutively three time champions of the IFCE Robotics Competition (2007, 2008 and 2009), champions of the Brazilian Fair of Science and Engineering (FEBRACE09) in the University of São Paulo in Engineering Category (2009), obtained the Innovation Award for Technology Application at the 2009 Feria Explora Medellin in Colombia and became Champions in the International Forum of Science and Engineering 2010 in Chile in the Supranivel Category [4-8]. Using the SanUSB tool, it also is possible to suppress the following items in the development of embedded systems: (a) A specific device for microcontroller memory programming; (b) TTL/RS-232 interface for bi-directional serial communication protocol emulated by USB communication device class (CDC); (c) Power supply, since the power source is derived from the PC USB channel; (d) Externally analog-digital converter (ADC), because the microcontroller has internally 10 ADC of 10 bits. Using externally ADC increases the cost of data acquisition cards; (e) Simulation software, whereas the simulation program and hardware can be made quickly and effectively in their own development circuit. Besides all these advantages, modern laptops and computers of today no longer have parallel and serial EIA/RS-232 communication interfaces, only USB.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
tinyurl.com/SanUSB 05/06/2011
SanUSB
The transfer application firmware for microcontrollers is usually accomplished through
a specific hardware programmer. Through the SanUSB tool, executable in Linux, Mac
OSX and Windows® operating systems, it is possible the discharge of application firmware
for microcontrollers directly via USB, as well as generating a virtual serial communication
port using the USB interface. The SanUSB tool allows to program application .hex into the
chip using the standard USB connectivity of PIC microcontrollers.
This tool is composed of software and a circuit based on the microcontroller with USB
interface for the development of embedded systems [1], i.e., systems that manipulate data
inside another larger system [2].
To facilitate the tool application, the software is free and available from the archives at
http://www.tinyurl.com/SanUSB [3]. Using this tool, students of IFCE were consecutively
three time champions of the IFCE Robotics Competition (2007, 2008 and 2009),
champions of the Brazilian Fair of Science and Engineering (FEBRACE09) in the
University of São Paulo in Engineering Category (2009), obtained the Innovation Award
for Technology Application at the 2009 Feria Explora Medellin in Colombia and became
Champions in the International Forum of Science and Engineering 2010 in Chile in the
Supranivel Category [4-8].
Using the SanUSB tool, it also is possible to suppress the following items in the
development of embedded systems:
(a) A specific device for microcontroller memory programming;
(b) TTL/RS-232 interface for bi-directional serial communication protocol emulated by
USB communication device class (CDC);
(c) Power supply, since the power source is derived from the PC USB channel;
(d) Externally analog-digital converter (ADC), because the microcontroller has
internally 10 ADC of 10 bits. Using externally ADC increases the cost of data acquisition
cards;
(e) Simulation software, whereas the simulation program and hardware can be made
quickly and effectively in their own development circuit.
Besides all these advantages, modern laptops and computers of today no longer have
parallel and serial EIA/RS-232 communication interfaces, only USB.
tinyurl.com/SanUSB 05/06/2011
The SanUSB tool enables user-friendly programming and also real debugging directly
through the virtual serial emulation. This can be created quickly and effectively at the very
moment the microcontroller is connected directly to a PC, through the USB interface.
Figure 1 shows an illustration of the SanUSB tool programming process.
Figure 1. Illustration of the SanUSB tool programming process.
To enable all these features, compatible with Linux, Mac OSX and Windows®
operating systems, is necessary to burn previously only once an USB manager
gerenciador.hex file with a specific microcontroller hardware or with the simple
programming circuit described at the end of this tutorial.
The application firmware is sent directly from the PC to the USB microcontroller with
the programming interface. Initially, the microcontroller pin 1 must be connected to Gnd
via a push button while the USB cable is connected between PC and microcontroller, then
the compiled application firmware .hex file can be selected in Open button of the
programming interface shown in Figure 2 and the microcontroller is programmed by
pressing the Burn & Reset button.
tinyurl.com/SanUSB 05/06/2011
Figure 2. SanUSB tool programming Interface.
It is possible to download this software tool at the following link: