Author |
Message |
Topic: problem with write_program_memory |
microlo75
Replies: 1
Views: 3983
|
Forum: General CCS C Discussion Posted: Fri Aug 03, 2012 6:39 am Subject: Re: problem with write_program_memory |
Hi all forum,
What's in 0x2A800?
thank you very much
maybe because it fits with write_program_memory multiple of 1024 (erase_program_memory) clear after the 1024 bytes ? and position 0x2ABFA ... |
Topic: problem with write_program_memory |
microlo75
Replies: 1
Views: 3983
|
Forum: General CCS C Discussion Posted: Fri Aug 03, 2012 3:33 am Subject: problem with write_program_memory |
Hi all forum,
use PIC24fj256gb110
if I write the lease 0x2A800 the micro is corrupt!
the rest of the flash instead writes perfectly,
example:
write_program_memory (0x2A800, date, 16);
... |
Topic: Help for Bootloader USB |
microlo75
Replies: 0
Views: 3517
|
Forum: General CCS C Discussion Posted: Thu Apr 05, 2012 3:25 am Subject: Help for Bootloader USB |
H forum,
use PIC24FJ256GB110 Compiler V. 4.131
I reserved the beginning of the program to use the USB bootloader
But a strange thing happens in "usb_gets and other...",
when I make ... |
Topic: Verify file .hex |
microlo75
Replies: 11
Views: 14369
|
Forum: General CCS C Discussion Posted: Mon Nov 28, 2011 3:23 am Subject: solved |
thanks for the help,
I solved by checking the crc of each line, instead of CRC ccs.
Alex |
Topic: Verify file .hex |
microlo75
Replies: 11
Views: 14369
|
Forum: General CCS C Discussion Posted: Sun Nov 27, 2011 2:42 pm Subject: Verify file .hex |
The CRC should be of the data portion of the file, not the ascii file you are looking at (you will have to look at the data portion only to get the same CRC). Take a look at page 3 of this note for t ... |
Topic: Verify file .hex |
microlo75
Replies: 11
Views: 14369
|
Forum: General CCS C Discussion Posted: Sun Nov 27, 2011 2:41 pm Subject: Verify file .hex |
how do I verify a file. hex?
Import it into MPLAB. If it has a CRC error, MPLAB will tell you.
Do this with the File / Import menu in MPLAB.
tks for reply,
my clients .... "before doi ... |
Topic: Verify file .hex |
microlo75
Replies: 11
Views: 14369
|
Forum: General CCS C Discussion Posted: Sun Nov 27, 2011 12:24 pm Subject: Verify file .hex |
Hi forum,
before doing a firmware update with bootloader,
how do I verify a file. hex?
I would check that the CRC is correct, how do I calculate it?
....
....
:1082400002003700094EE20004003A ... |
Topic: 4.122 not work |
microlo75
Replies: 1
Views: 3352
|
Forum: General CCS C Discussion Posted: Mon Jun 27, 2011 7:56 am Subject: 4.122 not work |
Hi all forum,
I hope that the 4,122 solve my many problems .... but ...
Programming...
Programming/Verify complete
Running...
RIErr0040: The target device is not ready for debugging.
... |
Topic: Problem trace MPLAB |
microlo75
Replies: 3
Views: 7460
|
Forum: General CCS C Discussion Posted: Sat Jun 18, 2011 6:37 am Subject: Problem trace MPLAB |
Contact CCS for more info or help, sounds like a 'bug',could be in the device header or the compiler itself.
Considering how many variations of PIC there are now(compared to 20 years ago) it amazes m ... |
Topic: Problem trace MPLAB |
microlo75
Replies: 3
Views: 7460
|
Forum: General CCS C Discussion Posted: Sat Jun 18, 2011 3:48 am Subject: Re: Problem trace MPLAB |
Hi forum,
Use PIC24fj256gb110 with MPLAB and Compiler V. 4121 and REAL-ICE
the program works but it stops by itself "Target halted"
!!!!!!!!!! with 4.119 work.... |
Topic: Problem trace MPLAB |
microlo75
Replies: 3
Views: 7460
|
Forum: General CCS C Discussion Posted: Fri Jun 17, 2011 10:18 am Subject: Problem trace MPLAB |
Hi forum,
Use PIC24fj256gb110 with MPLAB and Compiler V. 4121 and REAL-ICE
the program works but it stops by itself "Target halted"
#fuses HS,PR_PLL,DEBUG,NOWDT,ICSP2, NOPRO ... |
Topic: Problem with int32 |
microlo75
Replies: 4
Views: 5247
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2011 8:38 am Subject: Problem with int32 |
I already had the same problem. Change your variable to unsigned long!
Hope this help
does not work ...
but it is is a bug ? of 4119?
I say alone ....
is a bug in 4119 ... |
Topic: Problem with int32 |
microlo75
Replies: 4
Views: 5247
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2011 1:33 am Subject: Problem with int32 |
I already had the same problem. Change your variable to unsigned long!
Hope this help
does not work ...
but it is is a bug ? of 4119?
I say alone ....
is a bug in 4119 ... |
Topic: Problem with int32 |
microlo75
Replies: 4
Views: 5247
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2011 1:28 am Subject: Problem with int32 |
I already had the same problem. Change your variable to unsigned long!
Hope this help
does not work ...
but it is is a bug ? of 4119?
|
Topic: Problem with int32 |
microlo75
Replies: 4
Views: 5247
|
Forum: General CCS C Discussion Posted: Wed Jun 08, 2011 10:56 am Subject: Problem with int32 |
Hi,
in this simple code:
int32 n;
for(n=1;n<120000;n++)
{
...code
}
when n reaches to 65535 resets to 0! Why?
never reaches more than 65535 !!!
USE MPLAB 8.6 ... |
|