[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] AVRDUDE and fusebits
From: |
Chris Visagie |
Subject: |
[avrdude-dev] AVRDUDE and fusebits |
Date: |
Tue, 28 Oct 2003 10:46:32 +0200 |
Hi,
I am trying to use AVRDUDE to program the fusebits of a Mega8535 target
processor with an STK500 dev board via the SPI interface. I am running the
bundle WinAVR 20030913 downloaded from http://winavr.sourceforge.net/ which
contains AVRDUDE 4.2.0.
Using the syntax as given in the AVRDUDE manual for V4.2.0, I tried adapting
the makefile as follows:
AVRDUDE_WRITE_LOCK = -U lock:w:0x3F:m
program: $(TARGET).hex $(TARGET).eep /
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
$(AVRDUDE_WRITE_EEPROM)
/
$(AVRDUDE_WRITE_HFUSE) $(AVRDUDE_WRITE_LFUSE) $(AVRDUDE_WRITE_LOCK)
I get the following output:
"
"
U lock:w:0x3F:m
process_begin: CreateProcess((null), U lock:w:0x3F:m, ...) failed.
make (e=2): The system cannot find the file specified.
make: [program] Error 2 (ignored)
I am not sure whether I have the correct syntax and whether AVRDUDE supports
SPI programming of fuse bits on the STK500. Any help will be appreciated.
Thanks,
ChrisV
- [avrdude-dev] AVRDUDE and fusebits,
Chris Visagie <=