Author |
Message |
Topic: PIC24FJ64GA002 Address Trap Error |
LFern
Replies: 2
Views: 5500
|
Forum: General CCS C Discussion Posted: Thu Dec 15, 2011 3:32 pm Subject: PIC24FJ64GA002 Address Trap Error |
Hi All,
I have a target application running on a PIC24FJ64GA002 micro. Used CCS PCD V4.114 as the compiler. It is handling very complex state machine while nested interrupts are enabled.
Also the s ... |
Topic: PIC24FJ32GA002 Program Memory |
LFern
Replies: 8
Views: 11008
|
Forum: General CCS C Discussion Posted: Thu Oct 06, 2011 8:31 pm Subject: PIC24FJ32GA002 Program Memory |
Thanks all, I make it to work!
Added a sector buffer... |
Topic: PIC24FJ32GA002 Program Memory |
LFern
Replies: 8
Views: 11008
|
Forum: General CCS C Discussion Posted: Thu Oct 06, 2011 1:41 pm Subject: PIC24FJ32GA002 Program Memory |
I hard coded following in my bootloader. which should update to the second value. but it is not. Now I can feel that write_program_memory function does something funny here.
//0x24 is one of the ... |
Topic: PIC24FJ32GA002 Program Memory |
LFern
Replies: 8
Views: 11008
|
Forum: General CCS C Discussion Posted: Thu Oct 06, 2011 4:50 am Subject: PIC24FJ32GA002 Program Memory |
The target hex file is something like:
:04004800A00D000007
:04005400EA0D0000B1
:0400A000740E0000DA
:100400003220EF00C3202000008041001040BA00DD
:100410000160EF0000000600537500006E00000050
..... ... |
Topic: PIC24FJ32GA002 Program Memory |
LFern
Replies: 8
Views: 11008
|
Forum: General CCS C Discussion Posted: Thu Oct 06, 2011 2:02 am Subject: PIC24FJ32GA002 Program Memory |
FvM, Thanks for that info.
If I started with bootloader, first time I can download the target application without any problem. in this case, I can see the ISR region is all FF before downloading th ... |
Topic: PIC24FJ32GA002 Program Memory |
LFern
Replies: 8
Views: 11008
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2011 11:51 pm Subject: PIC24FJ32GA002 Program Memory |
Hi All,
I have a bootloader (similar to ccs example bootloader) which can download a target application to the program memory over UART.
This bootloader does not changing the address 0, which co ... |
Topic: Defined ROM location for built in macros |
LFern
Replies: 2
Views: 3908
|
Forum: General CCS C Discussion Posted: Tue Sep 06, 2011 7:10 pm Subject: Defined ROM location for built in macros |
Thanks Ttelmah, I got it worked! |
Topic: Defined ROM location for built in macros |
LFern
Replies: 2
Views: 3908
|
Forum: General CCS C Discussion Posted: Mon Sep 05, 2011 12:54 am Subject: Defined ROM location for built in macros |
Hi Everyone,
I am trying to use delay_ms() built in macro function in defined ROM addresses.
The requirement is to put the complete program in between a defined rom area. All the other function ... |
Topic: Bootloader for PIC24FJ32GA002 |
LFern
Replies: 3
Views: 6980
|
Forum: General CCS C Discussion Posted: Thu Sep 01, 2011 5:57 pm Subject: Bootloader for PIC24FJ32GA002 |
Thanks FvM,
The problem exactly is the full page erase by the write function when try to write on page start address.
With this PIC24F the page size is 0x800 and I successfully handled the fail ... |
Topic: Bootloader for PIC24FJ32GA002 |
LFern
Replies: 3
Views: 6980
|
Forum: General CCS C Discussion Posted: Sun Aug 28, 2011 8:56 pm Subject: Bootloader for PIC24FJ32GA002 |
Hi All,
I am trying to do come up with a bootloader who is capable of handle power cycling problems while doing the update.
The bootloader example in PICC/examples/ is basically a serial bootlo ... |
Topic: switch between applications |
LFern
Replies: 0
Views: 3062
|
Forum: General CCS C Discussion Posted: Mon Jul 25, 2011 1:49 am Subject: switch between applications |
Hi All,
I have two applications running on a single PIC24FJ64GA004 chip.
One is a bootloader and other one is the real application. I need to set a flag programmatically somewhere on the MCU an ... |
Topic: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
LFern
Replies: 12
Views: 18514
|
Forum: General CCS C Discussion Posted: Fri Jun 17, 2011 6:48 pm Subject: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
This Memory PICtail meant to use with J5 I2C1 pins. If you carefully cross refer following manuals you can get the idea.
1. Page 2 of http://ww1.microchip.com/downloads/en/DeviceDoc/22128A.pdf
... |
Topic: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
LFern
Replies: 12
Views: 18514
|
Forum: General CCS C Discussion Posted: Fri Jun 17, 2011 8:56 am Subject: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
According to PIC24FJ64GA004 datasheet, I don't need to do a #pin select since I am using i2c 2 port and it is hardware fixed.
I can do a #use i2c(master, i2c2) instead, but no luck. |
Topic: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
LFern
Replies: 12
Views: 18514
|
Forum: General CCS C Discussion Posted: Thu Jun 16, 2011 8:40 pm Subject: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
Hi temtronic,
Pullup resistors are there in the PICtail board itself. This is just a plug and play EEPROM board which almost all the hardware is done by Microchip.
If you go through the given ... |
Topic: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
LFern
Replies: 12
Views: 18514
|
Forum: General CCS C Discussion Posted: Thu Jun 16, 2011 6:03 pm Subject: PICtail Plus I2C EEPROM with PIC24FJ64GA004 in Explorer 16 |
Thanks Ttelmah for your reply. I checked and confirmed that the I2C slave address of the EEPROM is 0 (A0-A2 pins grounded).
I have also tried out the reference program from PCM Programmer with bel ... |
|