summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module
diff options
context:
space:
mode:
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module')
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml20
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml3
2 files changed, 23 insertions, 0 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml b/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml
index d37a13e..000e960 100644
--- a/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml
@@ -482,6 +482,26 @@
</permissions>
</command>
+ <command number="6" name="Set Enhanced Area" ADbg="false" source="PC" supportedcmdtype="longrunning">
+ <documentation>
+ This command is used to set enhanced area on eMC card.
+ </documentation>
+ <interface type="loader" name="SetEnhancedArea"/>
+ <input>
+ <value type="string" name="Path_p">Path to the device where area will be set.</value>
+ <value type="uint64" name="Start">Start address of enhanced area in bytes.</value>
+ <value type="uint64" name="Length">Length of the enhanced area in bytes.</value>
+ </input>
+ <output>
+ </output>
+ <authentication depandancy="or" factory="TRUE" rd="TRUE" product="TRUE" service="TRUE">
+ <value ref="A1"/>
+ <value ref="CA"/>
+ </authentication>
+ <permissions>
+ <value ref="ProductionModeLevel"/>
+ </permissions>
+ </command>
</group>
<group number="03" name="File system operations" supportedcmdtype="longrunning,shortrunning">
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml b/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml
index 7435367..60d2fbe 100644
--- a/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml
@@ -144,6 +144,9 @@
<value number="775" name="E_FILE_TOO_LARGE" fatal="false" short="File too large.">The file is too large to fit in the partition. Increase the partition size and try to flash the file again. If problem still exist, report it</value>
<value number="776" name="E_FILE_OUT_OF_BOOT_AREA" fatal="false" short="File outside of boot area">The file is too large to fit in the boot area.</value>
<value number="777" name="E_DUMP_OUT_OF_FLASH_RANGE" fatal="false" short="Dump outside of flash range">The requested dump size is outside of the flash range, available flash range is dumped.</value>
+ <value number="778" name="E_ENHANCED_AREA_NOT_SET" fatal="false" short="Enhanced area is not set">Archive contains image marked for enhanced area, but enhanced area is not set on eMMC</value>
+ <value number="779" name="E_ENHANCED_IMAGE_OUT_OF_ENHANCED_AREA" fatal="false" short="Image out of enhanced area">Image marked for enhanced area has start and/or end address out of enhanced area</value>
+ <value number="780" name="E_SET_ENHANCED_AREA_FAILED" fatal="false" short="Setting of enhanced area failed">eMMC driver returned error while setting enhanced area</value>
<!--
* File management Fatal 900-950