Search found 12 matches

by sparkz
06 Feb 2006 23:04
Forum: mikroBasic General
Topic: I2C EEPROM Question
Replies: 13
Views: 5226

Hmm, I've been playing around with another compiler (sorry not mE!). I managed to get it working fine there. Standard out of the book stuff - no special timings or adjustments needed. Which is a relief. Glad to know I hadn't messed up and the EasyPIC and other hardware is ok. Wonder why the mB routi...
by sparkz
06 Feb 2006 16:15
Forum: mikroBasic General
Topic: I2C EEPROM Question
Replies: 13
Views: 5226

Well I've sort of made some progress with this although I've discovered something which confuses me even more! Wouldn't take much actually :) I can get it to half work if I cycle the power - it does a write but fails on a read. If I just do a reset (or after programming) it hangs on the first write ...
by sparkz
05 Feb 2006 18:34
Forum: mikroBasic General
Topic: I2C EEPROM Question
Replies: 13
Views: 5226

Much appreciated rackley! :) I'll give that a bash.

I hope mE sort those bugs out soon?
by sparkz
04 Feb 2006 23:47
Forum: mikroBasic General
Topic: I2C EEPROM Question
Replies: 13
Views: 5226

Thanks, not too sure if I looked at that one.

Looks like they may be some issue although I'm not too sure I fully understand the implications. Losing timing or something getting corrupted?

Anyhow putting in extra initialisations seems like the thing to do. Worth a go...
by sparkz
04 Feb 2006 22:42
Forum: mikroBasic General
Topic: I2C EEPROM Question
Replies: 13
Views: 5226

I2C EEPROM Question

I've been trying to get a 24LC256 working with a 16F877A on a EasyPIC3 without much luck. As far as I can tell I have the wiring correct with pullups on SDA and SCL. I have chip address pins set correctly. I've tried different chips (sizes and make) with the same result. It always on the first write...
by sparkz
23 Jan 2006 11:42
Forum: mikroC General
Topic: Optimisation?
Replies: 3
Views: 2007

Thanks I didn't see those. I must remember to use the American spelling when doing searches!
by sparkz
21 Jan 2006 15:16
Forum: mikroBasic General
Topic: LCD on PIC18F4620?
Replies: 8
Views: 3195

Thanks JPC that did the trick.

I take your point though. I might leave this one alone for a while until I'm more familiar with the setup side of things and stick with the 877A.

Mark
by sparkz
21 Jan 2006 14:40
Forum: mikroC General
Topic: Optimisation?
Replies: 3
Views: 2007

Optimisation?

I've been playing with mikroBasic and have been very disappointed with the lack of generated code optimisation. Even at my current inexperienced PIC machine code level I can see lots of redundant code being generated. Not very good if you want to squeeze a large program onto a small chip. Is the C c...
by sparkz
21 Jan 2006 14:30
Forum: mikroBasic General
Topic: LCD on PIC18F4620?
Replies: 8
Views: 3195

Anyone used a PIC18F4620 at all? Perhaps this was a bad choice. I was looking for the most powerful 40 pin pic I could get. Any better ones which have ample program space. After playing around with mikroBasic it does become apparent that it doesn't seem to do any optimisation so having a chip with p...
by sparkz
20 Jan 2006 23:18
Forum: mikroBasic General
Topic: LCD on PIC18F4620?
Replies: 8
Views: 3195

LCD on PIC18F4620?

I wonder if anyone can give a newbie a pointer here? I have a EasyPIC3 which works fine on all the demos with a PIC16F877A. However, I'm trying out the same demos on a PIC18F4620 and none of the LCD ones work at all. Graphics or 2 line. Other demos work, e.g. led and 7 seg. I'm assuming it's somethi...
by sparkz
18 Jan 2006 20:00
Forum: Development Boards
Topic: Newbee Warning! Can't get EasyPIC3 programs to run?
Replies: 16
Views: 8024

Thanks Anton

That did the trick alright. Panic over :)

I think it did have HS there originally but I was reading a tutorial which came with it which showed a picture with the programmer having "XT" set. I should have read the datasheet first!

Now for some serious experimentation...

Mark
by sparkz
18 Jan 2006 19:18
Forum: Development Boards
Topic: Newbee Warning! Can't get EasyPIC3 programs to run?
Replies: 16
Views: 8024

Newbee Warning! Can't get EasyPIC3 programs to run?

Hi all I've just got hold of an EasyPIC3. Loaded all the software drivers etc. using the latest from the site. Loaded an example .hex file in the flash programmer (just flashes the led). Processor is set correctly 16F877A. Write and verifies alright. However, I can't get it to run. At least there's ...

Go to advanced search