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 support@ccsinfo.com

PIC18F452 to bigger PIC pic18f4525

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
karth



Joined: 10 Sep 2003
Posts: 29

View user's profile Send private message

PIC18F452 to bigger PIC pic18f4525
PostPosted: Wed May 21, 2008 1:23 pm     Reply with quote

i am using Version 3.246 Compiler. I am switching the MCU from PIC18F452 to Pic18F4525. And i am having problem switching from UART to EUART (FULL DUPLEX MODE). can any body give any suggestion regarding
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Wed May 21, 2008 2:08 pm     Reply with quote

There is silicon errata talking about the EUSART.
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=PIC18F4525-I%2FML-ND
karth



Joined: 10 Sep 2003
Posts: 29

View user's profile Send private message

I looked at the erata
PostPosted: Wed May 21, 2008 2:31 pm     Reply with quote

The only one is TRIS register but that does not work!!!
need help!!!

this is all the fuses
#include <18F4525.h>
#device adc=10
#fuses NOWDT,WDT128,HS, NOPROTECT, IESO, BROWNOUT, BORV21, NOPUT, NOCPD, STVREN, NODEBUG, NOLVP
#use rs232(baud=4800,xmit=PIN_C6,rcv=PIN_C7,bits=8,parity=N,BRGH1OK,ERRORS)


set_tris_c(0xBC);//added
Guest








PostPosted: Wed May 21, 2008 4:50 pm     Reply with quote

Are you saying you can't do a set_tris_c() command?

Are you sure you need the BRGH10k in the serial statement?

Are you doing any funny 9bit stuff?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed May 21, 2008 6:00 pm     Reply with quote

Try a simple program that receives characters typed in a terminal
window and sends them back to the PC. Example:
http://www.ccsinfo.com/forum/viewtopic.php?t=34127&start=1

Modify it for your PIC. Test it. If it doesn't work, then post your modified
program and explain how it fails.
karth



Joined: 10 Sep 2003
Posts: 29

View user's profile Send private message

PostPosted: Wed May 28, 2008 7:50 am     Reply with quote

yeah i tried, that it does not work,

i believe the reason is because i am powering the MCU with 3.4V with 20mhz resonator.and I believe 18F4525 is a 5V part >???I am going to try 18LF4525
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group