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 219 matches
CCS Forum Index
Author Message
  Topic: CCS Bootloader: Posted job at eLance for $$$
Hans Wedemeyer

Replies: 0
Views: 2920

PostForum: General CCS C Discussion   Posted: Sat May 22, 2010 3:20 pm   Subject: CCS Bootloader: Posted job at eLance for $$$
In this slow economy may be this can help someone as well as myself.

I posted a job at eLance.com

http://www.elance.com/jobs/bootloader_for_microchip_using_ccs_compiler/c/20050358?catId=12350 ...
  Topic: bootloader #org and more
Hans Wedemeyer

Replies: 9
Views: 13633

PostForum: General CCS C Discussion   Posted: Sun Apr 04, 2010 3:31 pm   Subject: bootloader #org and more
I agree, that the bootloader examples are not particularly instructive. But by studying them thoroughly, you should be
able to understand the principle.

P.S: The bootloader example basically has ...
  Topic: bootloader #org and more
Hans Wedemeyer

Replies: 9
Views: 13633

PostForum: General CCS C Discussion   Posted: Sat Apr 03, 2010 5:51 am   Subject: The issue
Sorry about that !
I was more interested to know if the #org, LOADER_END, LOADER_SIZE are correct, in relation to the start and end of the hex files !

CCS is OK but the examples do not spell o ...
  Topic: bootloader #org and more
Hans Wedemeyer

Replies: 9
Views: 13633

PostForum: General CCS C Discussion   Posted: Thu Apr 01, 2010 8:43 pm   Subject: bootloader #org and more
I tried modifying the CCS bootloader for PIC18F2520.

I think I got something wrong with the #org statements LOADER_END etc.

Here is a summary of the files showing the values for #org etc.

An ...
  Topic: Output File Names
Hans Wedemeyer

Replies: 3
Views: 4980

PostForum: General CCS C Discussion   Posted: Fri Mar 26, 2010 10:28 am   Subject: Thanks that did the trick !
Thanks
  Topic: Output File Names
Hans Wedemeyer

Replies: 3
Views: 4980

PostForum: General CCS C Discussion   Posted: Thu Mar 25, 2010 8:09 am   Subject: Output File Names
Sometimes one source can be used for several different mcu.

Is there a way to use a #define statement to output different file names ?

Or is there any way to change the output file names based u ...
  Topic: Little off topic: BitScope for PIC projects
Hans Wedemeyer

Replies: 2
Views: 5962

PostForum: General CCS C Discussion   Posted: Sun Nov 04, 2007 5:03 pm   Subject: It's working fine...
I use the 4 channel BS442N version all the time for all types of PIC projects. I mainly use the POD interface digital inputs.
I just talked with Bruce and he emailed me a newer version of the DSO pro ...
  Topic: Little off topic: BitScope for PIC projects
Hans Wedemeyer

Replies: 2
Views: 5962

PostForum: General CCS C Discussion   Posted: Sat Nov 03, 2007 11:19 am   Subject: Little off topic: BitScope for PIC projects
Some time ago I purchased a Bitscope BS3100 and never had time to read the manual or play with it until today.

The BS3100 sounds like a reasonable solution for many slow to medium speed PIC projec ...
  Topic: bootloader application RCALL gets changed to GOTO
Hans Wedemeyer

Replies: 0
Views: 3291

PostForum: General CCS C Discussion   Posted: Sat Sep 22, 2007 6:48 pm   Subject: bootloader application RCALL gets changed to GOTO
Using the CCS ex_bootloader the last line of code in the hex file looks like this:

:04070000FFD7000C13 // from the LST this is a RCALL 0700

The loaded applications first line of code in the hex ...
  Topic: Question about #build (reset=0X200, interrupt=0X208)
Hans Wedemeyer

Replies: 10
Views: 17472

PostForum: General CCS C Discussion   Posted: Sat Sep 22, 2007 4:48 pm   Subject: Question about #build (reset=0X200, interrupt=0X208)
Yes.
The 'jump_to_isr' instruction will automatically handle both. This is the difference between using this, and a manual 'goto'.
What else are you going to put in the space between the jumps?. The ...
  Topic: Question about #build (reset=0X200, interrupt=0X208)
Hans Wedemeyer

Replies: 10
Views: 17472

PostForum: General CCS C Discussion   Posted: Sat Sep 22, 2007 8:47 am   Subject: Question about #build (reset=0X200, interrupt=0X208)
Only if you are using both.
If interrupt priority is disabled, the 08 address is used.

Best Wishes

Yes I just noticed that.
I added #device HIGH_INTS=TRUE and tthe compiler generated this. ...
  Topic: Question about #build (reset=0X200, interrupt=0X208)
Hans Wedemeyer

Replies: 10
Views: 17472

PostForum: General CCS C Discussion   Posted: Sat Sep 22, 2007 8:20 am   Subject: Question about #build (reset=0X200, interrupt=0X208)
It doesn't.
To use interrupts, the bootloader, _must_ vector the interrupt jump, 'into' the real code. The following assumes only low priority interrupts are being used - otherwise two vectors come i ...
  Topic: Question about #build (reset=0X200, interrupt=0X208)
Hans Wedemeyer

Replies: 10
Views: 17472

PostForum: General CCS C Discussion   Posted: Fri Sep 21, 2007 4:16 pm   Subject: Question about #build (reset=0X200, interrupt=0X208)
The compiler generates the normal dispatcher at th 0x208 address (this is what the 'build' statement tells it to do). You need to jump the physical interrupt, to this address, with the routine placed ...
  Topic: Question about #build (reset=0X200, interrupt=0X208)
Hans Wedemeyer

Replies: 10
Views: 17472

PostForum: General CCS C Discussion   Posted: Fri Sep 21, 2007 1:57 pm   Subject: Question about #build (reset=0X200, interrupt=0X208)
The example is not clear about what happens to the original isr dispatcher.

Does this new isr() replace the isr dispatcher ?

The value LOADER_END+5 seems to be specific to the ex_loader example ...
  Topic: Question about #build (reset=0X200, interrupt=0X208)
Hans Wedemeyer

Replies: 10
Views: 17472

PostForum: General CCS C Discussion   Posted: Fri Sep 21, 2007 1:05 pm   Subject: Question about #build (reset=0X200, interrupt=0X208)
I'm trying to move the application reset vector and interrupt vectors out of the boot block.

#build(reset=0x200,interrupt=0X208)
#org 0X0, 0X1FF {} // don't use boot block

This compiles, but t ...
 
Page 1 of 15 Goto page 1, 2, 3 ... 13, 14, 15  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group