Search found 64 matches

by Aresby
Thu Aug 13, 2015 5:01 pm
Forum: User Modules
Topic: USB PIC18F2550 Keyboard/HID query
Replies: 3
Views: 5472

Re: USB PIC18F2550 Keyboard/HID query

Ah ha! <Eureka Moment> That means that if I just send "A", "B" and "C" it means (to the OS) that those keys have been pressed but never released. I'm guessing that the OS then just recognises the last key pressed which is why it continues to be "seen" as part of the OS's key repeat function - it's n...
by Aresby
Mon Aug 03, 2015 6:36 am
Forum: User Modules
Topic: USB PIC18F2550 Keyboard/HID query
Replies: 3
Views: 5472

USB PIC18F2550 Keyboard/HID query

I've now got the PIC18F4550 USB Keyboard/HID project working just fine thanks to you guys but I have a query. The SendKey function seems to continue sending the last "keystroke" unless you send a "0" (zero) - is this normal? Does it continue to send the "0" or does it in fact stop sending anything (...
by Aresby
Tue Jul 28, 2015 11:30 am
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

Thank you bitfogav, appreciated. :D
by Aresby
Mon Jul 27, 2015 7:03 pm
Forum: Compiler
Topic: Unable to update Swordfish
Replies: 1
Views: 1876

Unable to update Swordfish

Swordfish tells me (Help > About) that updates are available but when I try to install them it first asks me for my key, which I provide, and it then tells me An error has occurred. The product key entered has already been used on one or more machines. Well, yes, it's the machine I'm trying to updat...
by Aresby
Mon Jul 27, 2015 8:03 am
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

I found out that my boards ICSP connector was layed out backwards! Turns out there was a mixup in the original documentation on the ICD2 and I had been designing boards with the ICSP SIL header the wrong way around for years! ... I know the next guy after me will be cussing and calling me an idiot....
by Aresby
Sun Jul 26, 2015 5:18 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

Hi Jerry Thanks for the information, I shall certainly be looking more closely this board to ensure it's not going to start damaging whatever it's connected to, +ve wise. Anyway, your queries prompted me to check out the connections and here's a funny thing. How you'll laugh. This board is fundament...
by Aresby
Sat Jul 25, 2015 4:38 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

Will check the USB connections but the hardware is the RKPK40 Prototype Kit (I'll try and attach a photo of it) so it is less likely I got the connections wired up the wrong way (this from the man who connected the PICkit2 the wrong way round for more than a year and wondered why it didn't work). He...
by Aresby
Fri Jul 24, 2015 5:20 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

I'm afraid this gave me 404 reasons to be sad :(

I'm willing to give it another go if you are :)
by Aresby
Fri Jul 24, 2015 2:15 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

@Jerry Yes I power the board from the USB but I also tried powering from external PSU, no difference either way. @RangerBob Yes, I'd appreciate a version that is absolutely known to work for you. If I load it up and nothing happens then it's my board and not the code, at least :) Does the project al...
by Aresby
Thu Jul 23, 2015 6:21 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

Thanks for the update Jerry. When you say you just built it, did you do so removing the $0800 address or did you have a USB bootloader present? And when you plugged it into the Windows USB port it immediately came up with the "New Hardware Found" message? I tried a different USB cable but same (non)...
by Aresby
Wed Jul 22, 2015 6:09 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

So my newly prepared development board is all set up, the obligatory, flashing LED program downloaded (via PICkit2) and working --- and then the obligatory brick wall. I've built the USBKeyboardDemo project and downloaded it (minus the #option org_reset = $0800). So the code should start running at ...
by Aresby
Wed Jul 22, 2015 7:03 am
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

Re: USB Bootloader with PICKit 2? Confused!

Thanks for the welcome, Jerry, I hope it's not a temporary visit! I'll give this a go then, and just build and load the entire sample USB HID Keyboard project and see what happens. Can you just elaborate what you mean by "be sure to use the original USB libraries that come with the compiler" - the a...
by Aresby
Tue Jul 21, 2015 6:49 pm
Forum: Compiler
Topic: Problems with Swordfish. PICkit2 and a PIC18K4550
Replies: 24
Views: 11716

Re: Problems with Swordfish. PICkit2 and a PIC18K4550

I thought I'd answer my own question as I finally found the answer. The demo/development board is a RKPK40 Prototype PCB for PIC18F4550 etc for use with PicKit Self Build Kit which you can get in several places including eBay for just under a tenner, postage included and a free PIC18F4550 thrown in ...
by Aresby
Tue Jul 21, 2015 6:28 pm
Forum: General
Topic: USB Bootloader with PICKit 2? Confused!
Replies: 22
Views: 15326

USB Bootloader with PICKit 2? Confused!

Hi Guys After a 2 (or is it 3) year absence from this forum (life goes on, while God laughs at your PIC-related plans and all that) I have a fundamental question that has foxed me on my return. I now have a PIC 18F4550 development board, with a PICkit2 interface to upload (download?) the programs on...
by Aresby
Thu Aug 14, 2014 4:14 pm
Forum: Compiler
Topic: Problems with Swordfish. PICkit2 and a PIC18K4550
Replies: 24
Views: 11716

Re: Problems with Swordfish. PICkit2 and a PIC18K4550

I've installed the latest software / firmware as per the previous post, but it has, if anything, made matters worse! PICkit2 now reports "No device found" whereas previously it at least thought it had detected a PIC chip. Time is against me now so I shall dip into and out of this project as time per...