Author |
Message |
Topic: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
mob1182
Replies: 25
Views: 51007
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2017 7:23 am Subject: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
@Ttelmah - I'll definitely look into the P82B96
@newguy - Yes good idea, I will push for this. It will be valuable to learn.
@Everyone else - Compiler update 5.067 came out today and a firmware ... |
Topic: [Solved] CCP Capture not capturing timer value |
mob1182
Replies: 3
Views: 12386
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2017 7:01 am Subject: [Solved] CCP Capture not capturing timer value |
Just an FYI, compiler update 5.067 came out today and fixed this. |
Topic: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
mob1182
Replies: 25
Views: 51007
|
Forum: General CCS C Discussion Posted: Sat Jan 21, 2017 7:56 pm Subject: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
Same here. I don't have the experience you and other top posters have as this is not my main focus at work. But I enjoy learning it and nobody else is here that can do this anymore. We were using a ... |
Topic: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
mob1182
Replies: 25
Views: 51007
|
Forum: General CCS C Discussion Posted: Sat Jan 21, 2017 6:51 pm Subject: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
They are fairly new chips. I think they came out June of 2016 so its possible. I just ordered a few from digi-key this week and they all came in at rev A2 |
Topic: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
mob1182
Replies: 25
Views: 51007
|
Forum: General CCS C Discussion Posted: Sat Jan 21, 2017 6:25 pm Subject: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
Interesting. I wonder if this has anything to do with the access ram and banked ram thing PCM was talking about.
Also, the errata about TBLRD Ttelmah found is also a concern. In this case I wonder ... |
Topic: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
mob1182
Replies: 25
Views: 51007
|
Forum: General CCS C Discussion Posted: Sat Jan 21, 2017 5:51 pm Subject: Can't program >640 instructions to PIC18F47K40 w/ ICD-U64 |
Hey NAR. I sent CCS an email about this but never heard anything back regarding this issue.
I also have a Pickit 3 so my solution was to download and use the IPE from microchip, not the IDE. Altho ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2017 3:31 pm Subject: I2C slave issues |
Ah ok I see that. So bear with me, I'm trying to learn assembly but lets take the setting of the flag for example... looking at the opcode for MOVWF on line 000CE (6F60 in my latest post), it looks l ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2017 2:25 pm Subject: I2C slave issues |
Wow ok so if I define the array after the other variables it does work.
So this is a chip error then and not the CCS compiler?
And it looks like this only effects rev A2 chips, which is what I have. ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2017 12:19 pm Subject: I2C slave issues |
Problem with windows! Ha never lol. I do appreciate you taking the time in helping me for what its worth.
Just an update, I simplified the code even more. Made the state and data arrays just a in ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2017 9:15 am Subject: I2C slave issues |
I just used a different programmer, a softlog ICP2, and got the same results. So I don't think this is a programming issue. |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Fri Jan 13, 2017 10:44 am Subject: I2C slave issues |
Ha yea that link is my post too from before Christmas. So I can't get the icd-u64 programmer to program correctly for this particular chip. I've used it just fine for other older chips. This chip i ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Fri Jan 13, 2017 10:16 am Subject: I2C slave issues |
Ok so take the "1" argument out of i2c_read()?
To simplify I removed that from the read and the stream argument since its the only i2c stream.
Still having the same problem
Now this w ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Fri Jan 13, 2017 7:57 am Subject: I2C slave issues |
Ok I'm just a little confused. I thought that was only for a slave transmission to the master? To indicate to the master that the slave is done. Not for the master to tell the slave its done.
This ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Fri Jan 13, 2017 6:45 am Subject: I2C slave issues |
Thanks Ttelmah, but what I'm trying to say is that the state of the ISR is always 0, even if I change the r/w bit in the address the master is sending for a read instead of a write. I never get 0x80, ... |
Topic: I2C slave issues |
mob1182
Replies: 17
Views: 34121
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2017 1:36 pm Subject: I2C slave issues |
I've been trying to do some work with I2C, sending info from one pic to another, and I'm having some strange difficulties. So I stripped my slave code down as much as I can but I still don't know what ... |
|