Author |
Message |
Topic: help with USB HID bootloader [solved] |
rampage
Replies: 3
Views: 6309
|
Forum: General CCS C Discussion Posted: Thu Oct 21, 2010 5:32 am Subject: help with USB HID bootloader [solved] |
what if I want to use the internal pull up resistor on portB of 18F2550? Can I have a switch there without a pull up resistor? How to do the settings? |
Topic: reset_cpu() way doesn't work properly with my code |
rampage
Replies: 1
Views: 4779
|
Forum: General CCS C Discussion Posted: Wed Oct 20, 2010 8:22 am Subject: reset_cpu() way doesn't work properly with my code |
Hi,
I want to reset the chip and go into bootloader mode so I called
reset_cpu();
directly.
The bootloader is the USB HID bootloader
void main(void)
{
if(RCONbits.POR ... |
Topic: help with USB HID bootloader [solved] |
rampage
Replies: 3
Views: 6309
|
Forum: General CCS C Discussion Posted: Wed Oct 20, 2010 6:27 am Subject: help with USB HID bootloader [solved] |
well, lesson learned,
Beginners checklist for PIC Microcontrollers
http://www.piclist.com/techref/piclist/begin.htm
rule 9
Don't Float: Tie the switch pin Hi or Lo with a ~10K resistor or use int ... |
Topic: help with USB HID bootloader [solved] |
rampage
Replies: 3
Views: 6309
|
Forum: General CCS C Discussion Posted: Wed Oct 20, 2010 6:03 am Subject: help with USB HID bootloader [solved] |
Hi,
I'm running USB HID bootloader on 18F2550.
I trying to modify the USB HID bootloader to use RC6 pin 17 to match my schematic.
However it seems with my code the condition is always true and i ... |
Topic: register and bit names as they appear in the datasheet |
rampage
Replies: 6
Views: 9459
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 10:45 pm Subject: register and bit names as they appear in the datasheet |
Thanks for the tips, very helpful.
It's on the register tab and named 'Make include file' |
Topic: Easy way to set RCONbits.POR? |
rampage
Replies: 3
Views: 5915
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 10:44 pm Subject: Easy way to set RCONbits.POR? |
Thanks very much, I generated the register header file now. Very helpful |
Topic: Easy way to set RCONbits.POR? |
rampage
Replies: 3
Views: 5915
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 7:21 pm Subject: Easy way to set RCONbits.POR? |
Hi,
I'm new to CCS. Wonder is there a easy way to set RCONbits.POR like I can do in C18?
Thanks, |
|