Description
"FLASH_FREEZE" is a command tool used in configure_tool. Use the "configure_tool -name {FLASH_FREEZE}" command to specify:
configure_tool -name {FLASH_FREEZE} -params {parameter:value}
Arguments
Parameter | Type | Description |
---|
FF_RAM_STATE | string | Specifies the uRAM and LSRAM state during Flash Freeze. The possible for this argument are: - SUSPEND - Sets to Suspend; LSRAM and uSRAM contents are retained. By default is SUSPEND.
- SLEEP - Sets to Sleep; LSRAM and uSRAM contents are not retained.
|
FF_MSS_CLOCK | string | Specifies the MSS Clock Source during Flash Freeze. The possible value for this argument are: - RCOSC_1MHZ - On-Chip 1 MHz RC Oscillator. By default is RCOSC_1MHZ.
- RCOSC_50MHZ - On-Chip 50 MHz RC Oscillator.
|
Return Type | Description |
---|
Integer | Returns 0 on success and 1 on failure. |
Error Codes
Error Code | Description |
---|
None | Required parameter 'params' is missing. |
Supported Families
Supported Families |
---|
SmartFusion® 2 |
IGLOO® 2 |
Example
The following example sets uRAM and LSRAM state as "SUSPEND" and MSS Clock On-Chip 50 MHz RC Oscillator:
configure_tool -name {FLASH_FREEZE} \
-params {FF_MSS_CLOCK:RCOSC_50MHZ} \
-params {FF_RAM_STATE:SLEEP}