We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm using Keil's RL_TCPnet HTTP server with an AT91SAM7XC512.
I'm trying to embed JQuery (jquery-1.4.2.min.js), however it appears that the FCARM tool is mangling the file. There are a number of characters (I'm guessing escapes of some sort) that are missing.
The original, uncompressed jquery-1.4.2.min.js is 72,174 bytes. When I download the file from the uC, the file size is 69,321 bytes.
Obviously, none of the jquery functions will work.
Any ideas?
Hi, As for jQuery the better way for embedding in app. is to let the browser download from static high bandwidth host such as google rather than from web server itself (ajax.googleapis.com/.../jquery.min.js), since it consumes your internal flash image and hard to maintain an updated version of jQuery.
I hope keil solve the problem for web server in SD card also, since it appears unable to reference the file in subfolder of SD card (root only), therefore limits the number of file access in root directory and hard to maintain files in group.
kom.
I agree with your point about using the google link for the jQuery file, however, in my case the end user is unlikely to have an internet connection (they'll typically be on-board a ship at sea).
I've got 512KB of flash to play with, so there is plenty of space available to embed the library.
Along with some of the regular jQuery niceties, I'm using 'flot' to plot some runtime variables. http://code.google.com/p/flot/