Hibernation (hibernate)

Compatibility: Eagle 50, 50E

 


 

An example to demonstrate the use of the Hibernation module.

The user can put the microcontroller in hibernation by pressing the select button.  The microcontroller will then wake on its own after 5 seconds, or immediately if the user presses the select button again.  The program keeps a count of the number of times it has entered hibernation.  The value of the counter is stored in the battery backed memory of the Hibernation module so that it can be retrieved when the microcontroller wakes.

 

Ethernet with Snmp (enet_snmp)

Compatibility: Eagle 50E, 100


SNMP and WebServer Application using lwIP.

The lwIP private MIB (enterprises.26381) currently has 10 sensor IDs defined but can be easily changed to support many more.

The demo currently uses the first 4 sensor IDs:

enterprises.26381.1.1.1.1.
  0 - LED at PE1 (read/write)
  1 - User button at PA6 (read only)
  2 - Nibble PB0-3 configured as input (read only)
  3 - Nibble PC4-7 configured as output (read/write)

Representative commands (board at 192.168.1.220):

snmpwalk -v 1 -c public 192.168.1.220
  List all base MIBs
snmpwalk -v 1 -c public 192.168.1.220 enterprises
  List all private MIBs
snmpget -v 1 -c public 192.168.1.220 sysContact.0
  Get contact information
snmpset -v 1 -c public 192.168.1.220 sysContact.0 s "This email address is being protected from spambots. You need JavaScript enabled to view it. "
  Set contact information
snmpget -v 1 -c public 192.168.1.220 enterprises.26381.1.1.1.1.0
  Get current LED state
snmpset -v 1 -c public 192.168.1.220 enterprises.26381.1.1.1.1.0 i 0
  Turn LED off
snmpset -v 1 -c public 192.168.1.220 enterprises.26381.1.1.1.1.0 i 1
  Turn LED on
snmpset -v 1 -c public 192.168.1.220 enterprises.26381.1.1.1.1.3 i 10
  Set nibble PC4-7 to '1010'

 

 

References:


To execute the sensor IDs you can use the command line net-snmp tools for Windows from

  1. http://www.net-snmp.org/download.html

Boot Loader-Ethernet (boot_eth)

Compatibility: Eagle 50E, 100


Bootstrapping is a technique by which a simple program activates a more complicated system of programs. In the start up process , a small program, initializes and tests the hardware, peripherals and external memory devices are connected, then loads a program from one of them and passes control to it, thus allowing the loading of larger programs. The boot loader program's only job is to load other data and programs which are then executed from RAM.

This examples shows how to update the boot loader firmware over the Ethernet interface.

 

Boot Loader-Serial (boot_serial)

Compatibility: Eagle 50


Bootstrapping is a technique by which a simple program activates a more complicated system of programs. In the start up process , a small program, initializes and tests the hardware, peripherals and external memory devices are connected, then loads a program from one of them and passes control to it, thus allowing the loading of larger programs. The boot loader program's only job is to load other data and programs which are then executed from RAM.

This examples shows how to update the boot loader firmware over the Serial interface.

 

Serial to Ethernet converter (ser2enet)

Compatibility: Eagle 50E, 100


The Serial to Ethernet Converter provides a means of accessing the UART on a Stellaris device via a network connection.  The UART can be connected to the UART on a non-networked device, providing the ability to access the device via a network.  This can be useful to overcome the cable length limitations of a UART connection (in fact, the cable can become thousands of miles long) and to provide networking capability to existing devices without modifying the device's operation.

The converter can be configured to use a static IP configuration or to use DHCP to obtain its IP configuration.  Since the converter is providing a telnet server, the effective use of DHCP requires a reservation in the DHCP
server so that the converter gets the same IP address each time it is connected to the network.