Search found 15 matches

by Ralph
Sun Aug 26, 2018 10:44 am
Forum: General
Topic: module for the HMC5883L compass
Replies: 7
Views: 6751

Re: module for the HMC5883L compass

I used the CMPS11 module https://www.robot-electronics.co.uk/htm/cmps11doc.htm with great success. This particular module does all the heavy lifting as it takes care of the tilt compensating maths for you. If you decide to go down this path I can post the two or three lines of code that I used - it ...
by Ralph
Wed Nov 25, 2015 12:14 am
Forum: IDE
Topic: Windows 10
Replies: 10
Views: 8803

Re: Windows 10

Further investigation suggests that the issue I am experiencing is limited to my particular laptop running Windows 10. The good news is that after the changes were made which set bDeviceSubClass to $02 in the CDC Descriptor, (as previously suggested by Jerry), the USB connection is working perfectly...
by Ralph
Mon Nov 23, 2015 12:35 pm
Forum: IDE
Topic: Windows 10
Replies: 10
Views: 8803

Re: Windows 10

Thanks Jerry - I will certainly follow that up. Some further tests have revealed that a blocking call in the CDC.Writebyte subroutine is where the program "hangs", in particular right here in the USBCDC module: While ((FTXPos = (TX_BUFFER_SIZE - 1)) And Attached) _service() End While The code sits i...
by Ralph
Mon Nov 23, 2015 6:17 am
Forum: IDE
Topic: Windows 10
Replies: 10
Views: 8803

Re: Windows 10

Hi all, I am really struggling with Win10 and the new usbser.sys issue. The application I have developed is an industrial control product, developed using Swordfish and the USB1.43 library (essentially my product is a serial to USB converter with some 'smart stuff' in the middle) which has been runn...
by Ralph
Wed Mar 18, 2015 11:47 am
Forum: Modules
Topic: new USB library v1.4.3
Replies: 10
Views: 6197

Re: new USB library v1.4.3

Just a quick note to let others know that I (finally) got the opportunity to upgrade two of my product designs to incorporate Jerry's new USB 1.4.3 library. It works great Jerry!! Both my projects previously used 1.4.2 (which was also functioning perfectly), and the transition across to the new 1.4....
by Ralph
Sat Jan 24, 2015 3:01 pm
Forum: Modules
Topic: A question relating to ISRRX.BAS module
Replies: 2
Views: 3050

Re: A question relating to ISRRX.BAS module

Many thanks David for the fast reply. And it is comforting to know that I was probably not the culprit - sometimes I have been known to fiddle with things whilst debugging, as I find I can learn more that way. The module seems to be working just fine, so I'll leave it as is.

Cheers,
Ralph.
by Ralph
Sat Jan 24, 2015 11:58 am
Forum: Modules
Topic: A question relating to ISRRX.BAS module
Replies: 2
Views: 3050

A question relating to ISRRX.BAS module

I have recently been revisiting a project from a while back and have noticed in my ISRRX.BAS module that two lines have been commented out in the DataAvailable function: { **************************************************************************** * Name : DataAvailable * * Purpose : Check to see i...
by Ralph
Thu May 29, 2014 8:23 am
Forum: Compiler
Topic: Compilation Error with Swordfish Toolsuite
Replies: 4
Views: 2704

Re: Compilation Error with Swordfish Toolsuite

I am also running SF 2.2.2.2 on Windows 8.1 64bit and it compiles fine for me. Please let me know if you'd like me to examine any of my Windows settings to help you isolate the problem further.
by Ralph
Sat May 24, 2014 3:05 pm
Forum: General
Topic: problems with USB bootloader and
Replies: 4
Views: 3493

Re: problems with USB bootloader and

I've taken a look back at my working project that uses this library and yes, I simply edited the HIDbootloader18F.bas in accordance with the instructions to customise to my hardware (a PIC18F4550 @ 48MHz in my case), added my own PID and VID details, then compiled and programmed the hex file onto th...
by Ralph
Fri May 23, 2014 7:28 am
Forum: General
Topic: problems with USB bootloader and
Replies: 4
Views: 3493

Re: problems with USB bootloader and

Hi Gerard, I use Jerry Messina's USB library (v1.42 I think is the latest) with the Microchip HID Bootloader and confirm that it runs quite happily on my system under Windows 8.1 You can get it here: http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.USBLibrary It is an excellent library an...
by Ralph
Tue Jan 14, 2014 12:09 pm
Forum: IDE
Topic: Windows 8 or 8.1 - will SF run OK?
Replies: 8
Views: 8528

Re: Windows 8 or 8.1 - will SF run OK?

I'm been running SF under Win8 ever since it came out - and more recently under Win8.1 Pro x64.

It works absolutely perfectly for me. My SF version is 2.2.1.8

Cheers,
Ralph
by Ralph
Fri Jan 03, 2014 5:25 am
Forum: General
Topic: Timer 1 oscillator
Replies: 4
Views: 2657

Re: Timer 1 oscillator

Not sure of the circuit you are using, but two 22pF caps in parallel is 44pF, not 11pF. :shock:

Cheers,
Ralph.
by Ralph
Fri Oct 29, 2010 3:39 am
Forum: Compiler
Topic: PS/2 Keyboard
Replies: 4
Views: 3333

Perfect - thanks

Superb - thanks Graham, that is just what the doctor ordered!
by Ralph
Fri Oct 01, 2010 9:54 am
Forum: Compiler
Topic: PS/2 Keyboard
Replies: 4
Views: 3333

Thanks for that link - I'll take a close look and see how I go...
by Ralph
Thu Sep 23, 2010 10:25 am
Forum: Compiler
Topic: PS/2 Keyboard
Replies: 4
Views: 3333

PS/2 Keyboard

Does anyone have any suggestions or code snippets to share that will help be in my quest to read data from an older style PS/2 keyboard? One-way communication is all I need - from keyboard to PIC. (I have no real need to switch on Caps Lock leds etc, although that would be an added bonus) :D Mikroba...