cancel
Showing results for 
Search instead for 
Did you mean: 

Barracuda App Server for 32F746GDISCOVERY

wilfred
Associate
Posted on September 02, 2015 at 21:56

Barracuda 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

  1. Download the Barracuda App Server:

    https://realtimelogic.com/eval/bin/32F746GDISCOVERY.zip

  2. Unzip 32F746GDISCOVERY.zip in any directory.
  3. Download and install the STM32 ST-LINK Utility:

    http://www.st.com/web/en/catalog/tools/PF251168

  4. Insert an Ethernet cable into the Discovery Board and connect the other end to your network.
  5. Attach the Discovery Board to your PC via USB.
  6. Start the STM32 ST-LINK Utility.
  7. In the menu, click Target -> Connect. This command connects to your Discovery Board.
  8. In the menu, click File -> Open file -> browse to STM32746G_DISCOVERY.hex and load.
  9. 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

  1.  Make sure wfs.exe runs on your PC.
  2. Use a browser and navigate to the Discovery Board's IP address.
  3. In your browser, click the ''New Application'' tab.
  4. 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.
  5. Navigate to a location where you want to store the new web-app (or create a new directory).
  6. Double click to select the directory, and click Submit to initiate the new application wizard.
  7. Follow the wizard as described on the following video:

    https://youtu.be/BkyQzbcVAWs

Recommendations

We 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/

0 REPLIES 0