Microchip® Advanced Software Framework

Using the Control Panel LCD's default menu

In this scenario, you are a local user who accesses the Control Panel through its on-board MMI interface.

Default menu availability and purpose

The default menu is available just after reset or while there is no USB device nor host device plugged to the EVK1100 board. This menu offers three actions:

  • switch the Control Panel to USB key mode ("Set as USB key"),
  • format the file system on the DataFlash("Format a:(DF)"),
  • create the LOG directory in the file system of the DataFlash("Create a:/LOG"),
  • set the logs to be stored to the DataFlash("Log to a:(DF)"),
  • format the file system on the SD/MMC card("Format b:(SDMMC)"),
  • create the LOG directory in the file system of the SD/MMC card("Create b:/LOG"),
  • set the logs to be stored to the SD/MMC card("Log to b:(SDMMC)")
    The menu organization is the following:
    Set as USB key > < Format a:(DF) > < Create a:/LOG > < Log to a:(DF) > < Format b:(SDMMC) > < Create b:/LOG > < Log to b:(SDMMC)
Note
a is the drive letter associated with the DataFlash memory.
b is the drive letter associated with the SD/MMC card memory.


CpIdleScreen.gif
Example of the LCD's default menu


Set as USB key

Press the joystick to switch the Control Panel to behave as a USB key. For a step-by-step description of this mode see the Accessing the Control Panel acting as a USB Mass Storage device scenario.

Note
Note the right arrow on the last column of the third line : this means that there is another menu item that is reachable with a right-stroke on the joystick.

Format a:(DF) or Format b:(SDMMC)

Press the joystick to perform a format of the selected memory filesystem.

FormatScreen.gif
LCD screen display example to format the filesystem on the DataFlash


The menu line will display a message while it is performing the requested action.

FormatingScreen.gif
LCD screen display example while formatting the filesystem on the DataFlash


Another way to perform the format of a: is through the shell command "format a:"; same for the SDMMC memory (replace a: with b:) (see the Accessing the Control Panel through its shell interface on UART_0 scenario for details on the Shell command line interface).

Note
Note the left arrow on the first column of the third line : the previous action is reachable by giving a left stroke to the joystick. Note the right arrow on the last column of the third line : this means that there is another menu that is reachable by giving a right-stroke to the joystick.

Create a:/LOG or Create b:/LOG

Press the joystick to create the /LOG directory to the required memory. Once this directory exists, the Control Panel will create log files there.

CreateLogScreen.gif
LCD screen display example to create the LOG directory on the DataFlash


The menu line will display a message while it is performing the requested action.

CreatingLogScreen.gif
LCD screen display example while the LOG directory is being created on the DataFlash


Note
The action is done so fast that you may not see that screen.

Another way to create the LOG directory is through the mkdir shell command (see the Accessing the Control Panel through its shell interface on UART_0 scenario for details on the Shell command line interface).

Note
Note the left arrow on the first column of the third line : the previous action is reachable by giving a left stroke to the joystick.

Log to a:(DF) or Log to b:(SDMMC)


LogToA.gif
Press the joystick to store the logs to the DataFlash
LogToB.gif
Press the joystick to store the logs to the SD/MMC card



Contact Information

For further information, visit Atmel AVR32.