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

18F4620 ethernet development kit

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



Joined: 08 Jul 2006
Posts: 7

View user's profile Send private message

18F4620 ethernet development kit
PostPosted: Sat Jul 08, 2006 8:24 am     Reply with quote

#include <18F4620>
#fuses H4, NOWDT, NOLVP
#use delay (clock=40000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)

The above works fine for the first example

when I change my fuse from H4 to HS and my delay from 40000000 to 20000000 as a following example requests it stops working. In the example all I have to do is change them back and it starts working. Sort of see next question.

Another question is about the Embedded Ethernet Exercise book. I am on example ex7a.c I get the simple printf message but I do not get any network information. I have the dev. board hooked into my network. Do I need it plugged into a pc directly with a cross over cable? Do I need to do something to send it a packet or is the info internal to the development board? As you may have figured I am very new to this. If there is a location I should go to find this out for my self please point me in that direction.

Thank you
Mark
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Jul 08, 2006 8:37 am     Reply with quote

If you have a 10M crystal installed then changing to the HS and setting clock=20000000 is pointless. It will not work properly.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
CJ



Joined: 08 Jul 2006
Posts: 7

View user's profile Send private message

PostPosted: Sat Jul 08, 2006 9:46 am     Reply with quote

does anyone know the crystal that is on the embedded ethernet development board?
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Jul 08, 2006 9:50 am     Reply with quote

The CCS PICENS has a 10MHz but (unless it has changed) it has a PIC18F4520
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
CJ



Joined: 08 Jul 2006
Posts: 7

View user's profile Send private message

PostPosted: Sat Jul 08, 2006 10:12 am     Reply with quote

There is a big note on the back of the Exercise book that said they changed and the chip on the board is an 18F4620. Should I be O.K. to leave the fuses and delay at H4 and 40000000? I don't mind recoding later but right now I would like to just work through the exercise book in order to get familiar with the chip.
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Jul 08, 2006 10:18 am     Reply with quote

Thanks for the update.

Yes you should leave the H4 fuse set and clock=40000000
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
CJ



Joined: 08 Jul 2006
Posts: 7

View user's profile Send private message

PostPosted: Sat Jul 08, 2006 10:21 am     Reply with quote

I set up with a crossover cable and a laptop instead of a regular cable into my normal network and it is working fine. Thanks for the helpwith the fuses.

I have not ever worked with this large a pic chip before. I need to pull up the data sheet and review.
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Jul 08, 2006 8:53 pm     Reply with quote

I have updated the Ethernet bootloader to support the PIC18F4620 on the CCS PICENS Ethernet development board
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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