Search found 63 matches

by kayh
07 Mar 2009 18:27
Forum: mikroPascal General
Topic: Problem with over-enthusiastic optimizer
Replies: 6
Views: 3836

Re: Problem with over-enthusiastic optimizer

But I'm having terrible trouble with the optimizer. It seems to be eliminating valid, un-optimizable variables in all my procedures, and I can't find a way to turn the bloody thing off. Of course the optimizer can eliminate that variable, it is used only once in your code: ADCRes := ReadADCChannel(...
by kayh
16 Nov 2008 04:46
Forum: mikroPascal General
Topic: PIC18F97J60 Ethernet LIbrary with TCP/IP Stack
Replies: 8
Views: 4302

yo2lio wrote:Nobody wants to test my library ...
Don't worry, I'm eager to test it, but I need a little more time before I can get to it. 8)
by kayh
27 Aug 2008 01:40
Forum: mikroPascal General
Topic: LV18FJ how to set the clock?
Replies: 2
Views: 1902

yo2lio wrote:Hello,

Set HSPLL in Device Flags and program must begin with this code :

Code: Select all

  OSCTUNE := %01000000;
  delay_ms(100);
yep, thanks it worked.
by kayh
25 Aug 2008 23:16
Forum: mikroPascal General
Topic: Rotary Encoder and PIC16F627A
Replies: 31
Views: 23000

I don't see the issue does anyone else see anything? According to the datasheet A leads B by 90d, CW and visa versa for CCW. Any comments on the scope data? Cheers, -Marc Encoder's A is Red, B is Blue .5ms sample. CW Rotation; http://imageurlhost.com/images/ynew5uqwwsmmz8izsxud.jpg CCW Rotation; ht...
by kayh
22 Aug 2008 02:38
Forum: mikroPascal General
Topic: LV18FJ how to set the clock?
Replies: 2
Views: 1902

LV18FJ how to set the clock?

I'm looking at the examples I edit the projects and for the life of me I can't figure out the flags / or what the words correspond to in the data sheet. (Or what the flags mean) I want to set the clock to 41.66667 MHZ Actually when I run the timer1 example it seems to run at that speed (every led sw...
by kayh
19 Jul 2008 15:57
Forum: mikroPascal General
Topic: Counting microseconds with my PIC18F4550
Replies: 11
Views: 5749

The way you want to solve it is practically impossible in mP. There is only 12 instruction cycles per us with this clock frequency. Not nearly enough to have interrupts set and have the processor performing any other task. You should rather set a timer when the signal starts and stop it when the si...
by kayh
18 Jul 2008 02:23
Forum: mikroPascal General
Topic: Ethernet
Replies: 3
Views: 2459

BaCaRdi wrote:Sounds like a routing issue to me. Have you tried simply pinging the ip from the locations, this is the best way to test to the application layer. Let us know your results.

-Marc
Oh, when I ping it from the PC where mozilla works, but IE doesn't, I get no errors
by kayh
12 Jul 2008 02:59
Forum: mikroPascal General
Topic: Ethernet
Replies: 3
Views: 2459

BaCaRdi wrote:Sounds like a routing issue to me. Have you tried simply pinging the ip from the locations, this is the best way to test to the application layer. Let us know your results.

-Marc
If I get a chance I ping. Is nobody else experiencing this problem?
by kayh
05 Jul 2008 14:50
Forum: mikroPascal General
Topic: Ethernet
Replies: 3
Views: 2459

Ethernet

I installed the eth-v2 code on the LV18F board, Assigned a fixed IP, configured my switch so I can reach the server from the outside. It works fine except: When I http the server from me PC on the same switch, I can reach it with Mozilla but not IE7. When I http the server from another network (over...
by kayh
28 Jun 2008 19:16
Forum: mikroPascal General
Topic: ENC28J60 Ethernet Library V3.3
Replies: 94
Views: 74001

Great Library YOLIO. I converted the BASIC example Mini Web Server to mMikroPascal. I have it runing great in PROTEUS simulator and VMWARE. I Have a question yet : Do you have an example where I can use a web page to turn on/off a pin on porta or any other led. The example says that only get method...
by kayh
25 Jun 2008 13:25
Forum: mikroPascal General
Topic: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM
Replies: 65
Views: 90174

radiofm wrote:IE (IE7) have too much info in header and when we request from the pic page we lost 1 packet and unfortunetly .... on IE it not working.
Do I understand correct, IE7's HTTP header is too long and causes a packet to be dropped? py the pic :cry:
Or is the response header not readable by IE7?
by kayh
25 Jun 2008 01:02
Forum: mikroPascal General
Topic: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM
Replies: 65
Views: 90174

MP8 have DEF files for this types of MCU. Use original DEF file in your applications. I'm testing the 18FJ examples in MP8 right now. Question, I can ping all fine also I can open web pages from Mozilla Firefox just fine. But internet explorer says it cannot open webpage (like it doesn't exist) Any...
by kayh
24 Jun 2008 03:11
Forum: mikroPascal General
Topic: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM
Replies: 65
Views: 90174

yo2lio wrote: Sorry , I forget to upload def files for MP7 ! :oops: :oops: :oops:

http://www.microelemente.ro/MikroPascal ... ly_MP7.zip
Now having similar problems with MP8
by kayh
03 Mar 2008 23:48
Forum: mikroPascal General
Topic: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM
Replies: 65
Views: 90174

yo2lio wrote: Sorry , I forget to upload def files for MP7 ! :oops: :oops: :oops:
Thanks for the quick response yo2lio, you are the best. 8) 8)
How about DHCP? Is that doable? Would love to see it.
by kayh
03 Mar 2008 00:58
Forum: mikroPascal General
Topic: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM
Replies: 65
Views: 90174

Must work ! OK I copied all yor def files over. Then I recompiled the "mini web server" I had to comment a bunch of libraries out of the def file (it couldn't find libraries see below) in order for it to compile. However once compiled it worked! Do you know why I had to comment out those libraries?...

Go to advanced search