hi,
seit kurzem hab ich ein RN-Control board, leider hab ich bei der bestellung vergessen ein ISP-Kabel mitzubestellen.
Danach hab ich mich dazu entschlossen folgenden adapter selber zu bauen:
http://mikrocontroller.cco-ev.de/de/isp.php
(den für die parallele schnittstelle)
Der Adapter funktioniert soweit. Ich kann mit dem Flashprogramm von Bascom *.hex datein flashen.
Jetzt hab ich aber das problem das ich zur gänze auf linux arbeite und ich eine möglichkeit Suche die *.hex datein unter linux auf den chip zu flashen.
Code:osiris:/# avrdude -v -P /dev/parport0 -p m32 -c stk200 avrdude: Version 5.1 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/parport0 Using Programmer : stk200 AVR Part : ATMEGA32 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 4 10 64 0 no 1024 4 0 9000 9000 0xff 0xff flash 33 6 64 0 yes 32768 128 256 4500 4500 0xff 0xff lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : PPI Description : STK200 VCC = 0x00 (not used) BUFF = 0x0c = pins 4,5 RESET = 9 SCK = 6 MOSI = 7 MISO = 10 ERR LED = 0 RDY LED = 0 PGM LED = 0 VFY LED = 0 avrdude: AVR device not responding avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you.
was mache ich falsch?
danke im vorraus![]()







Zitieren

Lesezeichen