View previous topic :: View next topic |
Author |
Message |
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Tue Jul 01, 2014 8:59 am |
|
|
Yes.
Get a book on TCP/IP and then a book on SNMP.
If you need, I can recommend a couple.
Then download the TCPIP stack from Microchip and start studying.
The CCS TCP/IP Stack is actually Version 3.75 of the Microchip stack and is many many years old. You're better off downloading the microchip stack (or pre-version6)
Microchip hasn't said directly that I've seen, but XC8 is not supported by the stack which indirectly means they're phasing out support for the 8bit PIC's and TCPIP since XC8 is the official compiler now.
kinda sucks. I liked the 8bit PICs with Ethernet. _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Tue Jul 01, 2014 9:04 am |
|
|
Hi,
If you have to stay with CCS then the first step would be to successfully work through the exercises until you complete 13a and 13b. Have you done that yet?
I learned embedded TCP/IP with CCS and their development board and also adapted it to one of the Olimex boards. see this post:
http://www.ccsinfo.com/forum/viewtopic.php?t=37139
As you can see that was in 2008 and was the last time I worked with the CCS TCP/IP. I don't know SNMP and don't know if there is support for it in CCS. Perhaps if you get the client/server piece working you can write your own SNMP support.
If all you want is to send a message to a PIC to display on an LCD, then you can do that with just TCP/IP and modifications to exercises 13 should suffice.
You say you are new to TCP/IP - If you pursue this, invest in a large tea or coffee pot and expect to do a lot of reading and losing some hair. If you're building a 1000 or more then it might be worth it. If this is a one or two unit project then get a serial to ethernet converter like the WIZ110SR. I have simple PIC12x and PIC16x projects communicating to web servers using this board. Using these I can focus on the project, not the communications.
Cheers, _________________ Jürgen
www.jgscraft.com |
|
|
orazio
Joined: 03 Sep 2010 Posts: 27
|
|
Posted: Tue Jul 01, 2014 9:36 am |
|
|
Hi jgschmidt,
Thanks for your response.
I have already started with ex7a.c , ex13.c, ex_st_webserver.c and ex_st_webserver2.c
I am able to compile these examples and create files. Hex
Now, before to deploy it on my board, I'm waiting for TNT delivers the board PIC_MAXI_WEB olimex.
I have seen and followed your post, and thanks to it i have adapted ccstcpip.h to compile with pic 18f97j60.
I have to make a device compliant to the standard SNMP v1.0. This is the requirement. It will be connected in a local network and queried via snmp by a monitor and control software application third part.
No tips and tricks or serial to ethernet converter like the WIZ110SR.
For this reasons i have to develop an agent SNMP and i would understand if i can do it using CCS compiler and an existing TCP/IP stack library.
I look forward to your feedback.
Regards |
|
|
orazio
Joined: 03 Sep 2010 Posts: 27
|
|
Posted: Tue Jul 01, 2014 4:12 pm |
|
|
Hi bkamen,
I'm studying now but we are adults and we are no longer in school. is necessary to start from a library existing TCP / IP and edit it if necessary.
If someone has already addressed the problem of developing an agent SNMP using CCS TCP/IP stack library is asked to share his experience with others ... with the whole world .... because knowledge must be for all, not of a select few.
I'm not giving up. Before I die and then I give up.
Don't worst your life. GO Surf !!
Regards. |
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Wed Jul 02, 2014 12:26 am |
|
|
Hi Orazio,
Your original post asked three questions. I believe the consensus is the answers are 1) NO 2) NO and 3) Use another compiler.
You will probably be able to get the exercises to work on the Olimex board, since that is as far as I got. Then I ran into trouble doing things not included in the CCS workbook and switched to the Microchip tools. I have no experience with SNMP so I can't help you with that.
Regards, _________________ Jürgen
www.jgscraft.com |
|
|
|