Atmega8 stat AT90S2313

OP #1739028
Lesenswert?

Ich möchte den 
http://www.klaus-leidinger.de/mp/Mikrocontroller/AVR-Prog/AVR-Programmer.html#Download 
bauen.

leider habe ich weder ein AT90S2313 noch Ahnung von Asm.

daher die einfache Frage ob reicht wenn ich dies hier so anpasse das es 
mit Pins des mega8 stimmt.
1
;**** includes ****
2

3
.include "2313def.inc"
4

5

6

7
;******** Chrystals for maximum Baudrates
8
.equ  XTAL = 7373      ; XTAL frequency, Khz (7.3728 Mhz)
9
;********
10
.equ  BAUD = 115200    ; Data rate, bauds
11
.equ  N    = 3         ; for 7.3728 Mhz/115.200Baud
12
;********
13

14

15

16
.equ  LEDH  = PB3    ; dual color LED output, anode green  (output)
17
.equ  LED   = PB0    ; LED output, active low, dual color LED Kathode green  (output)
18
.equ  MISO  = PB6    ; MISO  pin of the target (input)
19
.equ  MOSI  = PB5    ; MOSI  pin of the target (output)
20

21
.equ  RESET  = PB4    ; RESET pin of the target (output)
22
.equ  SCK    = PB7    ; SCK   pin of the target (output)
23
.equ  RXD    = PD0    ; UART RXD line
24
.equ  TXD    = PD1    ; UART TXD line

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren