Author |
Message |
Topic: RS232 firmware loader at runtime : same code, different size |
D-Kens
Replies: 5
Views: 7514
|
Forum: General CCS C Discussion Posted: Wed Aug 01, 2012 5:38 am Subject: RS232 firmware loader at runtime : same code, different size |
Ttelmah, you're right : I'm trying to compile the loader with the project. I know it's not the "academic" way to deal with a bootloader, but my firmware is a serial loader and not a bootload ... |
Topic: RS232 firmware loader at runtime : same code, different size |
D-Kens
Replies: 5
Views: 7514
|
Forum: General CCS C Discussion Posted: Wed Aug 01, 2012 12:45 am Subject: RS232 firmware loader at runtime : same code, different size |
My bad !!!! Before calling the function, I obviously disable all interrupts, and I made several attempts with or without the WDT...
Actually, having the watchdog activated doesn't seem to have any ... |
Topic: RS232 firmware loader at runtime : same code, different size |
D-Kens
Replies: 5
Views: 7514
|
Forum: General CCS C Discussion Posted: Tue Jul 31, 2012 3:52 am Subject: RS232 firmware loader at runtime : same code, different size |
Good morning.
I just finished adapting CCS loader library (based on EdWaugh's code posted there : http://www.ccsinfo.com/forum/viewtopic.php?t=39179&highlight=firmware+update) for my own purpos ... |
Topic: Issues with SIOW under Windows 7 64 bits |
D-Kens
Replies: 1
Views: 3614
|
Forum: General CCS C Discussion Posted: Fri May 06, 2011 4:06 am Subject: Issues with SIOW under Windows 7 64 bits |
Hi !
I just got a new laptop, which had Windows 7 (64 bits) preinstalled. I installed my good "old" version of CCS Compiler on it (PCW 4.104) : no problem, wizard runned successfully. I o ... |
Topic: Bootloader for PIC18F46K20 |
D-Kens
Replies: 2
Views: 5502
|
Forum: General CCS C Discussion Posted: Thu Feb 10, 2011 8:58 am Subject: Bootloader for PIC18F46K20 |
Thanks for your advice : I guess I should have started by doing that. Downloaded both Programming Specifications : I'll read and compare them as soon as possible. |
Topic: Bootloader for PIC18F46K20 |
D-Kens
Replies: 2
Views: 5502
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2011 4:02 am Subject: Bootloader for PIC18F46K20 |
Hello everyone !
I've been using a regular PIC18F4620 for quite some times now, and always used Tiny Bootloader to update the firmware on RS232. Now I'm switching to use PIC18F46K20, so my question ... |
Topic: Development tools for PIC18F46J11 |
D-Kens
Replies: 2
Views: 3030
|
Forum: General CCS C Discussion Posted: Thu Jan 21, 2010 2:09 am Subject: Development tools for PIC18F46J11 |
Ok, thanks for the info ! Seems I can't avoid upgrading, this time... |
Topic: Development tools for PIC18F46J11 |
D-Kens
Replies: 2
Views: 3030
|
Forum: General CCS C Discussion Posted: Tue Jan 19, 2010 2:51 am Subject: Development tools for PIC18F46J11 |
Hi folks !
I've been away from the forum for quite some time, so first of all let me wish you all a very happy new year...
Ok, now let's talk about my problem. I used to work on a PIC18 ... |
Topic: Setting software UART pins on a 18F4620 |
D-Kens
Replies: 6
Views: 8550
|
Forum: General CCS C Discussion Posted: Wed Sep 23, 2009 2:18 am Subject: Setting software UART pins on a 18F4620 |
Data sheet has nothing to do with it. The software UART, is a CCS function, _software_, not 'hardware' (which is what the data sheet covers....).
Ouups, I did it again... ! Seems I had a blon ... |
Topic: Setting software UART pins on a 18F4620 |
D-Kens
Replies: 6
Views: 8550
|
Forum: General CCS C Discussion Posted: Tue Sep 22, 2009 8:41 am Subject: Setting software UART pins on a 18F4620 |
Hi...
We are currently using an architecture based on a PIC18F4620, with hardware UART on pin C6/C7, and a software UART configured on pin C1/C2.
To add some new features to that prototype, we ... |
Topic: Converting a unix time stamp |
D-Kens
Replies: 5
Views: 10831
|
Forum: General CCS C Discussion Posted: Mon Jun 08, 2009 3:45 am Subject: Converting a unix time stamp |
The ctime() function does the conversion from a Unix Timestamp to a readable date and time. That function is the rtctimer.c file, which is included with the CCS compiler.
Nice !!! I didn't know ther ... |
Topic: printf or fprintf with a 18F4620 |
D-Kens
Replies: 10
Views: 9600
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 10:22 am Subject: printf or fprintf with a 18F4620 |
PCM programmer, I didn't get the .HEX for my bootloader from the net (not directly anyway) : the C source code was provided, and I had to change two lines to adapt it to my baudrate and my target devi ... |
Topic: printf or fprintf with a 18F4620 |
D-Kens
Replies: 10
Views: 9600
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 9:44 am Subject: printf or fprintf with a 18F4620 |
I think you're right, the problem seems to come from somewhere else ! I took an old project, kept all the includes and definitions, but changed its main() to use our test code... And it worked ! So I ... |
Topic: printf or fprintf with a 18F4620 |
D-Kens
Replies: 10
Views: 9600
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 6:58 am Subject: printf or fprintf with a 18F4620 |
Based on your piece of code, here is exactly what I used as a test code :
#include <18F4620.h>
#fuses HS,NOWDT,PUT,BROWNOUT,NOLVP
#use delay(clock=20000000)
#use rs232(baud=96 ... |
Topic: printf or fprintf with a 18F4620 |
D-Kens
Replies: 10
Views: 9600
|
Forum: General CCS C Discussion Posted: Mon Nov 17, 2008 3:07 am Subject: printf or fprintf with a 18F4620 |
Thanks for your answers...
Mr Guest, I believe printf() uses the first #rs232 defined in the code for its output, when you don't specify the output stream. Anyway, I tried removing the "stream ... |
|