Author |
Message |
Topic: Can I use the ICD-U64 to program a PIC32MZ? |
pfournier
Replies: 2
Views: 30687
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Aug 03, 2018 11:54 am Subject: Can I use the ICD-U64 to program a PIC32MZ? |
Progamming should be just fine.
Thank you |
Topic: Can I use the ICD-U64 to program a PIC32MZ? |
pfournier
Replies: 2
Views: 30687
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Aug 03, 2018 10:24 am Subject: Can I use the ICD-U64 to program a PIC32MZ? |
Can I use the ICD-U64 to program a PIC32MZ? |
Topic: FFT_LENGTH and FFT.h |
pfournier
Replies: 2
Views: 9763
|
Forum: General CCS C Discussion Posted: Fri Apr 27, 2018 9:38 am Subject: FFT_LENGTH and FFT.h |
In FFT.h (Using compiler 5.076 on the DSP Analog Demo Kit.)
There is this line:
#error FFT LENGTH must be a power of two and not more than 512!
I am curious as to the limitation for not being ... |
Topic: pcd_bootloader.h |
pfournier
Replies: 8
Views: 15174
|
Forum: General CCS C Discussion Posted: Fri Dec 11, 2015 3:35 pm Subject: pcd_bootloader.h |
I've already done that.
What the real question is, is this line from pcd_bootloader.h
#define LOADER_SIZE (((getenv("PROGRAM_MEMORY") % (getenv("FLASH ... |
Topic: pcd_bootloader.h |
pfournier
Replies: 8
Views: 15174
|
Forum: General CCS C Discussion Posted: Fri Dec 11, 2015 11:53 am Subject: pcd_bootloader.h |
Interestingly in pcd_bootloader.h if you don't define BOOTLOADER_AT_START there is this section of code:
pcd_bootloader.h
#if ((getenv("PROGRAM_MEMORY") % (getenv ... |
Topic: pcd_bootloader.h |
pfournier
Replies: 8
Views: 15174
|
Forum: General CCS C Discussion Posted: Fri Dec 11, 2015 7:58 am Subject: pcd_bootloader.h |
Thanks. Having it end on the border of an erase page makes total sense, otherwise you might need to read in the last page of the bootloader, erase, add code from the application to the saved page and ... |
Topic: pcd_bootloader.h |
pfournier
Replies: 8
Views: 15174
|
Forum: General CCS C Discussion Posted: Thu Dec 10, 2015 4:46 pm Subject: pcd_bootloader.h |
In the drivers folder of the compiler 5.051 At the top of pcd_bootloader.h and loader_pcd.c LOADER_PAGES is defined.
Oddly enough they are given different values.
I am not sure what LOADER_PAGE ... |
Topic: Typo in loader_pcd.c |
pfournier
Replies: 1
Views: 5514
|
Forum: General CCS C Discussion Posted: Thu Dec 10, 2015 9:19 am Subject: Typo in loader_pcd.c |
In file (in drivers) loader_pcd.c (since 5.045 at least to 5.051)
line 98:
while ( (rbuffer[buffidx].buffer[rBuffer[buffidx].idx++] != 0x0D) && ... |
Topic: 32-bit math |
pfournier
Replies: 3
Views: 7773
|
Forum: General CCS C Discussion Posted: Mon Jul 13, 2015 11:27 am Subject: 32-bit math |
Thank you for the responses.
I tried "unsigned int32", but it did not work.
Interestingly, my solution was to cast using "int32_t" instead of "unsigned int32". I am gu ... |
Topic: 32-bit math |
pfournier
Replies: 3
Views: 7773
|
Forum: General CCS C Discussion Posted: Mon Jul 13, 2015 8:18 am Subject: 32-bit math |
18f87J60
PCWHD 5.045
PCH 16 bit
I want to do some simple math, but it is escaping me why it is not working. I realize I don't have a native 32bit processor, but I thought the compiler would add ... |
Topic: Interrupt causes an MCLR_FROM_RUN |
pfournier
Replies: 5
Views: 9305
|
Forum: General CCS C Discussion Posted: Fri May 01, 2015 11:53 am Subject: Interrupt causes an MCLR_FROM_RUN |
I talked to the guy that originally wrote the code, and he told me you have to have the Boot code in FIRST and IT has the vectors in it! I guess there are interesting issues when using the debugger w ... |
Topic: Interrupt causes an MCLR_FROM_RUN |
pfournier
Replies: 5
Views: 9305
|
Forum: General CCS C Discussion Posted: Thu Apr 30, 2015 8:57 am Subject: Interrupt causes an MCLR_FROM_RUN |
Yes, I have the handlers written, but you gave me my clue!!!
The old code added space at the beginning of ROM for a bootloader (which is not put together yet) there was this huge space of 0x2800 b ... |
Topic: Interrupt causes an MCLR_FROM_RUN |
pfournier
Replies: 5
Views: 9305
|
Forum: General CCS C Discussion Posted: Wed Apr 29, 2015 2:41 pm Subject: Interrupt causes an MCLR_FROM_RUN |
I imported some code from an older job (16F) to an 18F87J50 and found that when I received an interrupt from one of the timers (I tried timer 0 and timer 1) or the serial port #1, it forces my process ... |
Topic: Explorer16 w/24FJ128GA010, ENC28J60, using EX13B, add timer3 |
pfournier
Replies: 1
Views: 5364
|
Forum: General CCS C Discussion Posted: Mon Jun 02, 2014 9:14 am Subject: Explorer16 w/24FJ128GA010, ENC28J60, using EX13B, add timer3 |
CCS Compiler 5.025 (PCWHD) and the latest TCP/IP Stack v 5.42.
I have solved this problem, though I am not quite sure as to the the nature of the problem.
I did some fix-ups in enc28j60.c, and ... |
Topic: Explorer16 w/24FJ128GA010, ENC28J60, using EX13B, add timer3 |
pfournier
Replies: 1
Views: 5364
|
Forum: General CCS C Discussion Posted: Mon May 12, 2014 1:10 pm Subject: Explorer16 w/24FJ128GA010, ENC28J60, using EX13B, add timer3 |
I am using the CCS Compiler 5.025 (PCWHD) and the latest TCP/IP Stack v 5.42.
I recently bought the Explorer16 demo board with the ENC28J60.
Using the Example code (EX13B) from the CCS version of ... |
|