Author |
Message |
Topic: interrupt in bootloader |
edgarp
Replies: 8
Views: 4640
|
Forum: General CCS C Discussion Posted: Tue Jul 02, 2024 10:41 am Subject: interrupt in bootloader |
There can be an advantage to doing this, but it does bring potential
issues.
So (for example), imagine you have a very well written neat serial
handler, and are using no other interrupts. Provid ... |
Topic: interrupt in bootloader |
edgarp
Replies: 8
Views: 4640
|
Forum: General CCS C Discussion Posted: Tue Jul 02, 2024 10:26 am Subject: Re: interrupt in bootloader |
I know a thing or two about bootloaders. The question to ask yourself is why do you need a bootloader to support interrupts?
A bootloader really has a single task - to bootload an image.
Addin ... |
Topic: interrupt in bootloader |
edgarp
Replies: 8
Views: 4640
|
Forum: General CCS C Discussion Posted: Fri Jun 28, 2024 5:42 pm Subject: interrupt in bootloader |
device : 16F1939
compiler version: 5.116
from what I understood in this post,
https://www.ccsinfo.com/forum/viewtopic.php?t=60380
if you use the bootloader example the ISR would be placed at ... |
Topic: example documentation |
edgarp
Replies: 8
Views: 5504
|
Forum: General CCS C Discussion Posted: Wed Jun 19, 2024 11:19 am Subject: example documentation |
That's in the API.ZIP archive with the examples.
It helps handle the re-vectoring (actually done by the #INT_GLOBAL in
this code). Creates a separate vector table, that can be called by this
routin ... |
Topic: example documentation |
edgarp
Replies: 8
Views: 5504
|
Forum: General CCS C Discussion Posted: Wed Jun 19, 2024 10:31 am Subject: example documentation |
Interesting. What version of CCS C are you using?
I have searched every file in the latest version and cannot find that line
and there is no reference to that in any documentation I can find.
I ... |
Topic: example documentation |
edgarp
Replies: 8
Views: 5504
|
Forum: General CCS C Discussion Posted: Tue Jun 18, 2024 2:09 pm Subject: example documentation |
I am working to make a bootloader using interrupts and I came across this line in one of the examples provided by CCS (bootloader.c)
#build(share_interrupts)// allows both programs to receive inter ... |
|