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 support@ccsinfo.com

How do you program and run your code?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
flemse



Joined: 19 Feb 2008
Posts: 5

View user's profile Send private message

How do you program and run your code?
PostPosted: Tue Feb 19, 2008 9:54 am     Reply with quote

Hi

I have a self made burner http://www.janson-soft.de/pic/pic.htm and it’s work.

Than I have a prototype board self made, and it’s work!

But the trivial and problematic thing is:

1) Every time the code must be tested I move the pic to the burner and burn it.

2) Thereafter I move the pic to the prototype board and try it out.

Is there some smarter but cheap suggestion?

Flemming


Last edited by flemse on Tue Feb 19, 2008 10:50 am; edited 1 time in total
Bob Sacamano



Joined: 17 Jan 2008
Posts: 16
Location: Somewhere Cold, USA

View user's profile Send private message

PostPosted: Tue Feb 19, 2008 10:48 am     Reply with quote

An ICD allows you to program, run, and debug your PIC in-circuit. A 6-pin header is all you need on the board. ICDs from CCS are $75 and they program nearly all PICs.

http://www.ccsinfo.com/product_info.php?cPath=Store&products_id=ICDU40
http://ccsinfo.com/faq.php?page=icd_connection
_________________
"And you want to be my latex salesman."
meereck



Joined: 09 Nov 2006
Posts: 173

View user's profile Send private message

PostPosted: Tue Feb 19, 2008 1:33 pm     Reply with quote

in the case you use a pic which supports self-write, you can generally use a bootloader.
The bootloader allows you to flash the pic program and eeprom memory over a PIC's peripherals such as RS-232, RS-485, CAN, USB, Ethernet.
You flash the PIC with the bootloader firmware (obviously, you need a PIC programmer) and after that, you dont need any programmer, you just flash the pic with the help of the bootloader which is already in the PIC.

My favorite one is tiny bootloader which works via RS-232. See http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm
I have also tried Microchip USB bootloader which also worked well for me - for instance, this link : http://pic18fusb.online.fr/wiki/wikka.php?wakka=UsbBootload
I use PIC18 series.

For another bootloader, check /PICC/Examples/ex_bootload.c

good luck
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group