View previous topic :: View next topic |
Author |
Message |
ChristophM
Joined: 04 Jul 2005 Posts: 4
|
tcp/ip stack |
Posted: Tue Jul 05, 2005 8:26 am |
|
|
Hi is any free tcp/ip stack available now??
Because i program for a firm and i need a free stack to modify it. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Jul 05, 2005 8:30 am |
|
|
There are several out there. Microchip has one and CCS has ported it. Contact them for a copy. |
|
|
Guest
|
|
Posted: Tue Jul 05, 2005 8:37 am |
|
|
Yes i read at the microchip website that it is free but in the source files the write something about a licence? |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Jul 05, 2005 8:39 am |
|
|
You will almost always find a license for "free" software. It doesn't mean that you have to pay royalities though. |
|
|
Guest
|
|
Posted: Tue Jul 05, 2005 8:52 am |
|
|
sry but do you know a stack for the pic16f877 because the microchip free stack is for the 18f452 ? |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Jul 05, 2005 8:55 am |
|
|
The stack is written in C so it should work for the pic16's as well. The problem that you are going to have is with code space. What are you trying to do? |
|
|
Guest
|
|
Posted: Tue Jul 05, 2005 9:03 am |
|
|
At frist i only have to make a udp stream to a specific pc. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
|
Guest
|
|
Posted: Tue Jul 05, 2005 9:15 am |
|
|
thx but ther is a prob with the microchip stack it is only for hitechc and mchp and i need ccs.
did i have to edit all #defines in the compiler.h or is the pic18 compatible with the pic16 |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Jul 05, 2005 9:40 am |
|
|
Ask CCS for the port, they have it. I wouldn't do it in a PIC16. Move up to the PIC18. You aren't going to have much room in the PIC16. |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Tue Jul 05, 2005 10:13 am |
|
|
I have written my own stack (before Microchip released theirs) for both the 16F87x and 18F45x. Mark is absolutely right - forget doing it on the 16F. The 18F at the same crystal speed is 4 times the speed of the 16F implementation for multiple reasons. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Jul 05, 2005 10:17 am |
|
|
Not to mention the price of the pics are relatively the same |
|
|
ChristophM
Joined: 04 Jul 2005 Posts: 4
|
|
Posted: Tue Jul 05, 2005 1:07 pm |
|
|
k will try it with the 18f45x. asmallri can you send me your stacks ?
where can i get a layout for a 18f45x or the picdem.net board with the 18f45x because mircochip only sells the board with the 30f.
thx for your help |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Tue Jul 05, 2005 6:00 pm |
|
|
ChristophM wrote: | k will try it with the 18f45x. asmallri can you send me your stacks ? |
Sorry - no can do. They written in assembler (for size and speed) and they are my IP and provide me with unique commercial differentiation.
Quote: | where can i get a layout for a 18f45x or the picdem.net board with the 18f45x because mircochip only sells the board with the 30f.
thx for your help | Microchip used to ship it with both 16F877 anf 18F452. They are pin compatible and the kit comes with the image for both (or did anyway). _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
|