Search found 13 matches

by bilinkl
Wed Feb 08, 2017 7:33 am
Forum: Compiler
Topic: Measuring duty cycle of short duration pulses & long period
Replies: 2
Views: 3187

Re: Measuring duty cycle of short duration pulses & long per

Hi Jerry, thanks for the information. That's a cunning trick to achieve a 1Mhz clock... I'm not locked into any particular cpu speed but will probably go faster as the need for more tasks increases - for the moment I need to get the concept operational and then tweak it later. I'll look into your su...
by bilinkl
Mon Feb 06, 2017 2:19 am
Forum: Compiler
Topic: Measuring duty cycle of short duration pulses & long period
Replies: 2
Views: 3187

Measuring duty cycle of short duration pulses & long period

Hi All, I want to measure the Duty Cycle of piezo automotive (in particular diesel) injectors where typical idle on-time is 500us and full load is 1000us. Results will be used in a feedback loop to control other parameters. The clincher is shortest period will be around 20ms or 50hz frequency at max...
by bilinkl
Sun Apr 13, 2014 2:48 pm
Forum: Compiler
Topic: Win7 and XP problems - SFC locks and the other errors
Replies: 2
Views: 2018

Re: Win7 and XP problems - SFC locks and the other errors

Hi David, Thanks for the help. I made the change but it didn't make any difference... I persisted with repeated attempts and finally managed to see the IDE open for a short time. Time enough to see a background shadow of my virus protection! Disabling this for 10 minutes allowed a normal open during...
by bilinkl
Sat Apr 12, 2014 9:33 am
Forum: Compiler
Topic: Win7 and XP problems - SFC locks and the other errors
Replies: 2
Views: 2018

Win7 and XP problems - SFC locks and the other errors

Hi All, I have a Win7 machine but haven't run SFC for many months. Went to use it yesterday and the IDE opened then immediately dropped out every attempt. Might be a Win problem requiring a reinstall so attempted the swordfish-si.exe - PC locks up. After rebooting looked up the Forum and see David's...
by bilinkl
Thu Aug 08, 2013 5:56 am
Forum: Compiler
Topic: How to set clock speed?
Replies: 7
Views: 3030

Hi Jerry, You are right I can change the fuse manually - so problem solved and I can continue to use the programmer I have. I didn't attempt this earlier because a warning box came up which I wasn't going to risk at the time, but it's all good now. :D Thanks for all your help and I look forward to s...
by bilinkl
Wed Aug 07, 2013 3:24 pm
Forum: Compiler
Topic: How to set clock speed?
Replies: 7
Views: 3030

Thanks for the information Jerry and Richard. You may be right about the programmer Jerry, as you know I'm already doing a cludge to burn the chip - so your suggestion is probably correct and I need to update... What is the recommended USB (power and com) with ZIF programmer SF users are happy with?...
by bilinkl
Tue Aug 06, 2013 12:34 pm
Forum: Compiler
Topic: How to set clock speed?
Replies: 7
Views: 3030

Still no good...

Hi Jerry, Thanks for the suggestions - but still no good using this: Device = 18F452 'Clock = 40 ' Note internal x4 (10Mhz crystal used). Clock = 10 ' Note internal x4 (10Mhz crystal used). Config OSC = HS ' default fuse no PLL 'Config OSC = HSPLL ' Note internal x4, 10Mhz crystal used = 40Mhz. #opt...
by bilinkl
Mon Aug 05, 2013 2:37 pm
Forum: Compiler
Topic: How to set clock speed?
Replies: 7
Views: 3030

How to set clock speed?

Hi All, 2nd post for me, still finding my way with SF... V2.2.1.7 I'm having problems setting Device clock speed. I'm using a 10Mhz resonator and 18F452 with the sample GLCD code, success writing to it and blinking an LED but it's obvious timing is out. I found various snippets in the forum and now ...
by bilinkl
Wed Jul 31, 2013 2:42 am
Forum: Compiler
Topic: Newbie HEX error every time
Replies: 8
Views: 4836

Hi Jerry, That last link is the solution, although a little extra handling to convert the compiled hex to the correct format - but it works! My programmer is indeed the K128 and I will continue to monitor the site for any updates. I can't thank you enough for your research and help in making this wo...
by bilinkl
Tue Jul 30, 2013 2:42 am
Forum: Compiler
Topic: Newbie HEX error every time
Replies: 8
Views: 4836

Hi Jerry,

You are the man! Success, thank you.

Okay what are my options now - no doubt that end code will change for each device or fuse configuration...

Kind regards,
Bill
by bilinkl
Mon Jul 29, 2013 6:01 pm
Forum: Compiler
Topic: Newbie HEX error every time
Replies: 8
Views: 4836

Hi again Jerry, The only programmer I have is MicroPro, a USB kit I built a few years back which works faultlessly on everything I've done in the past with my other compiler. As mentioned before when I write something with the other compiler for the 18F452 (or anything else) it does the job every ti...
by bilinkl
Mon Jul 29, 2013 5:14 pm
Forum: Compiler
Topic: Newbie HEX error every time
Replies: 8
Views: 4836

Hi Jerry, Thanks for the reply. I upgraded after my last post to the latest version BTW but no difference. Yes, the Write.bas is about at basic as it gets (no pun intended) and I have not edited it in any way, it specifies device = 18F452. I can't see any info on including attachments otherwise I'd ...
by bilinkl
Mon Jul 29, 2013 1:34 pm
Forum: Compiler
Topic: Newbie HEX error every time
Replies: 8
Views: 4836

Newbie HEX error every time

Hi All, I'm new to SF but experienced with PBPro. Purchased in December 2012 but haven't had a chance until now to use it. V 2.2.1.4 I am trying to compile the simplest program (Write) from the Samples area using the default 18F452 and it appears successful until I go to load it in my programmer. As...