Make sure that the oscillator value in project settings matches the value of the crystal that is installed on the board. I had this problem myself.
If this is not the case, maybe the chip is faulty.
Search found 23 matches
- 11 Mar 2009 10:45
- Forum: mikroPascal PRO for AVR General
- Topic: ATmega644 uart
- Replies: 5
- Views: 4433
- 08 Mar 2009 17:42
- Forum: mikroPascal PRO for AVR General
- Topic: Seems that Sin, Cos, Atan not working?
- Replies: 1
- Views: 2463
I've rewritten the function. It's not so accurate as the one above, but it works. Maybe it helps someone, sometime ... function Sqr(x: Real): Real; begin Result := x * x; end; function Abs(x: Real): Real; begin if x < 0 then x := -x; Result := x; end; function CalcDistance(lat1, long1, lat2, long2: ...
- 06 Mar 2009 15:41
- Forum: mikroPascal PRO for AVR General
- Topic: Seems that Sin, Cos, Atan not working?
- Replies: 1
- Views: 2463
Seems that Sin, Cos, Atan not working?
Hi, Please look at the code below. var rLatitude, rLongitude, oLatitude, oLongitude: Real; function CalcDistanceM: Real; // (var Lat1, Lon1, Lat2, Lon2: Real): Real; var La1, Lo1, La2, Lo2, T0, T1, T2: Real; sss: string[20]; begin La1 := DegToRad(rLatitude); Lo1 := DegToRad(rLongitude); La2 := DegTo...
- 05 Mar 2009 19:32
- Forum: mikroPascal PRO for AVR General
- Topic: uart1_init
- Replies: 3
- Views: 2991
- 05 Mar 2009 17:27
- Forum: mikroPascal PRO for AVR General
- Topic: PPP Stack for mikroPascal ...
- Replies: 2
- Views: 2809
- 05 Mar 2009 13:16
- Forum: mikroPascal PRO for AVR General
- Topic: PPP Stack for mikroPascal ...
- Replies: 2
- Views: 2809
PPP Stack for mikroPascal ...
Hi,
Is there any possibility to implement a PPP stack (TCP/IP) for uart for mikroPascal Pro?
Thank you
Is there any possibility to implement a PPP stack (TCP/IP) for uart for mikroPascal Pro?
Thank you
- 30 Dec 2006 15:48
- Forum: mikroPascal for AVR General
- Topic: [CLOSED] Beta testers for MikroPascal for AVR wanted
- Replies: 6
- Views: 9742
- 30 Dec 2006 15:43
- Forum: mikroPascal for AVR General
- Topic: How to use XRAM?
- Replies: 3
- Views: 4593
Would it be possible, that you, from the mikroElektronika team, post a reply, even if the answer to our (your customers) problems is "NO"? I'ts frustrating if someone asks a question and that question remains suspended in thin air, without any reaction from you. You're doing a great job. Really. But...
- 27 Dec 2006 10:57
- Forum: mikroPascal for AVR General
- Topic: E-3 Error in ASM Code: Label not found "33"
- Replies: 12
- Views: 15194
Hi, After changing some lines in the below code (inserting the pointer operation), I've got the error. Anyway, I'm not sure that this is the code that generates the error, because the message does not tell where in the code the error is. The asm file is not generated. function ReadTrack(var buffer: ...
- 27 Dec 2006 10:57
- Forum: mikroPascal for AVR General
- Topic: E-3 Error in ASM Code: Label not found "33"
- Replies: 12
- Views: 15194
Hi, After changing some lines in the below code (inserting the pointer operation), I've got the error. Anyway, I'm not sure that this is the code that generates the error, because the message does not tell where in the code the error is. The asm file is not generated. function ReadTrack(var buffer: ...
- 26 Dec 2006 06:35
- Forum: mikroPascal for AVR General
- Topic: E-3 Error in ASM Code: Label not found "33"
- Replies: 12
- Views: 15194
E-3 Error in ASM Code: Label not found "33"
- E-3 Error in ASM Code: Label not found "33" -
Please, can anyone tell me what this error means?
Thank you,
Ionut Muntean
Please, can anyone tell me what this error means?
Thank you,
Ionut Muntean
- 24 Dec 2006 23:16
- Forum: mikroPascal for AVR General
- Topic: External SRAM
- Replies: 1
- Views: 3180
External SRAM
Hello,
I need to use some external sram with an ATMEGA128. How can I tell the compiler that external SRAM is in use (32Kb) from $08000 to $0FFFF?
10x,
Ionut
I need to use some external sram with an ATMEGA128. How can I tell the compiler that external SRAM is in use (32Kb) from $08000 to $0FFFF?
10x,
Ionut
- 21 Dec 2006 10:44
- Forum: Development Boards
- Topic: BigAVR and Usart problems
- Replies: 2
- Views: 2044
No reply? I'll have to assume that the brand new BigAVR board is broken. So I'll have to ask for refunds or another board. I've buyed this board to simplify learning of AVR microcontrollers. Of course, I could build my own board, but then it would be a waist of time, if a ready made development boar...
- 20 Dec 2006 22:14
- Forum: Development Boards
- Topic: BigAVR and Usart problems
- Replies: 2
- Views: 2044
BigAVR and Usart problems
Hi, I'm trying to get some data send out using Usart1_Write_text procedure (MikroPascal). The only characters that I receive on the PC are $FF... ... Usart1_Init(9600); Usart1_Write_Text('This is a test!'); ... The clock in the flash programmer is set to: - External clock - 16.000 MHz - CKSel is che...
- 29 Nov 2006 00:27
- Forum: mikroPascal for AVR General
- Topic: Assembler Error???
- Replies: 1
- Views: 2684