CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 38 matches
CCS Forum Index
Author Message
  Topic: I2C QUESTION2
cjusto

Replies: 3
Views: 4662

PostForum: General CCS C Discussion   Posted: Sat Sep 09, 2006 12:31 pm   Subject: I2C QUESTION2
Hi! the -96 you got, is the adress.


u should read the next byte received from the i2c bus.
  Topic: problem. pic reboots
cjusto

Replies: 1
Views: 3484

PostForum: General CCS C Discussion   Posted: Fri Sep 08, 2006 5:34 pm   Subject: problem. pic reboots
Hi forum!

i am working with 2 PIC18F4525, being one the master i2c, and the other of course is the slave.

i am using ccs V3.235, in MPlab v7.40.

i have some problems with the implementation o ...
  Topic: time out for i2c
cjusto

Replies: 1
Views: 3478

PostForum: General CCS C Discussion   Posted: Thu Sep 07, 2006 1:50 pm   Subject: time out for i2c
hi forum!!

i am using two PIC18F4525 and i implemented the code for multi byte send and receive. it works fine.
now i have a problem. in the slave i use the interruption.
because of other code, ...
  Topic: 16f877 i2c problems with master in interrupt.
cjusto

Replies: 8
Views: 7902

PostForum: General CCS C Discussion   Posted: Thu Sep 07, 2006 1:45 pm   Subject: 16f877 i2c problems with master in interrupt.
hey ragazzo italiano.

i think you should implement the master without interrupt. if u need that contious, than it will work.

the nack in the end is very important.


cya around!
  Topic: PortD PSP interruption
cjusto

Replies: 2
Views: 4223

PostForum: General CCS C Discussion   Posted: Tue Sep 05, 2006 2:35 pm   Subject: PortD PSP interruption
oh, yeah. sorry. i forgot that. but ok. if it isnt possible i have to make something different.

thanks for the answer
  Topic: PortD PSP interruption
cjusto

Replies: 2
Views: 4223

PostForum: General CCS C Discussion   Posted: Mon Sep 04, 2006 5:49 pm   Subject: PortD PSP interruption
Hello!!

i have a question. i have some code and hardware implmented.
it would help me now, if i could use an interruption for the pinD4.

is it possible to use the PSP interrupt function for thi ...
  Topic: Questions on I2C bus - problem
cjusto

Replies: 3
Views: 5355

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 3:51 pm   Subject: Questions on I2C bus - problem
ol� Henry!!


thanks for your answer!!

it helped me a lot.

the problem was the last i2c_read(). i wasn't doing the NACK.

when sending it was ok. when receiving i forgot that point.

the ...
  Topic: Questions on I2C bus - problem
cjusto

Replies: 3
Views: 5355

PostForum: General CCS C Discussion   Posted: Wed Aug 23, 2006 4:15 pm   Subject: Questions on I2C bus - problem
hi forum!

i am using 2 PIC18f4525 and communicating via i2c.
i can receive data correctly when sending from master to slave.
when i try to read from slave, it doesnt work. i have some code i had ...
  Topic: help on bootloader
cjusto

Replies: 0
Views: 3354

PostForum: General CCS C Discussion   Posted: Mon Aug 07, 2006 1:37 pm   Subject: help on bootloader
Hi everybody.

i checked other topics on the forum but i can make it work.

i need to make a bootloader work on a 18F4525. i tried the tiny bootloader (which works fine with 18f452), and i tried t ...
  Topic: CCS and TinyPIC Bootloader
cjusto

Replies: 13
Views: 23997

PostForum: General CCS C Discussion   Posted: Tue Aug 01, 2006 7:04 am   Subject: CCS and TinyPIC Bootloader
hey. i tried to use tiny with 18f4525.

i picked the file tinybld18F.asm file. i changed the pic model, the xtal and baud rate.

i program the pic using MPlab.

after that when i put the pic in ...
  Topic: Reset not Working with 18f4525
cjusto

Replies: 15
Views: 16879

PostForum: General CCS C Discussion   Posted: Tue Aug 01, 2006 4:41 am   Subject: Reset not Working with 18f4525
ok. thank you very much ckielstra!


i will manage to update my compiler.

it should work out.


thanks a lot.
  Topic: Reset not Working with 18f4525
cjusto

Replies: 15
Views: 16879

PostForum: General CCS C Discussion   Posted: Tue Aug 01, 2006 4:03 am   Subject: Reset not Working with 18f4525
hi cielstra!!


i checked that. i just compiled my program with fuses:


#fuses NOWDT, HS, NOPUT, NOPROTECT, NODEBUG, BROWNOUT, NOLVP, NOCPD, NOWRT//, NOXINST





and from the lst file i ...
  Topic: Reset not Working with 18f4525
cjusto

Replies: 15
Views: 16879

PostForum: General CCS C Discussion   Posted: Mon Jul 31, 2006 4:05 pm   Subject: Reset not Working with 18f4525
hi!

i already tried that MCLR fuse. the behaviour is exactly the same.

i am using CCS ide version 3.43 and PCM,PCH,PCB Version 3.207


this is really wierd. i already talked with some friend ...
  Topic: Reset not Working with 18f4525
cjusto

Replies: 15
Views: 16879

PostForum: General CCS C Discussion   Posted: Fri Jul 28, 2006 12:17 pm   Subject: Reset not Working with 18f4525
hi again!!

once again i checked the datasheet.


in page 253 there it said this:


REGISTER 23-4: CONFIG3H: CONFIGURATION REGISTER 3 HIGH (BYTE ADDRESS 300005h)
R/P-1 U-0 U-0 U-0 ...
  Topic: Reset not Working with 18f4525
cjusto

Replies: 15
Views: 16879

PostForum: General CCS C Discussion   Posted: Fri Jul 28, 2006 11:37 am   Subject: Reset not Working with 18f4525
Hi!
yeah, the programm runs. it makes everything i want, just the reset is not working.

i am using 40pins PDIP versions.
the hardware is exactly the same, with a socket.
the clock is an oscillat ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group