CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 12 matches
CCS Forum Index
Author Message
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Thu Apr 07, 2016 6:14 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
Hi,

I find these threads incredibly annoying. The OP engages in lots of back and forth here on the forum - ie. he benefits from the collective wisdom of the forum members - and then suddenly posts ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Thu Apr 07, 2016 6:07 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
great, now we're back to square one. You've got the CCS bootloader up and running.
You should never,ever alter or edit the CCS examples ! Simply copy and rename them,do the editing on your versions. ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Wed Apr 06, 2016 10:30 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
Greetings,

i could make the example of the bootloader work and it does what it has to.

i wonder if theres an option to increase the size of the bootloader to add some code i tried to modify this ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Apr 05, 2016 8:11 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
I would try setting the handshake in device manager for the port, as well as in TeraTerm.
I have found a number of machines (and possibly may be TeraTerm version related), where the TeraTerm setting ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Thu Mar 31, 2016 7:24 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
Hi thanks for your comments,

I'm using the r232 example with a ftdi

1) i compile a led project with 1Hz and seems to work well

2) i made the test with the ftdi and tera term terminal and i re ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 29, 2016 10:58 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
Hi,

I'm not able to compile your code,
here are code that works :

bootloader :#include <18F2550.h>
#fuses NOWDT
#use delay(clock=8000000,internal=8000000)
// #use delay(cry ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2016 7:48 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
hmm..
any time you use serial you need to add 'errors' to the use rs232(....options...)
..
I'm surprised the ccs example doesn't have it...
though as I said before, I haven't used their bootloader ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2016 6:42 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
https://www.dropbox.com/s/mlv8zym0yf6g73i/2016-03-15_183355582.mp4?dl=0

here“s a video so you can see what i see,

the blue line its the data from the pic to pc and de yellow one its from the pc ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2016 6:00 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
OK... time to go back a few steps

Have you been able to compile/load and execute a simple '1Hz LED' program? All it needs to do is 'toggle' an LED on an I/O pin ?

Jay

done i compile one with ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2016 4:16 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
I didn't use bootloader before but I had a work with 18f2550 and these are my config settings, you can use as referance if you suspect on your config.
(I used USB functions so I use both internal and ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2016 4:14 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
I haven't played with bootloaders but..... have you confirmed that the PB on A1 does function ?
Perhaps add code after PB is pressed to say 'PB pressed...now downloading', or something to that effect ...
  Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
robertom

Replies: 26
Views: 60614

PostForum: General CCS C Discussion   Posted: Tue Mar 15, 2016 2:27 pm   Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term
Hello everyone,

I have been trying to use the bootloader for r232 with a 18f2550, i'm using the example provided by CCS (ex_bootloader and ex_bootload) but something seems to be missing.

This is ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group