Search found 23 matches
- Thu Jan 12, 2017 12:57 pm
- Forum: User Modules
- Topic: Bootloader corruption (2550)
- Replies: 5
- Views: 6268
Re: Bootloader corruption (2550)
Any ideas?
- Mon Jan 09, 2017 1:36 pm
- Forum: User Modules
- Topic: Bootloader corruption (2550)
- Replies: 5
- Views: 6268
Re: Bootloader corruption (2550)
All these pins are NC. Just using USB and only RA0 is for input. MCLR connected to positive.Jerry Messina wrote:I can't say I've seen it do this, but maybe others have.
how are you using the MCLR, RB6, RB7 and RB3 pins?
- Mon Jan 09, 2017 1:30 pm
- Forum: User Modules
- Topic: Bootloader corruption (2550)
- Replies: 5
- Views: 6268
Re: Bootloader corruption (2550)
Here is my config. FOSC = HSPLL_HS, PLLDIV = 5, CPUDIV = OSC1_PLL2, USBDIV = 2, FCMEN = OFF, IESO = OFF, PWRT = ON, BOR = OFF, BORV = 2, VREGEN = ON, WDT = OFF, WDTPS = 2048, CCP2MX = OFF, PBADEN = OFF, LPT1OSC = OFF, MCLRE = OFF, BOR = ON, CPB = ON, CP0 = ON, CP1 = ON, CP2 = ON, CP3 = ON
- Mon Jan 09, 2017 10:00 am
- Forum: User Modules
- Topic: Bootloader corruption (2550)
- Replies: 5
- Views: 6268
Bootloader corruption (2550)
Hi, i am using Jerry Messina's USB resources and bootloader. Sometimes my PIC just fail to load. I've never recreate problem myself, but some customers repeatedly came back with broken PICs. PICKit 2 can't recognise that broken PICs, but plugging after a new PIC, PicKit2 can erase the broken PIC and...
- Fri Jul 15, 2016 10:23 am
- Forum: General
- Topic: Writing hex and bootloader at the same time
- Replies: 1
- Views: 5281
Writing hex and bootloader at the same time
For speeding production purposes, i need to write bootloader and program hex files together to PIC. Is there a way to do this?
- Sat May 28, 2016 8:20 am
- Forum: General
- Topic: USB HID Mouse
- Replies: 0
- Views: 19047
USB HID Mouse
Trying to get 2550 to work as a USB Mouse, but couldn't find any example/demo for that application.
Is there anyone worked on that?
Is there anyone worked on that?
- Wed May 11, 2016 1:20 pm
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
Just for precise automation.
- Wed May 11, 2016 5:45 am
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
I assume the purpose of this routine is to mimic pressing a key for 'pBas' msecs, and then releasing it? If so, you'll almost always get stuck in the 'Repeat Until Zms = pBas' loop for about 65 seconds (until Zms wraps around and meets pBas). I set Zms to zero before this, so it counts to my prefer...
- Tue May 10, 2016 3:50 pm
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
Here is my code. Explained in comment line. (20mhz)
- Tue May 10, 2016 7:34 am
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
When sending keypresses from OnTimer Event, code stops working. Removing that code fixes that. Is there a way to send key presses from Timer routine? I really need this.
- Mon May 09, 2016 1:35 pm
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
When setting it to Event, it won't work. Changing to Sub worked. Weird.
I have to send some keypresses via ontimer, maybe will try to rework it. thanks for helping, i can never fix it myself.
I have to send some keypresses via ontimer, maybe will try to rework it. thanks for helping, i can never fix it myself.
- Mon May 09, 2016 12:21 pm
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
Yes, my sendkey does only keypresses. i release key with sendkey(0). My Sub is working but will try yours. Thanks. I will also send key presses in ontimer subroutine.
- Mon May 09, 2016 11:41 am
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
Got it.
Changed this:
to this.
Changed this:
Code: Select all
Event OnTimer1()
Inc(Zms)
End Event
Code: Select all
Sub OnTimer1()
Inc(Zms)
End sub
- Mon May 09, 2016 11:18 am
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
using this increment for setting keypress hold times:
Code: Select all
Public Sub Bir(pBas As Integer)
SendKey(30)
Repeat Until Zms = pBas
SendKey(0)
Zms = 0 Rd
End Sub
- Mon May 09, 2016 11:15 am
- Forum: Compiler
- Topic: HID Keyboard Demo Problem
- Replies: 30
- Views: 12798
Re: HID Keyboard Demo Problem
Code: Select all
Event OnTimer1()
Inc(Zms)
End Event
Const Timer1 = 0