Resource Download
SINAPROG is use to upload HEX file in all AVR Microcontrollers.
To upload HEX file in Microcontroller we require following things :-
1. HEX Code Generated by AVR Studio 4
2. AVR USBASP Programmer
3. AVR Training Board
4 FRC 10-10 Female Cable
5 Blank AVR Microcontroller
Step to Program
Step 1 :
Connect USBASP Programmer with AVR Trainer Board in ISP ( In System Programming ) section using FRC Cable.
Step 2 :
Attach Blank AVR Microcontroller (Ex - Atmega 16 ) to AVR Trainer Board.
Step 3.
Open SINAPROG Software, In HEX Section - Click Folder Icon and select the HEX file to be uploaded in Microcontroller
Step 4:
Select the Microcontroller in Device Section in which the Program is to be uploaded or Click Search if already connected.
Step 5:
Select "USBASP Programmer" and "USB" in Programmer Section. First one is Programmer Type and Second is Connection type.
Step 6:
Click "Program" Button in Flash Section of SINAPROG. This will start the process of download HEX file from PC to Flash memory of Microcontroller. Progress of Flashing can be seen is Status Section.
Step 7:
If the Program Download Succeeds than " Programming Flash OK " message will appear in Status Section. If Program Download fails than " Programming Failed " message will appear in Status section.
Step 8:
(Optional) AVR Microcontroller has a feature of Internal Crystal.
Select Internal Crystal (1, 2, 4, 8 Mhz) or External Crystal Frequency (Ext Crys.) in Drop down list of Fuses section and click " PROGRAM " Next to it.
ERASE PROGRAM MEMORY OF MICROCONTROLLER
Common Errors and Solutions while Programming
Can't Find Programmer -
- Download SINAPROG Program Burning Software - Download
- USBASP Driver Download - Download
- USBASP Programmer Schematic and Firmware - Download
SINAPROG is use to upload HEX file in all AVR Microcontrollers.
1. HEX Code Generated by AVR Studio 4
2. AVR USBASP Programmer
3. AVR Training Board
4 FRC 10-10 Female Cable
5 Blank AVR Microcontroller
Step to Program
Step 1 :
Connect USBASP Programmer with AVR Trainer Board in ISP ( In System Programming ) section using FRC Cable.
Step 2 :
Attach Blank AVR Microcontroller (Ex - Atmega 16 ) to AVR Trainer Board.
Step 3.
Open SINAPROG Software, In HEX Section - Click Folder Icon and select the HEX file to be uploaded in Microcontroller
Step 4:
Select the Microcontroller in Device Section in which the Program is to be uploaded or Click Search if already connected.
Step 5:
Select "USBASP Programmer" and "USB" in Programmer Section. First one is Programmer Type and Second is Connection type.
Step 6:
Click "Program" Button in Flash Section of SINAPROG. This will start the process of download HEX file from PC to Flash memory of Microcontroller. Progress of Flashing can be seen is Status Section.
Step 7:
If the Program Download Succeeds than " Programming Flash OK " message will appear in Status Section. If Program Download fails than " Programming Failed " message will appear in Status section.
Step 8:
(Optional) AVR Microcontroller has a feature of Internal Crystal.
Select Internal Crystal (1, 2, 4, 8 Mhz) or External Crystal Frequency (Ext Crys.) in Drop down list of Fuses section and click " PROGRAM " Next to it.
ERASE PROGRAM MEMORY OF MICROCONTROLLER
- After Successful connection between Microcontroller Trainer Kit and USBASP Programmer.
- Select Microcontroller in Device Section
- Click ADVANCE in Fuses Section.
- A new Window will open.
- Click CHIP ERASE
Common Errors and Solutions while Programming
Can't Find Programmer -
- Check USB Cable between Programmer and PC/Laptop
- Re-install Programmer Driver in PC
- Hardware Inspection of Programmer, if any Short circuit or track disconnection
- Upload USB Boot Loader in Atmega 8 and Check again
- Check the connection betweem Programmer and Trainer Kit
- Check with OK FRC Cable
- Check with another Microcontroller
- Check the Crystal connected to Blank Microcontroller
- Check with another OK Programmer
Comments
Post a Comment