Author |
Message |
Topic: Bootloader problem |
russk2txb
Replies: 4
Views: 13231
|
Forum: General CCS C Discussion Posted: Wed Jul 11, 2018 10:37 am Subject: Bootloader problem |
Thanks for the ideas guys. I never noticed that I was sending a 32 bit address to the write_eeprom function. However that was not the problem. To be sure I did change the code to and the address wi ... |
Topic: Bootloader problem |
russk2txb
Replies: 4
Views: 13231
|
Forum: General CCS C Discussion Posted: Wed Jul 11, 2018 6:53 am Subject: Bootloader problem |
Hi All. I have had a working bootloader for several years, but I just discovered it no longer works. I upgraded the compiler to version 5.071 a while ago so I am wondering if there might be a proble ... |
Topic: forum problem? |
russk2txb
Replies: 3
Views: 10641
|
Forum: General CCS C Discussion Posted: Sat Jan 06, 2018 4:47 pm Subject: forum problem? |
Thanks Jay. It is working ok here now too. I guess it was a temporary problem. I should have waited a few hours before posting. I did not change anything here (Windows 7 pro also), did not reboot, ... |
Topic: forum problem? |
russk2txb
Replies: 3
Views: 10641
|
Forum: General CCS C Discussion Posted: Fri Jan 05, 2018 2:01 pm Subject: forum problem? |
FYI I notice a problem with this forum. When I search and get more than one page of results, it shows that there are many more pages but clicking on a page number, or on next page, results in an empt ... |
Topic: Extra clock cycle |
russk2txb
Replies: 2
Views: 9388
|
Forum: General CCS C Discussion Posted: Fri Dec 22, 2017 4:33 pm Subject: Extra clock cycle |
Thanks Ttelmah. You always have great answers. That worked just right. I am really not sure exactly how the interrupt delay got in the way of processing that last pulse on time, but it is obvious t ... |
Topic: Extra clock cycle |
russk2txb
Replies: 2
Views: 9388
|
Forum: General CCS C Discussion Posted: Fri Dec 22, 2017 9:56 am Subject: Extra clock cycle |
I am using a USB Master dev kit (18F67J10) to generate a fast clock. The clock must run for 68 microseconds. Here is the code:.................... // set up timer 1 to interrupt in 68 us. At 40 Mhz, ... |
Topic: command line compiler |
russk2txb
Replies: 3
Views: 11421
|
Forum: General CCS C Discussion Posted: Sat Apr 08, 2017 6:28 pm Subject: command line compiler |
Ok, thanks for that. I don't use MPLAB so had no idea. I'll give it a try.
Regards, Russ |
Topic: Why doesn't search work |
russk2txb
Replies: 6
Views: 12153
|
Forum: General CCS C Discussion Posted: Sat Apr 08, 2017 6:26 pm Subject: Why doesn't search work |
Yes, that's what I got too, but most of those hits had nothing to do with the subject. In fact I only found 3 or 4 before I finally gave up because no more were being seen. I think it searches for e ... |
Topic: command line compiler |
russk2txb
Replies: 3
Views: 11421
|
Forum: General CCS C Discussion Posted: Sat Apr 08, 2017 4:51 pm Subject: command line compiler |
I'm trying to automate some processes and so am trying to use the command line compiler. I read the help file on it but it seems incomplete. For example it shows a -FH option for PCH, but no option ... |
Topic: Why doesn't search work |
russk2txb
Replies: 6
Views: 12153
|
Forum: General CCS C Discussion Posted: Sat Apr 08, 2017 4:44 pm Subject: Why doesn't search work |
I just spent a frustrating hour trying to find some info in this forum. I tried multiple ways to search for information on the command line compiler, but no matter what I do I always get many hundred ... |
Topic: Bootloader, program will not run when #ORG is changed |
russk2txb
Replies: 17
Views: 34696
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 6:05 pm Subject: Bootloader, program will not run when #ORG is changed |
Jay and Ttelmah,
Thanks for all your help in understanding how to make this work. I now have it doing most all of what I want. I added code to write to the eeprom and that works well. The last rou ... |
Topic: Bootloader, program will not run when #ORG is changed |
russk2txb
Replies: 17
Views: 34696
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 10:18 am Subject: Bootloader, program will not run when #ORG is changed |
Of course you are correct. I was just being a bit overwhelmed at all of the problems I am having, both with this hobby program and with my day job programs. Forgot that I had not posted in the curre ... |
Topic: Bootloader, program will not run when #ORG is changed |
russk2txb
Replies: 17
Views: 34696
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 8:53 am Subject: Bootloader, program will not run when #ORG is changed |
Ok our messages crossed. You said that the #build statement is used to place code to revector the interrupts, but that #build statement is not seen by the bootload program (because of _bootloader bei ... |
Topic: Bootloader, program will not run when #ORG is changed |
russk2txb
Replies: 17
Views: 34696
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 8:43 am Subject: Bootloader, program will not run when #ORG is changed |
Looking at the bootloader code:#int_global
void isr ()
{
jump_to_isr (LOADER_END + 5 * (getenv ("BITS_PER_INSTRUCTION") / 8));
}
*
0008: ... |
Topic: Bootloader, program will not run when #ORG is changed |
russk2txb
Replies: 17
Views: 34696
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 7:57 am Subject: Bootloader, program will not run when #ORG is changed |
Hello again Jay. I think you have put your finger on it. I expected that the bootloader.h statement#build(RESET=LOADER_END+1, INTERRUPT=LOADER_END+9)
would cause interrupts to be vectored t ... |
|