View previous topic :: View next topic |
Author |
Message |
Chibouraska
Joined: 11 May 2007 Posts: 57 Location: Montreal,Canada
|
PIC18F97J60 support |
Posted: Wed Dec 26, 2007 7:54 pm |
|
|
Hello !
I would like to create a project using a 18F97J60 MCU but when i try to
create it with the Proj Wiz it doesn't work what could be going worng.
Thanks a lot AC |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Dec 26, 2007 8:38 pm |
|
|
What is your compiler version ?
Look in the following directory and see if you have the .H file for that PIC.
It's there for vs. 4.064:
Quote: | c:\Program files\picc\Devices\18F97j60.h |
|
|
|
Chibouraska
Joined: 11 May 2007 Posts: 57 Location: Montreal,Canada
|
|
Posted: Thu Dec 27, 2007 8:19 am |
|
|
Hi PCM !
It is there the header file 18F97J60 in the devices folder. I have version 4.038 of the compiler. Maybe it's the project wizzard that doesn't
support this chipset if i upgrade you think it will solve my problem. If you have time could you try just to open a new project with the PIC18F97J60
to see if it will work with your 4.064 ver. Thanks a lot for your support ! |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Thu Dec 27, 2007 9:33 am |
|
|
I can save you some time. It does work - I use it.
Andrew _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Chibouraska
Joined: 11 May 2007 Posts: 57 Location: Montreal,Canada
|
|
Posted: Thu Dec 27, 2007 6:39 pm |
|
|
Thanks Andrew!
I will lookup your site it looks great i need a solid ethernet interface
that i could use in a commercial product. what is the best option you think
ENC28j60 or 18F97J60, i am leaning for the 18F97J60. I am new to TCP/IP on PIC's, i used Rabbit semiconductor TCP/IP solution they
offer one of the most complete stack on the market it is hard to do better.
What are the options for storing web pages. I purchased PICDEM. net 2
i want to use it as a programming base for my TCP/IP interface, but i am
blocked my CCS compiler 4.038 does not allow me to create a new proj with the 18F97J60 it is strange because the header file for this chip is present in the devices folder. Is your stack solution comparable to others.
I would like to hear your views or anybody that as experience with networking PIC. Thanks Allen |
|
|
Chibouraska
Joined: 11 May 2007 Posts: 57 Location: Montreal,Canada
|
|
Posted: Thu Dec 27, 2007 6:47 pm |
|
|
When i try to create a project with the PC18F97J60 i get this error
"pcwwiz.exe has stopped working" and Windows Vista looks for
solutions. |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Thu Dec 27, 2007 7:02 pm |
|
|
The ENC28J60 is the easiest way to add an Ethernet controller to an existing PIC. The embedded PIC18F97J60 offers a lower price point and higher performance than a solution using the ENC28J60.
Both the ENC28J60 and PIC18FxxJ6x are VERY power hungry devices. If you are looking for a lower power alternative then the RTL8019AS controller is a good solution. The trade off is that you require a parallel interface to drive the address and data bus. It is possible to implement a solution using the RTL8019AS with a 28 pin PIC.
One consideration when selecting a design is the application performance requirement. If you need to use TCP then the maximum throughput is a function of the amount of retransmit buffer memory used by TCP for a connection, the minimum bandwidth of the link, and the round trip delay. Realistically you cannot achieve high throughout over distance with any of these solutions unless you add external retransmit buffer memory for the TCP stack. This is easy to do with a PIC that supports an external memory bus such as the PIC18F97J60 and the PIC18F8722.
Alternatively, use UDP and handle error recovery at the application level. This is viable if your application can tolerate packet loss or if the probability of packet loss is very low.
My stack is my own implementation. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Fri Dec 28, 2007 8:21 am |
|
|
asmallri wrote: | Both the ENC28J60 and PIC18FxxJ6x are VERY power hungry devices. |
More people need to bring this to Microchip's attention. When I brought this up to Microchip, even gave them my power readings compared to the Realtek, they said to me that there is no problem and that the power usage is reasonable. _________________ I came, I saw, I compiled. |
|
|
|