element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum microchip TCPIP stack
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 480 subscribers
  • Views 163 views
  • Users 0 members are here
  • tcpip
  • pic32
Related

microchip TCPIP stack

Former Member
Former Member over 12 years ago

I am working with a pic32 ethernet starter kit. I have the TCPIP "Demo App"  in microchip solutions v2013-06-15 working OK but there are a few things I don't understand, particularly the .cgi file in the demo example.

AN1107   explains the CGI and the %xx string and that has also been referred to on the mchip  forum,  but the CGI in the example I am looking at does not contain the %xx string.

One discussion mentioned the CGI containing un-important dummy data.

I have found that dynamic variables in the CGI file are picked up by the MPFS utility and will appear in the auto generated HTTPPrint.h file, (provided the HTTPPrint.idx file has been deleted before running MPFS utility). However the function call generated for the unused dynamic variable used in the CGI file does not seem to serve any purpose and I can delete it in the HTTPPrint.h file and the server and client still work fine. However the CGI file must exist, must have a name associated with the server/client GET data link and must have a dynamic variable which gets picked up by the MPFS utility otherwise there is problem with server/client link.

Although apart from that the file can contain any rubbish.

This does not seem consistent with the AN1107 explanation, is this a completely different use of the CGI file ?

I am having problems with the GET method (client to server) upsetting  TCPPut() (server to client)  if there is too much data in GET which I think might be connected with the cgi that I don't understand.

Does anyone understand how the microchip  .cgi is used. I dont think this has much in connection with the .cgi in a normal server client system. I can't find consistent explanation anywhere.

I would like to post this on the mchip forum but I can't find how to get a ticket. I asked on an dead thread about cgi but no response.

Anyone know how to get mchip ticket ?

 

Paul

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube