Search found 18 matches

by andygraves
Thu Apr 22, 2010 9:27 am
Forum: Flowcode V4
Topic: Sending Hex to 18F4550
Replies: 4
Views: 4062

Re: Sending Hex to 18F4550

Oops, Perfect thank medelec35 Cheers Andy
by andygraves
Thu Apr 22, 2010 9:26 am
Forum: Flowcode V4
Topic: Sending Hex to 18F4550
Replies: 4
Views: 4062

Re: Sending Hex to 18F4550

Perfect, Thanks Steve
by andygraves
Thu Apr 22, 2010 5:28 am
Forum: Flowcode V4
Topic: Sending Hex to 18F4550
Replies: 4
Views: 4062

Sending Hex to 18F4550

I Guys,

I Just bought some 18F4550 to use with FC4 and HP488 but can seen to send prog to chip.

"Unable to transfer HEX file
[INSTALLDIR]tools\PPP\PPPv3.exe -cs 2 -chip PIC18F4550 -nogui "Flowcode1.hex""

Please help.
Thanks
Andy
by andygraves
Mon Mar 22, 2010 10:57 am
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

Re: are microsecond (us) delays working?

Hi Ben,

Thanks for your update on this.

Going to 12 MIPs for 250kbaud seem to be somewhat extreme!

I ended up doing in in ASM with FlowCode doing the front end, works well...

Please take a look at the excessive overhead somtime...

One thing, cant seem to use CALL / RETURN in ASM, cant find in ...
by andygraves
Tue Mar 16, 2010 7:57 am
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

Re: are microsecond (us) delays working?

Hi Ben and Steve,
Thanks for the reply and info...

Whilst I understand there is an overhead, these seem far too excessive?
e.g. I believe the chip is capable of almost 5 MIPs - therefore not being able to perform a simple on/off Flowcode loop at say 125 KHz seems to indicate something is very ...
by andygraves
Mon Mar 15, 2010 2:08 pm
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

Re: are microsecond (us) delays working?

Hi Ben,
Hmm, as per my original post "are microsecond (us) delays working?"

I think unfortunately, the answer is "no not always!"

Crystal and Flowcode set to 19.66meg

1us on 1us off = 158.6 KHz should be 500k
2us on 2us off = 119.9 KHz should be 250k
4us on 4us off = 80.6 KHz should be 125k

to ...
by andygraves
Sat Mar 13, 2010 2:20 pm
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

Re: are microsecond (us) delays working?

Hi Ben,
Thanks for the info..
However upon testing the frequency generated is 80.59 Khz not ~125 Khz?
Please explain?
thanks
Andy
by andygraves
Fri Mar 12, 2010 2:46 pm
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

Re: are microsecond (us) delays working?

Hi Guys, please confirm if my previous post is correct?
Thanks Andy
by andygraves
Tue Mar 09, 2010 5:34 pm
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

Re: are microsecond (us) delays working?

Hi Ben,
Thanks for the reply,

So just to confirm my logic...

A:
porta>1
delay 4 us
porta>0
delay 4 us
> A:

would give a datarate of 250k on RA0 of the PIC

(16f872 on the dev board 3 runninhg with the XTAL)
by andygraves
Tue Mar 09, 2010 8:27 am
Forum: Flowcode V4
Topic: are microsecond (us) delays working?
Replies: 12
Views: 6512

are microsecond (us) delays working?

Hi Guys,
I have been trying to use microsecond (us) delays, I understand the accuracy warnings and implications but i see the following
"Caution: argument of 'delay_us' calls must have a value of 1 or more" any time us delay is used. Is the delay value getting passed to the delay correctly?
This ...
by andygraves
Tue Mar 09, 2010 8:12 am
Forum: Flowcode V4
Topic: EEPROM on 16F872
Replies: 9
Views: 6201

Re: EEPROM on 16F872

Hi Ben,
Yes that sorted it, thank you.
Do such fixes find their way into future versions?
Thanks
Andy
by andygraves
Mon Mar 08, 2010 4:34 pm
Forum: Flowcode V4
Topic: EEPROM on 16F872
Replies: 9
Views: 6201

Re: EEPROM on 16F872

Hi Ben, is the a chip problem or FC problem?
by andygraves
Mon Mar 08, 2010 4:27 pm
Forum: Flowcode V4
Topic: EEPROM on 16F872
Replies: 9
Views: 6201

Re: EEPROM on 16F872

Hi Ben, Just tried it with a 16F88 and code is works ok?
by andygraves
Mon Mar 08, 2010 4:25 pm
Forum: Flowcode V4
Topic: EEPROM on 16F872
Replies: 9
Views: 6201

Re: EEPROM on 16F872

Hi Ben,
Even after a reset...
Thanks
Andy
by andygraves
Mon Mar 08, 2010 3:35 pm
Forum: General Programming
Topic: Lots of Non Volatile Memory Required
Replies: 3
Views: 3769

Re: Lots of Non Volatile Memory Required

Hi Ban,
Thanks for the reply, sorry for my delay.. Please tell code of the 4M chip you used?
Thanks
Andy
by andygraves
Mon Mar 08, 2010 3:25 pm
Forum: Flowcode V4
Topic: EEPROM on 16F872
Replies: 9
Views: 6201

Re: EEPROM on 16F872

Here is the FC4 file
by andygraves
Mon Mar 08, 2010 3:23 pm
Forum: Flowcode V4
Topic: EEPROM on 16F872
Replies: 9
Views: 6201

EEPROM on 16F872

Doing some testing with EEPROM, so made a quick prog to store a value to EEPROM and retrieve it on powerup, all works fine in the panel but on the chip the value is lost (it returns the address instead of the data. Any clues...?
FLASH.fcf
by andygraves
Wed Mar 03, 2010 7:25 am
Forum: General Programming
Topic: Lots of Non Volatile Memory Required
Replies: 3
Views: 3769

Lots of Non Volatile Memory Required

Hi Guys,
Please can you advise the best way to add lots of non volatile memory to a project? I am considering I2C chips, but not big enough? Is SD/MSC via SPI the way to go? Please give me some advice...
Thanks
Andy