I start with a card PIC_WEB.
I created a web page and loaded with PIC_WEB_5_42.
Temperature displays nothing ... why?
document.getElementById('temp0').innerHTML = getXMLValue(xmlData, 'temp0');
Would you web pages used in WEB PIC board. That proposed in the PIC-WEB files 5.42 or 5.31 not working properly or are not compatible with the card sold
We haven't encountered a problem like that before. The temperature is visible here. Could you please give me some more info about your test environment?
Add also which revision of PIC-WEB board you have? What browser and operating system you use? Does other components work as expected? Have you modified the code or reprogrammed the board (or it is the initial software the board arrived with)?
If any other customer of PIC-WEB has the temperature missing with the 5.42 example could you please contribute to this thread.
I have Windows 7 Pro
Internet Explorer 8 and FireFox 16.02 and Maxthon 3
PIC-WEB 2011 Rev.C
I have not yet programateur.
I'm still a beginner.
With a new card
By injecting the sample files PIC WEB_5.42
(http://s13.postimage.org/ad415lmc3/Image2.jpg) (http://postimage.org/image/ad415lmc3/)(http://s13.postimage.org/fpsvjqa8j/Image3.jpg) (http://postimage.org/image/fpsvjqa8j/)
By injecting the file Prebuilt PIC WEB_5.31)
(http://s13.postimage.org/afnwsfpzn/Image4.jpg) (http://postimage.org/image/afnwsfpzn/)(http://s13.postimage.org/6kkipv6tv/Image5.jpg) (http://postimage.org/image/6kkipv6tv/)
Having changed the HTML PIC WEB_5.42
With Internet Explorer
Sorry for my english I'm french ;)
Thank you for your help
It is strange that after the upload of 5.43 stack demo you see the page with Stack Version: v5.00 always. I'm not exactly sure you ever managed to change the hex with newer or different .hex file. Are you sure you import the correct hex and the board is programmed correctly? Check the prebuilt files in PIC-WEB 5.42\TCPIP.
The MPFS generator tool you use is outdated. Please use the newer MPFS.jar I am updating the manual at the moment with proper images. The usual path to the correct tool is _DRIVE_LETTER:\Microchip application libraries\Microchip\TCPIP Stack\Utilities.
I generated the pages a few times for the test and they generated ok here.
I have not yet programmer.
I can not update the program hex
With the newer version of the MPFS result is the same.
Now I see the problem. We sell the boards with stack v5.0 and there is no binary image for the web page. I have uploaded it here: https://www.olimex.com/Products/PIC/Development/PIC-WEB/resources/PIC_WEB_5_00.zip (https://www.olimex.com/Products/PIC/Development/PIC-WEB/resources/PIC_WEB_5_00.zip). Use the bin for 5.00 stack.
If you wish to use newer stacks you will need a programmer since some of the variables are defined in the code (not only in the web page). HTTPPrint.h has those variables.
FYI for a quick check, you can also use http://pic-web address/status.xml and