Hallo zusammen,
beim Compilieren von folgendem Code
bekomme ich folgende Fehlermeldung:
PMEGA8.dsc: "ubrr1" not complete/correct defined
Ändere ich den Prozessortype kommt folgendes:
PMEGA88.dsc: "usr1" not complete/correct defined
PMEGA168.dsc: "usr1" not complete/correct defined
PMEGA328.dsc: "usr1" not complete/correct defined
Die Compilerversion ist 5.04.35.
Kann mir jemand weiterhelfen?
mfg
KF
beim Compilieren von folgendem Code
Code
{$NOSHADOW}
{ $WG} {global Warnings off}
Device = mega8, VCC=5;
{ $BOOTRST $00C00} {Reset Jump to $00C00}
Define_Fuses
// Override_Fuses;
NoteBook = A;
COMport = USB;
LockBits0 = [];
FuseBits0 = [];
FuseBits1 = [];
Import SysTick, SerPort, TWImaster;
From System Import ;
Define
ProcClock = 16000000; {Hertz}
SysTick = 10; {msec}
StackSize = $0032, iData;
FrameSize = $0032, iData;
SerPort = 19200, Stop1; {Baud, StopBits|Parity}
RxBuffer = 12, iData;
TxBuffer = 8, iData;
TWIpresc = TWI_BR100;
Implementation
{$IDATA}
{--------------------------------------------------------------}
{ Type Declarations }
type
{--------------------------------------------------------------}
{ Const Declarations }
{--------------------------------------------------------------}
{ Var Declarations }
{$IDATA}
Var
Ch : Char;
{--------------------------------------------------------------}
{ functions }
{--------------------------------------------------------------}
{ Main Program }
{$IDATA}
begin
EnableInts;
loop
NOP;
endloop;
end LCDBoard.
{ $WG} {global Warnings off}
Device = mega8, VCC=5;
{ $BOOTRST $00C00} {Reset Jump to $00C00}
Define_Fuses
// Override_Fuses;
NoteBook = A;
COMport = USB;
LockBits0 = [];
FuseBits0 = [];
FuseBits1 = [];
Import SysTick, SerPort, TWImaster;
From System Import ;
Define
ProcClock = 16000000; {Hertz}
SysTick = 10; {msec}
StackSize = $0032, iData;
FrameSize = $0032, iData;
SerPort = 19200, Stop1; {Baud, StopBits|Parity}
RxBuffer = 12, iData;
TxBuffer = 8, iData;
TWIpresc = TWI_BR100;
Implementation
{$IDATA}
{--------------------------------------------------------------}
{ Type Declarations }
type
{--------------------------------------------------------------}
{ Const Declarations }
{--------------------------------------------------------------}
{ Var Declarations }
{$IDATA}
Var
Ch : Char;
{--------------------------------------------------------------}
{ functions }
{--------------------------------------------------------------}
{ Main Program }
{$IDATA}
begin
EnableInts;
loop
NOP;
endloop;
end LCDBoard.
bekomme ich folgende Fehlermeldung:
PMEGA8.dsc: "ubrr1" not complete/correct defined
Ändere ich den Prozessortype kommt folgendes:
PMEGA88.dsc: "usr1" not complete/correct defined
PMEGA168.dsc: "usr1" not complete/correct defined
PMEGA328.dsc: "usr1" not complete/correct defined
Die Compilerversion ist 5.04.35.
Kann mir jemand weiterhelfen?
mfg
KF