Gmail Jarek SP3SWJ <[email protected]>

AVR ISP - how to simple do by homebrewer MAX6 builder :-) Just for info :-)

Jarek SP3SWJ <[email protected]> 22 February 2011 01:06
To: x >
Cc: Jarosław Seroczyński <[email protected]>

ISP bootloader  programming  ATMEGA128 in MAX6

 

Please made step by step

 

1.    Download ISP programm  http://sp3swj.googlepages.com/ISP_old.zip

2.   Unzip  ISP programmer

3.   Prepare ISP programming cable
ISP_cable.JPG

4.   Check if 5V supplycircuits on PCB is OK

5.   Check if is no any SHORT circuit  to GND on MAX6 board on all ISP pins

6.   Using external power supply 5V check power consumptions MAX6 board  

( not bigger than ~~300 mA)

7.   Connect ISP cable to PC LPT  port

8.   Connect ISP cable do MAX6

9.   Connect USB supply to  PC

10.                   Start  ISP programm

11.                   Set AVR  and proper Xtal frequency 11.0592 MHz


12.                   Run SETUP menu and chose  AT-Prog

13.                   Chose correct Parallel port address

14.                   Confirm OK setup

15.                   Run READ SIGNATURE


16.                   You see info about Your processor – that’s  mean correct  communications

17.                   If you not see info 
ATmega128 ...
that mean  no ISP communications, check all cable and program settings
Communications must work if all is OK mounted

18.                   Chose (click on folder ICON) File for programming Flash from locations 
chose correct HEX file, or for test  newest HEX file from


http://sp2swj.sp-qrp.pl/SP3SWJ/MAX6/MAX6_KIT/01-BOOTLOADER/BOOTLOAD_M128_11M095.hex


19.                   Remember – all HEX file is 100%  correct  and tested !!!!

21.                   Run function Erease & Program All

22.                   Wait until Finish

23.                   Run  Fuse and Lock bits and set FF DC FF



24.                   Set all BITS as picture above and confirm using Program

confirm each line separately


25.                   If You finish – press  Exit


26.                   Close ISP program

27.                   Disconnect USB suppy

28.                   Disconnect all cable

29.                   Programming bootloader Finished



BOOTLOADER NOT USE LCD - just is used to programming MAX6 by  USB cable

There is no any alive symptom visible for user ... excpept transmission on serial port 


Now can be MAX6 programmed using  MEGALOAD  and standard USB cable