SELFROG STANDALONE AVR ISP PROGRAMMER QUICK GUIDE PC Driver installation You can download the windows driver from the download link in the product page. SELFROG uses a USB virtual COM port to communicate pc applications and download firmware into SELFROG. When you complete the installation, you can check the driver installed successfully in Windows Device Manager.
The COM port number assigned automatically by Windows. You can change the COM port number. 1. Go to Device Manager. 2. Unfold Ports (COM&LPT) and right-click on Prolific USB-to-Serial Comm Port(COMx) and select properties. 3. Go to the Port Settings tab and click the Advanced button. 4. Change the COM Port Number and click OK. 5. If a warning message pops up and complains about COM port being used by another device, just click Yes. Changing Device ID SELFROG emulates a STK500 V2 programmer and a device CPU having no actual connection with any target board. The internal target CPU is set to ATMega8 by default. You can change the default device to your actual target CPU device in the SELFROG PC application. * The direct programming from PC to a target board via SELFROG is not supported. Any installation procedure is not needed for SELFROG PC application. Download the file, unzip to a specific directory and just run it by clicking selfrog.exe.
1. Select the COM port where SELFROG is designated and click "Connect" icon. If it is successful, it display the device which is set in SELFROG. 2. In order to change to the device you're using in the target board, select the AVR from the device list and click the Change Device button.
3. You are asked to confirm to change the device. 4. If you click OK, the device signature ID is changed and the FUSES are set to the default value. * Even if you change the device, there is no change in other memories including Flash, EEPROM, LOCKBITS and the programming sequence except signature ID and the FUSES.
5. Click "Load Info" button and you can get the internal information of SELFROG. Loading From the PC SELFROG uses Atmel's standard STK500 V2 protocol to communicate with PC. it is compatible with a range of tools, including Avr Studio, codevision, bascom-avr, avrdude, etc. We recommend to use Avr studio 4.19(Build730) as it supports many devices, lightweight and even works well in Windows 8 and 64bit. SELFROG's internal memories can be erased, flashed with a provided HEX file, FUSES and LOCK bits can be written and/or verified. For the detailed information please refer to the Avr Studio documentation. In this guide, we will show you the procedures to prepare for the standalone programming of the target using Avr Studio 4.19. 1. First open Programmer Connect dialog. Then select STK500 with assigned port number. After clicking Connect the programming dialog should appear. * Before run Avr Studio, be sure to disconnect SELFROG PC application first. Unless, you will get an connection failed messages.
2. You can check the device correct by clicking "Read Signature". 3. Program Flash and/or EEPROM in order to load to SELFROG. * Erase procedure will take 2-4 seconds.
4. Program the Fuse bits. 5. Program the LOCK bits.
6. Close the connection with Avr Studio. Open SELFROG PC application and click "Load Info", then you can get the updated SELFROG information and check the automation sequence. Programming a Target 1. Power sources for SELFROG SELFROG is very compact sized and light weight, it can be used not only for the mass production but also for the field firmware upgrade and the customer support in the remote site. There are variety of power sources available for supplying 5V DC power to SELFROG via the standard 5 pin mini USB cable. Cell phone AC wall chargers having a detachable cable connection are suitable for the table mass production. Portable emergency rechargeable or AA battery cell phone chargers are useful for the field application. We recommend the ones that can supply more than 500mA.
2. Cable connection Connect the programmer to the target system with 10pin or 6pin connector. Here is the connector pin layouts. 3. Target Power Options There a three power options. Open the case of SELFROG and select the target power with jumper pin on the back side of the PCB. For the targets need more than 150 ma, use a separate power source for the target system.
4. Programming a target Quick press the push button will start to program the target and Long press( more than 1 second) will start to program and verify the target. After quick pressing the button, the blue LED is ON and start to program the target. If the target does not respond or have any connection problem, the red LED will be blinking fast. After long pressing the button, the blue LED flashes once and turns on. Then the programmer starts to program the target. When it finish programming, the blue LED flashes once and then starts to verify the data. If the verification is failed, the red LED will be blinking slowly.