NetBurner 3.5.6
PDF Version
Clear Configuration Flash

NetBurner Clear Configuration Flash

Overview

This is a simple utility program designed to clear the configuration flash area on NetBurner 3.x devices. The application provides a safe way to reset device configuration parameters to their default values by erasing the configuration flash memory.

Purpose

The primary purpose of this application is to:

  • Clear the NetBurner 3.x configuration flash area
  • Force re-initialization of configuration parameters after device reset
  • Provide a clean slate for device configuration

Important Limitations

Note
For MOD5441x, NANO54415, and SB800EX devices, This program will NOT clear the configuration parameters used by the Alternate Boot Monitor.

Reboot Requirement

Note
After running this program successfully, you must reboot the NetBurner device for the configuration changes to take effect. The cleared flash will cause the device to reinitialize with default configuration parameters upon restart.

How It Works

  1. Initialization: The program initializes the NetBurner system and enables system diagnostics
  2. Network Setup: Configures discovery server and waits for active network connection (up to 5 seconds)
  3. User Confirmation: Prompts the user to press any key before proceeding with the flash erase operation
  4. Flash Erase: Calls EraseWholeConfigRecord() to clear the configuration flash area
  5. Completion: Notifies the user that changes will take effect after reboot
  6. Idle Loop: Enters an infinite loop, waiting for user to reboot the device

Usage Instructions

  1. Flash this program to your NetBurner device
  2. Run the program
  3. When prompted, press any key to confirm the configuration flash erase
  4. Wait for the "complete" message
  5. Reboot the device to activate the cleared configuration

Technical Details

Dependencies

Key Features

  • System diagnostics enabled for debugging
  • Network discovery server configuration
  • User confirmation before destructive operation
  • Clear feedback on operation status

Program Flow

- Initialize System
- Setup Network (5 second timeout)
- Wait for User Input
- Erase Configuration Flash
- Display Completion Message
- Wait for Reboot (Infinite Loop)

Safety Considerations

  • The program requires user confirmation before erasing flash
  • Configuration changes only take effect after a device reboot
  • System diagnostics are enabled (should be disabled for production use)
  • The program includes appropriate wait states and feedback messages

Development Notes

  • Contains system diagnostics that should be removed for production code
  • Uses standard NetBurner SDK functions and conventions
  • Implements proper error handling and user feedback