Author |
Message |
Topic: how to get printf output using basicmicro programmer |
fpgeh
Replies: 1
Views: 7690
|
Forum: General CCS C Discussion Posted: Thu May 13, 2004 3:43 pm Subject: how to get printf output using basicmicro programmer |
How far can you get? Does the programmer work (ie. can you program/verify a simple program like toggling an I/O pin)?
You mentioned the problem was with printf. Post a simple program showing your ... |
Topic: 128MB SD card how to partition it to 4 X 32MB |
fpgeh
Replies: 18
Views: 33769
|
Forum: General CCS C Discussion Posted: Wed May 12, 2004 12:51 pm Subject: 128MB SD card how to partition it to 4 X 32MB |
dyeatman,
I think you got MB and GB mixed up.
I don't know how you'd partition an SD drive though. |
Topic: Help Please...External EEPROM chip never responds |
fpgeh
Replies: 7
Views: 14655
|
Forum: General CCS C Discussion Posted: Tue Apr 27, 2004 4:41 pm Subject: Help Please...External EEPROM chip never responds |
From your pic, the I2C signals look correct. Are you sure SCL and SDA aren't swapped? Did you check the power connections? And have you tried another EEPROM chip? Maybe one burned out. |
Topic: Help Please...External EEPROM chip never responds |
fpgeh
Replies: 7
Views: 14655
|
Forum: General CCS C Discussion Posted: Tue Apr 27, 2004 12:42 pm Subject: Help Please...External EEPROM chip never responds |
Your rise times look a bit long. You can probably reduce the size of the pullup resistors. With the time div. you have set (25us) it looks like your rise times could be near 5us. The spec sheet gives ... |
Topic: PIC 18F452 problem |
fpgeh
Replies: 6
Views: 14311
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2004 1:08 pm Subject: PIC 18F452 problem |
Sorry, to correct. On Power-On reset, Pins A4 and A6 are configured as digital inputs, the rest as analog inputs. |
Topic: PIC 18F452 problem |
fpgeh
Replies: 6
Views: 14311
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2004 1:07 pm Subject: PIC 18F452 problem |
Pin A4 is an open drain pin. This means it can only drive low. To get the pin high, you will need a pullup reistor to Vcc.
As for pin A6, I'm not sure what the porblem could be. The datasheet does ... |
Topic: Automated production programming |
fpgeh
Replies: 5
Views: 13353
|
Forum: General CCS C Discussion Posted: Tue Apr 20, 2004 3:54 pm Subject: Automated production programming |
Production quality programmers verify the programming results at both the maximum and minimum operating voltages. I haven't checked, but I'm fairly certain the ICDU does not. Depending on how thorough ... |
Topic: PIC Tv Color/Pulse detector |
fpgeh
Replies: 10
Views: 14350
|
Forum: General CCS C Discussion Posted: Thu Feb 05, 2004 6:58 pm Subject: PIC Tv Color/Pulse detector |
I'm not quite sure what you are trying to do, but it's probably a lot harder than you'd expect. First, TV signals are usually modulated on a carrier frequency, which would require demodulation prior t ... |
Topic: PIC18LF252 problems |
fpgeh
Replies: 2
Views: 11246
|
Forum: General CCS C Discussion Posted: Mon Feb 02, 2004 6:54 pm Subject: PIC18LF252 problems |
I haven't had any problems for quite a while with the 18LF452 chips. I don't know if that helps any. The problems I did have were programming related -> can't perform bulk erase when using ICSP at ... |
Topic: What to do with Unused pins |
fpgeh
Replies: 2
Views: 12608
|
Forum: General CCS C Discussion Posted: Fri Jan 30, 2004 12:42 pm Subject: What to do with Unused pins |
http://www.piclist.com/techref/logic/xtrapins.htm
From a google search....i'm sure there is a lot more already out there |
Topic: Setting the single Icd2 breakpoint |
fpgeh
Replies: 1
Views: 9412
|
Forum: General CCS C Discussion Posted: Wed Jan 21, 2004 1:29 pm Subject: Setting the single Icd2 breakpoint |
I also tried setting breakpoints using MPLAB and ICD2. What I found was that I couldn't really set the breakpoints directly in the C code. However, if you open up the disassembly, you will see assembl ... |
Topic: Can i use 50mhz on Timer1? |
fpgeh
Replies: 6
Views: 18650
|
Forum: General CCS C Discussion Posted: Wed Jan 21, 2004 1:24 pm Subject: Can i use 50mhz on Timer1? |
Look in the datasheet for the 18F452. Table 22-4 shows max. external freq. to be 40MHz. Since 1 instruction cycle = 4 clock cycles, it's really only operating at 10MIPS.
I can't tell what you are tr ... |
Topic: Two PICs on one external oscillator? |
fpgeh
Replies: 4
Views: 14341
|
Forum: General CCS C Discussion Posted: Tue Jan 06, 2004 6:24 pm Subject: Two PICs on one external oscillator? |
With both PICs set to use an external oscillator it may work.
However, the TTL oscillators usually spec a maximum capacitive load they will drive, usually about 30pF to 50pF. The output may be redu ... |
Topic: Need help on int32 number storage to external memory |
fpgeh
Replies: 3
Views: 13382
|
Forum: General CCS C Discussion Posted: Wed Dec 17, 2003 8:49 pm Subject: Need help on int32 number storage to external memory |
Assuming you have the CCS compilier, look in the "drivers" directory for the file "24256.c" and in the "examples" directory for "ex_extee.c".
To break the 32 bit value into bytes you can use the "m ... |
Topic: External EEPROM - Simple program anyone |
fpgeh
Replies: 4
Views: 25180
|
Forum: General CCS C Discussion Posted: Wed Dec 10, 2003 12:41 pm Subject: External EEPROM - Simple program anyone |
Sounds like you are doing fine. Have you checked out the files "24256.c" (in the drivers directory) and "ex_extee.c" (in the examples directory).
If your hardware is setup correctly, then the "242 ... |
|