Author |
Message |
Topic: Bootloader problem |
nhol
Replies: 7
Views: 16597
|
Forum: General CCS C Discussion Posted: Fri Jun 09, 2017 5:00 am Subject: Bootloader problem |
Thanks Ttelmah,
You are right. In my newest code, there is missing a closing bracket after the 10 us delay and before if (received). Sorry, for this (copy/paste error).
About the loader size, i fo ... |
Topic: Bootloader problem |
nhol
Replies: 7
Views: 16597
|
Forum: General CCS C Discussion Posted: Fri Jun 09, 2017 12:29 am Subject: Bootloader problem |
Thanks Ttelmah
LOADER_END is defines with 0x07ff. This is the last address of the bootblock. The loader size is 0x0408. So this shouldn't be the problem.
The routines for the pcb test are locate ... |
Topic: Bootloader problem |
nhol
Replies: 7
Views: 16597
|
Forum: General CCS C Discussion Posted: Thu Jun 08, 2017 8:21 am Subject: Bootloader problem |
Hello,
i've reworked may bootloader and put some #org into the code.
#case
#include <18F46K22.h>
#FUSES NOWDT
#FUSES PUT ... |
Topic: Bootloader problem |
nhol
Replies: 7
Views: 16597
|
Forum: General CCS C Discussion Posted: Wed May 10, 2017 9:24 am Subject: Bootloader problem |
Hello,
i found the problem. The Problem was the sprintf to convert the checksum to a string.
Snip from main of the bootloader:
if (bytestosend) ... |
Topic: Bootloader problem |
nhol
Replies: 7
Views: 16597
|
Forum: General CCS C Discussion Posted: Tue May 09, 2017 4:55 am Subject: Bootloader problem |
Hello,
I use the pic 18f46k22 and the Compiler Revision 5.070.
I'm working on a bootloader application. The bootloader should have the loader routines and also routines for testing the pcb after ... |
|