Search found 152 matches

by RangerBob
Tue Feb 18, 2014 12:43 pm
Forum: General
Topic: Odd startup behavior at low voltage
Replies: 14
Views: 10199

Re: Odd startup behavior at low voltage

Are you absolutely sure you're not browning out the processor during the LED display sequence? Does it run OK from a bench supply? A CR2032 has quite a high internal resistance, and if you start pulling a lot of current from it the terminal voltage starts to plummet rapidly. Remember most CR2032's a...
by RangerBob
Fri Feb 07, 2014 4:37 pm
Forum: Compiler
Topic: RAM Usage
Replies: 8
Views: 3252

Re: RAM Usage

Oh man! I've been longing for this for ages (never got round to asking about it), and it's been there all along! *Kicks Self*

Just out of interest, does anyone already have anything that can parse the IDF file and chuck out an easily human readable ram usage report?

Thanks guys!
by RangerBob
Thu Jan 02, 2014 10:54 am
Forum: General
Topic: Timer 1 oscillator
Replies: 4
Views: 2662

Re: Timer 1 oscillator

What's the rated load capacitance for the crystal?

22pF in my experience seems a bit high for a 32kHz crystal. You might want to try reducing it a bit, and to account for the long(ish) crystal traces (depending on your track/board geometery, Co on the traces can easily be up to 1pF/CM).
by RangerBob
Mon Nov 25, 2013 5:24 pm
Forum: Modules
Topic: bug fixes for USB V1.4.2 lib
Replies: 7
Views: 6051

Thanks Jerry,

Been using your USB libs extensively and only ever spotted the Interrupt one, but thought it was something I introduced! ;)

Rangerbob
by RangerBob
Thu Aug 01, 2013 2:24 pm
Forum: Compiler
Topic: Problem using #option with SPI module
Replies: 6
Views: 3265

I'd have a look at how Steven Wrights SD Filesystem module on the wiki handles SPI selection as it can do either MSSP ports or a software SPI, and it's all selected via options. Sounds like exactly how you want yours to behave. http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.SDFileSystem...
by RangerBob
Mon Jun 17, 2013 9:26 am
Forum: General
Topic: problems with 18f27j53 and usb
Replies: 7
Views: 3924

PS. I have some known working test code up on the wiki here:
http://www.sfcompiler.co.uk/wiki/pmwiki ... er.IntRTCC which uses this device that might be worth trying (uses internal osc).
by RangerBob
Mon Jun 17, 2013 9:24 am
Forum: General
Topic: problems with 18f27j53 and usb
Replies: 7
Views: 3924

Looks about right to me but I haven't personally used this mode on this device. As a quick test; have you tried just using the internal osc on the 18F27J53? On this device you can safely run Full speed USB off the internal 8Mhz oscillator, which is how I've been running it. Might give you some confi...
by RangerBob
Thu May 16, 2013 8:50 am
Forum: IDE
Topic: UMC Loader Application fails to launch
Replies: 3
Views: 5485

Well now don't I look stupid! ;)

Many thanks, works a treat (from the command line)!
by RangerBob
Wed May 15, 2013 2:26 pm
Forum: IDE
Topic: UMC Loader Application fails to launch
Replies: 3
Views: 5485

FYI- the only reference I can find in windows logs to the failure to launch is under the "Event Viewer" - "Windows Logs" - "Application": Details are as follows (redacted as neccessary): - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Windows Error ...
by RangerBob
Wed May 15, 2013 2:01 pm
Forum: IDE
Topic: UMC Loader Application fails to launch
Replies: 3
Views: 5485

UMC Loader Application fails to launch

Hello David, I've been trying to use the UMC Serial Loader. I've got it running perfectly well using the built in "MC loader" from Swordfish (hitting the "UMC Firmware" button to put it into the correct mode). However I now need to be able to give the end users the capability to update the firmware ...
by RangerBob
Wed Apr 10, 2013 3:46 pm
Forum: Compiler
Topic: Watchdog timer on low voltage recovery
Replies: 3
Views: 2821

In a low power situation the RC oscillator the Watchdog runs from will most likely wind up in a borked state and will not be running /able to restart when the voltage rises again. Without a clock to run from, the watchdog is useless. As you suspect and RadioT stated, you'll probably need an external...
by RangerBob
Mon Jan 14, 2013 3:54 pm
Forum: Modules
Topic: USB to Pen Drive or Bluetooth Dongle
Replies: 3
Views: 3009

I'm afraid native USB host (pen drives, plugging into a printer etc)on a PIC18 is out of the question. PIC32 and similar type processors can do it. An option would be to add a dedicated USB host processor if you are determined to use a PIC18 such as the Vinculum products from FTDI . You talk to them...
by RangerBob
Mon Jan 14, 2013 10:36 am
Forum: User Modules
Topic: Event's some pointers on how to use them
Replies: 13
Views: 6056

Not sure if this is what you're after Burt, but I posted an example of using the HLVD before here. I've used this setup in production for detecting DC adapter removal with battery switchover reliably for years now. I switch the detect edges within the interrupt, and have seen no real issues. The mai...
by RangerBob
Thu Dec 13, 2012 9:54 am
Forum: Modules
Topic: ADC.bas
Replies: 4
Views: 3074

What device are you using?

Some of the newer devices have some really funky ADC set-ups which I imagine the standard ADC.bas module can struggle with.
by RangerBob
Tue Dec 04, 2012 5:30 pm
Forum: Compiler
Topic: Oled display question
Replies: 5
Views: 3435

I know its probably a bit late, but have you tried the code I posted here: http://www.sfcompiler.co.uk/forum/viewtopic.php?t=472&highlight="SSD0323" 5th post down, or search the forum for SSD0323, or you can download it from here . Having a quick look through your datasheet, it looks like it should ...