Updating just web code on a SB800EX
Posted: Mon Oct 01, 2018 10:39 am
I have a SB800EX-JDDW-IR development kit and I'm wondering if there is a way to only update the web code on the device. Right now, every time we make a change to the web interface we build the project in NBEclipse and then use the update tool to send it to the device. This entire process is taking us 10 or more minutes for every change since it has to compile everything and then reboot. Since JavaScript and HTML doesn't need to be compiled nor does it need a system reboot we are looking for a faster way to develop our web interface.
I read in some of the documentation that there's a TFTP server running on these devices so I figured I could setup some bash scripts to copy the few web files over manually. The issue with that is TFTP doesn't support getting a file directory listing so I have no idea where the files should be copied to.
I'm curious if anyone has had success with uploading just the web code to an SB800EX or if theres a faster way of updating than how we currently are doing it.
Our last resort would be to host the files elsewhere and set it up so the web interface can either load data from the localhost or a given IP address but it would be nice to just run it on the actual board.
I read in some of the documentation that there's a TFTP server running on these devices so I figured I could setup some bash scripts to copy the few web files over manually. The issue with that is TFTP doesn't support getting a file directory listing so I have no idea where the files should be copied to.
I'm curious if anyone has had success with uploading just the web code to an SB800EX or if theres a faster way of updating than how we currently are doing it.
Our last resort would be to host the files elsewhere and set it up so the web interface can either load data from the localhost or a given IP address but it would be nice to just run it on the actual board.