Download Print this page

Husqvarna AD10 Workshop Manual page 34

Hide thumbs Also See for AD10:

Advertisement

11
30
Software
Programming
micro controller ATMega328P
PROGRAMMING UNIT: AVRISP MKII
Complete service kit for programming comprising hardware and software can be ordered via
Husqvarna support site. To obtain the hardware by other means, do as follows:
• Use a 6-pin flat cable
• Connect to the H-bridge card (contact CN3 for male: Tyco 7–215083–6)
• Connect pins as follows: 1–1, 2–2, 3–3, 4–4, 5–5, 6–6
NB. In order to perform any programming, the H-bridge card must
be connected to external 24V DC over X3-1 (+) and X3-2 (-).
SOFTWARE: AVR STUDIO 4.18
1. Start "AVR STUDIO"
2. Select tab
and set the following:
Fuses
1. EXTENDED: 0xFC
2. HIGH: 0xD9
3. LOW: 0xE2
3. Select tab
and set the following:
Lockbits
1. LOCKBIT: 0xFF
4. Click
>
Tools
Program AVR
5. Select
(on the left)
AVRISP MkII
6. Select tab
and set:
Main
Device
Programming Mode
7. Select tab
and section
Program
Select:
Select:
Select:
– The old software is erased and the new one is installed to the processor. A check is per­
formed afterwards to ensure the software is correctly installed.
8. Select tab
and section
Program
Select:
Select:
Select
Click:
– The memory chip is erased and the new parameters are installed (reset).
This ensures that nothing goes wrong after a software update and adjusted parameters.
>
Connect
= Atmega328P
= ISP mode
:
Flash
Erase device before flash programming
Verify device after programming
Input HEX file:
"af_h-bridge_r1_v1.1_230v.hex"
(eller "af_h-bridge_r1_v1.1_110v.hex")
:
EEPROM
Erase device before flash programming
Verify device after programming
Input HEX file:
"af_h-bridge_r1_v1.1_eeprom.hex"
to activate flash process
Program

Advertisement

loading