Posted on September 02, 2015 at 21:56Barracuda Application Server Demo for the Discovery Board(32F746GDISCOVERY)
The Barracuda Application Server Demo includes a web based code editor, where you can develop your server side web application directly in a browser, in real time, using the Lua scripting language. The demo enables rapid prototyping of any type of web-based user interface.
Discovery board home page:
http://goo.gl/baEktq
Installing - Download the Barracuda App Server:
https://realtimelogic.com/eval/bin/32F746GDISCOVERY.zip
- Unzip 32F746GDISCOVERY.zip in any directory.
- Download and install the STM32 ST-LINK Utility:
http://www.st.com/web/en/catalog/tools/PF251168
- Insert an Ethernet cable into the Discovery Board and connect the other end to your network.
- Attach the Discovery Board to your PC via USB.
- Start the STM32 ST-LINK Utility.
- In the menu, click Target -> Connect. This command connects to your Discovery Board.
- In the menu, click File -> Open file -> browse to STM32746G_DISCOVERY.hex and load.
- In the menu, click Target -> Program & Verify. This command uploads the firmware and resets the board.
The Discovery Board should now reboot and you should see ''BarracudaApplication Server Demo'' being printed on the LCD screen. After a few seconds, the board's IP address should also be printed on the LCD. Use a browser and navigate to this IP address. You should thensee the demo's web user interface.
The Barracuda Application Server Demo is an example from ourBarracuda Application Server SDK called the LSP Application Manager,which includes a web based code editor, where you can develop yourweb pages. The pages are stored on your PC, and the LSP Application Manager fetches the pages on your PC using a Network File System. For the network file system to work, the Web File Server (wfs.exe) must be running on your PC. See the following video for instructions:
https://youtu.be/BkyQzbcVAWs
Editing Pages - Make sure wfs.exe runs on your PC.
- Use a browser and navigate to the Discovery Board's IP address.
- In your browser, click the ''New Application'' tab.
- Enter http://your-PC-IP-Address:port-numbr/fs/ in the ''Directory/ZIP File'' input field and click the browse button. The '':port-number'' is only required if the Web File Server (wfs.exe) is not listening on port 80.
- Navigate to a location where you want to store the new web-app (or create a new directory).
- Double click to select the directory, and click Submit to initiate the new application wizard.
- Follow the wizard as described on the following video:
https://youtu.be/BkyQzbcVAWs
RecommendationsWe recommend that you download the Barracuda Application Server Demo for Windows (includes documentation and tutorials) and complete the tutorials prior to using the LSP Application Manager on the Discovery Board. Alternatively, use the online (non functional) tutorials and use the online documentation.
Online tutorials:
https://realtimelogic.com/bas-tutorials/
Online documentation:
https://realtimelogic.com/ba/