Author |
Message |
Topic: 16F876A Crashes With Variable |
arunkish
Replies: 3
Views: 6570
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2014 10:23 pm Subject: 16F876A Crashes With Variable |
Hello All,
I am facing a peculiar problem that I would like to share with you for which I am unable to find the solution.
My Compiler version is 3.222 and I am using 16F876A clocked at 4 Mhz wit ... |
Topic: 18F2550 Program Memory |
arunkish
Replies: 2
Views: 6299
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2014 5:55 am Subject: 18F2550 Program Memory |
Sorry for the delayed reply. Thank you so much for your TIP. I am using a very old version of compiler 3.222.
Thanks a lot. |
Topic: 18F2550 Program Memory |
arunkish
Replies: 2
Views: 6299
|
Forum: General CCS C Discussion Posted: Fri Aug 22, 2014 9:57 pm Subject: 18F2550 Program Memory |
Hello All
I am using 18F2550, and I am trying to write to the ROM using write_program_eeprom() function, but it is not working. Will this PIC support this function or should I turn on/off some fuse ... |
Topic: 18F2550 I2C Problem |
arunkish
Replies: 7
Views: 9229
|
Forum: General CCS C Discussion Posted: Wed Jun 25, 2014 10:17 pm Subject: 18F2550 I2C Problem |
Hello
Yes, I checked the LED blink, and it Blinks LED at 1 HZ. I completely removed TRIS and FAST IO as suggested. Eitherway SLAVE doesnt work. I mean slave receives the address and not the data. ... |
Topic: 18F2550 I2C Problem |
arunkish
Replies: 7
Views: 9229
|
Forum: General CCS C Discussion Posted: Wed Jun 25, 2014 8:46 pm Subject: 18F2550 I2C Problem |
Hello
As you have suggested,
1. I changed to fuse to XT
2. Commented out the TRIS section
3. Tried using fast_IO
Still there is no response. SCL , SDA lines are low. PIC receives the ADDRE ... |
Topic: 18F2550 I2C Problem |
arunkish
Replies: 7
Views: 9229
|
Forum: General CCS C Discussion Posted: Wed Jun 25, 2014 1:59 am Subject: 18F2550 I2C Problem |
Helllo
I have been using 16F876 before with I2C interrupt included below and it worked well. I changed the controller to 18F2550 for more memory.
But.... the code I used and what worked with 16F ... |
Topic: DALI Question |
arunkish
Replies: 2
Views: 4801
|
Forum: General CCS C Discussion Posted: Mon Jun 23, 2014 4:52 am Subject: DALI Question |
Hello
I am planning to implement DALI protocol using PIC 18F4620, I am new to DALI and I understood a little about DALI protocol, but what I cant get to know is about the switches.
I could have ... |
Topic: Working FAT16 or FAT32 Library needed |
arunkish
Replies: 6
Views: 10836
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 8:32 am Subject: Working FAT16 or FAT32 Library needed |
I have been working with the mmcdos.c library
http://www.ccsinfo.com/forum/viewtopic.php?t=21721&highlight=mmcdos
When compiling I am getting the following error.
init_dram(); ,
set_dram ... |
Topic: Working FAT16 or FAT32 Library needed |
arunkish
Replies: 6
Views: 10836
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 8:06 am Subject: Working FAT16 or FAT32 Library needed |
The size of the card is 2 GB.
Instead of checking it in real hardware, I am trying to compile the library and run it at least in Proteus which fails all the time. I googled and found some informati ... |
Topic: Working FAT16 or FAT32 Library needed |
arunkish
Replies: 6
Views: 10836
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 2:53 am Subject: Working FAT16 or FAT32 Library needed |
Thank you...
FYI, I have used Hardware SPI for my old program. I will still check with the hardware as you said. By the way can you please provide me for the working / tested code and library for F ... |
Topic: Working FAT16 or FAT32 Library needed |
arunkish
Replies: 6
Views: 10836
|
Forum: General CCS C Discussion Posted: Mon Jun 17, 2013 1:16 am Subject: Working FAT16 or FAT32 Library needed |
Dear All
I am using 18F4620 clocked at 20 Mhz - Compiler Version 3.2. I am trying to work with FAT16 / FAT32 libraries posted on the forum and none of them works for me.
Hardware has no i ... |
Topic: Battery Life Calculation |
arunkish
Replies: 10
Views: 10861
|
Forum: General CCS C Discussion Posted: Thu Mar 28, 2013 5:19 am Subject: Battery Life Calculation |
Hi
I am using PIC16F684, having watchdog timer. Controller will be in sleep mode and wakes up every 10 sec (approx). During Sleep mode current consumption is 2.5uA and during wakeup it consumes ab ... |
Topic: MMC Read Block Issue |
arunkish
Replies: 11
Views: 10164
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2013 9:43 pm Subject: MMC Read Block Issue |
Agreed with you 100%. I will work accordingly. But before that, I was trying to make it work and Initialized successfully. Read and Write blocks also works without problem. But I am facing a little di ... |
Topic: MMC Read Block Issue |
arunkish
Replies: 11
Views: 10164
|
Forum: General CCS C Discussion Posted: Thu Feb 21, 2013 8:53 pm Subject: MMC Read Block Issue |
Sorry for writing again... Still no luck with what I am trying. Kindly help on this.
#include <18f4620.h>
#fuses HS, NOLVP, NOPROTECT, NOWDT, BROWNOUT, NOPUT
#use delay(clock=200000 ... |
Topic: MMC Read Block Issue |
arunkish
Replies: 11
Views: 10164
|
Forum: General CCS C Discussion Posted: Thu Feb 21, 2013 8:28 pm Subject: MMC Read Block Issue |
I am working with mmc_spi.c, but it is failing to initialize. Changed PIC to 18F4620.
#include <18f4620.h>
#fuses HS, NOLVP, NOPROTECT, NOWDT, BROWNOUT, NOPUT
#use delay(clo ... |
|