Skip to content

Commit

Permalink
Features Added in 0.3.1 release:
Browse files Browse the repository at this point in the history
    1. Added support for reading Signer Certificate through AT+READCERT.
    2. Increased the AT Cmd Length.
  • Loading branch information
himanshuseth-microchip committed Jan 30, 2023
1 parent fc3cd24 commit 11b7ce9
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 41 deletions.
Binary file modified doc/ATCommandReference.pdf
Binary file not shown.
168 changes: 154 additions & 14 deletions firmware/PIC32MZW1_AnyCloud.X/nbproject/configurations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
<logicalFolder name="HeaderFiles"
displayName="Header Files"
projectFiles="true">
<logicalFolder name="at_cmd_engine"
displayName="at_cmd_engine"
projectFiles="true">
<logicalFolder name="include" displayName="include" projectFiles="true">
<itemPath>../src/at_cmd_engine/include/at_cmds.h</itemPath>
<itemPath>../src/at_cmd_engine/include/conf_at_cmd_defaults.h</itemPath>
</logicalFolder>
</logicalFolder>
<logicalFolder name="f1" displayName="config" projectFiles="true">
<logicalFolder name="f1" displayName="default" projectFiles="true">
<logicalFolder name="f8" displayName="crypto" projectFiles="true">
Expand Down Expand Up @@ -559,8 +567,6 @@
<itemPath>../src/at_cmd_engine/at_cmds/at_cmd_struct_store.c</itemPath>
<itemPath>../src/at_cmd_engine/at_cmds/at_cmd_xmodem.c</itemPath>
</logicalFolder>
<logicalFolder name="include" displayName="include" projectFiles="true">
</logicalFolder>
<logicalFolder name="platform" displayName="platform" projectFiles="true">
<itemPath>../src/at_cmd_engine/platform/platform_harmony_int_usart.c</itemPath>
</logicalFolder>
Expand Down Expand Up @@ -1583,7 +1589,6 @@
<C32>
<property key="additional-warnings" value="true"/>
<property key="addresss-attribute-use" value="false"/>
<property key="appendMe" value="-minterlink-compressed"/>
<property key="enable-app-io" value="false"/>
<property key="enable-omit-frame-pointer" value="false"/>
<property key="enable-symbols" value="true"/>
Expand Down Expand Up @@ -1615,7 +1620,6 @@
<property key="additional-options-chop-files" value="false"/>
</C32-AR>
<C32-AS>
<property key="appendMe" value=""/>
<property key="assembler-symbols" value=""/>
<property key="enable-symbols" value="true"/>
<property key="exclude-floating-point-library" value="false"/>
Expand Down Expand Up @@ -1645,7 +1649,6 @@
<property key="additional-options-use-response-files" value="false"/>
<property key="additional-options-write-sla" value="false"/>
<property key="allocate-dinit" value="false"/>
<property key="appendMe" value=""/>
<property key="code-dinit" value="false"/>
<property key="ebase-addr" value=""/>
<property key="enable-check-sections" value="false"/>
Expand All @@ -1662,7 +1665,7 @@
<property key="generate-16-bit-code" value="false"/>
<property key="generate-cross-reference-file" value="false"/>
<property key="generate-micro-compressed-code" value="false"/>
<property key="heap-size" value="160000"/>
<property key="heap-size" value="161000"/>
<property key="input-libraries" value=""/>
<property key="kseg-length" value=""/>
<property key="kseg-origin" value=""/>
Expand All @@ -1685,7 +1688,6 @@
<C32CPP>
<property key="additional-warnings" value="false"/>
<property key="addresss-attribute-use" value="false"/>
<property key="appendMe" value=""/>
<property key="check-new" value="false"/>
<property key="eh-specs" value="true"/>
<property key="enable-app-io" value="false"/>
Expand Down Expand Up @@ -1805,6 +1807,35 @@
<property key="programoptions.uselvpprogramming" value="false"/>
<property key="voltagevalue" value="3.25"/>
</PICkit3PlatformTool>
<PKOBSKDEPlatformTool>
<property key="AutoSelectMemRanges" value="auto"/>
<property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/>
<property key="ToolFirmwareFilePath"
value="Press to browse for a specific firmware version"/>
<property key="ToolFirmwareOption.UseLatestFirmware" value="true"/>
<property key="debugoptions.debug-startup" value="Use system settings"/>
<property key="debugoptions.reset-behaviour" value="Use system settings"/>
<property key="firmware.download.all" value="false"/>
<property key="lastid" value=""/>
<property key="memories.configurationmemory" value="true"/>
<property key="memories.dataflash" value="true"/>
<property key="memories.eeprom" value="true"/>
<property key="memories.id" value="true"/>
<property key="memories.programmemory" value="true"/>
<property key="memories.programmemory.ranges" value="10000000-100fffff"/>
<property key="memories.userotp" value="true"/>
<property key="programoptions.donoteraseauxmem" value="false"/>
<property key="programoptions.eraseb4program" value="true"/>
<property key="programoptions.preservedataflash" value="false"/>
<property key="programoptions.preservedataflash.ranges" value=""/>
<property key="programoptions.preserveeeprom" value="false"/>
<property key="programoptions.preserveeeprom.ranges"
value="${memories.eedata.default}"/>
<property key="programoptions.preserveprogram.ranges" value=""/>
<property key="programoptions.preserveprogramrange" value="false"/>
<property key="programoptions.usehighvoltageonmclr" value="false"/>
<property key="programoptions.uselvpprogramming" value="true"/>
</PKOBSKDEPlatformTool>
<Tool>
<property key="ADC" value="true"/>
<property key="ADC 1" value="true"/>
Expand Down Expand Up @@ -1860,7 +1891,9 @@
<property key="UART1" value="true"/>
<property key="UART2" value="true"/>
<property key="UART3" value="true"/>
<property key="communication.interface" value=""/>
<property key="communication.activationmode" value="nohv"/>
<property key="communication.interface"
value="${communication.interface.default}"/>
<property key="communication.interface.jtag" value="2wire"/>
<property key="communication.speed" value="${communication.speed.default}"/>
<property key="debugoptions.debug-startup" value="Use system settings"/>
Expand All @@ -1869,6 +1902,7 @@
<property key="debugoptions.useswbreakpoints" value="false"/>
<property key="freeze.timers" value="false"/>
<property key="hwtoolclock.frcindebug" value="false"/>
<property key="lastid" value=""/>
<property key="memories.aux" value="false"/>
<property key="memories.bootflash" value="true"/>
<property key="memories.configurationmemory" value="true"/>
Expand All @@ -1885,19 +1919,26 @@
<property key="memories.programmemory.end" value="0x1d003fff"/>
<property key="memories.programmemory.ranges" value="10000000-100fffff"/>
<property key="memories.programmemory.start" value="0x1d000000"/>
<property key="memories.userotp" value="true"/>
<property key="poweroptions.powerenable" value="false"/>
<property key="programmerToGoFilePath"
value="C:/E/Work/Rio2_POC/NewProj/PIC32MZW1_AnyCloud_TLS_Working_220526/PIC32MZW1_AnyCloud/firmware/PIC32MZW1_AnyCloud.X/debug/default/PIC32MZW1_AnyCloud_ptg"/>
<property key="programmerToGoImageName" value="PIC32MZW1_AnyCloud_ptg"/>
<property key="programmertogo.imagename" value=""/>
<property key="programoptions.donoteraseauxmem" value="false"/>
<property key="programoptions.eraseb4program" value="true"/>
<property key="programoptions.ledbrightness" value="5"/>
<property key="programoptions.pgcconfig" value="pull down"/>
<property key="programoptions.pgcresistor.value" value="4.7"/>
<property key="programoptions.pgdconfig" value="pull down"/>
<property key="programoptions.pgdresistor.value" value="4.7"/>
<property key="programoptions.pgmentry.voltage" value="low"/>
<property key="programoptions.pgmspeed" value="Med"/>
<property key="programoptions.preservedataflash" value="false"/>
<property key="programoptions.preservedataflash.ranges"
value="${memories.dataflash.default}"/>
<property key="programoptions.preservedataflash.ranges" value=""/>
<property key="programoptions.preserveeeprom" value="false"/>
<property key="programoptions.preserveeeprom.ranges" value=""/>
<property key="programoptions.preserveeeprom.ranges"
value="${memories.eedata.default}"/>
<property key="programoptions.preserveprogram.ranges" value=""/>
<property key="programoptions.preserveprogramrange" value="false"/>
<property key="programoptions.preserveprogramrange.end" value="0x1d003fff"/>
Expand All @@ -1908,13 +1949,114 @@
<property key="programoptions.programuserotp" value="false"/>
<property key="programoptions.testmodeentrymethod" value="VDDFirst"/>
<property key="programoptions.usehighvoltageonmclr" value="false"/>
<property key="programoptions.uselvpprogramming" value="false"/>
<property key="programoptions.uselvpprogramming" value="true"/>
<property key="ptgProgramImage" value="true"/>
<property key="ptgSendImage" value="true"/>
<property key="toolpack.updateoptions"
value="toolpack.updateoptions.uselatestoolpack"/>
<property key="toolpack.updateoptions.packversion"
value="Press to select which tool pack to use"/>
<property key="voltagevalue" value="3.25"/>
</Tool>
<pk4hybrid>
<property key="ADC" value="true"/>
<property key="AutoSelectMemRanges" value="auto"/>
<property key="CAN1" value="true"/>
<property key="CANFD2" value="true"/>
<property key="CHANGE NOTICE A" value="true"/>
<property key="CHANGE NOTICE B" value="true"/>
<property key="CHANGE NOTICE C" value="true"/>
<property key="CHANGE NOTICE K" value="true"/>
<property key="CLOCK CONTROL LVDCON" value="true"/>
<property key="DMA" value="true"/>
<property key="ETHERNET CONTROLLER" value="true"/>
<property key="Freeze All Other Peripherals" value="true"/>
<property key="I2C 1" value="true"/>
<property key="I2C 2" value="true"/>
<property key="INPUT CAPTURE 1" value="true"/>
<property key="INPUT CAPTURE 2" value="true"/>
<property key="INPUT CAPTURE 3" value="true"/>
<property key="INPUT CAPTURE 4" value="true"/>
<property key="INTERRUPT CONTROL" value="true"/>
<property key="OUTPUT COMPARE 1" value="true"/>
<property key="OUTPUT COMPARE 2" value="true"/>
<property key="OUTPUT COMPARE 3" value="true"/>
<property key="OUTPUT COMPARE 4" value="true"/>
<property key="REAL TIME CLOCK" value="true"/>
<property key="REFERENCE CLOCK 1" value="true"/>
<property key="SPI/I2S 1" value="true"/>
<property key="SPI/I2S 2" value="true"/>
<property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/>
<property key="TIMER1" value="true"/>
<property key="TIMER2" value="true"/>
<property key="TIMER3" value="true"/>
<property key="TIMER4" value="true"/>
<property key="TIMER5" value="true"/>
<property key="TIMER6" value="true"/>
<property key="TIMER7" value="true"/>
<property key="ToolFirmwareFilePath"
value="Press to browse for a specific firmware version"/>
<property key="ToolFirmwareOption.UpdateOptions"
value="ToolFirmwareOption.UseLatest"/>
<property key="ToolFirmwareToolPack"
value="Press to select which tool pack to use"/>
<property key="UART1" value="true"/>
<property key="UART2" value="true"/>
<property key="UART3" value="true"/>
<property key="communication.activationmode" value="nohv"/>
<property key="communication.interface"
value="${communication.interface.default}"/>
<property key="communication.interface.jtag" value="2wire"/>
<property key="communication.speed" value="${communication.speed.default}"/>
<property key="debugoptions.debug-startup" value="Use system settings"/>
<property key="debugoptions.reset-behaviour" value="Use system settings"/>
<property key="debugoptions.simultaneous.debug" value="false"/>
<property key="debugoptions.useswbreakpoints" value="false"/>
<property key="freeze.timers" value="false"/>
<property key="memories.aux" value="false"/>
<property key="memories.bootflash" value="true"/>
<property key="memories.configurationmemory" value="true"/>
<property key="memories.configurationmemory2" value="true"/>
<property key="memories.dataflash" value="true"/>
<property key="memories.eeprom" value="true"/>
<property key="memories.exclude.configurationmemory" value="true"/>
<property key="memories.flashdata" value="true"/>
<property key="memories.id" value="true"/>
<property key="memories.instruction.ram.ranges"
value="${memories.instruction.ram.ranges}"/>
<property key="memories.programmemory" value="true"/>
<property key="memories.programmemory.ranges" value="10000000-100fffff"/>
<property key="poweroptions.powerenable" value="false"/>
<property key="programmerToGoImageName" value="PIC32MZW1_AnyCloud_ptg"/>
<property key="programoptions.donoteraseauxmem" value="false"/>
<property key="programoptions.eraseb4program" value="true"/>
<property key="programoptions.ledbrightness" value="5"/>
<property key="programoptions.pgcconfig" value="pull down"/>
<property key="programoptions.pgcresistor.value" value="4.7"/>
<property key="programoptions.pgdconfig" value="pull down"/>
<property key="programoptions.pgdresistor.value" value="4.7"/>
<property key="programoptions.pgmentry.voltage" value="low"/>
<property key="programoptions.pgmspeed" value="Med"/>
<property key="programoptions.preservedataflash" value="false"/>
<property key="programoptions.preservedataflash.ranges"
value="${memories.dataflash.default}"/>
<property key="programoptions.preserveeeprom" value="false"/>
<property key="programoptions.preserveeeprom.ranges" value=""/>
<property key="programoptions.preserveprogram.ranges" value=""/>
<property key="programoptions.preserveprogramrange" value="false"/>
<property key="programoptions.preserveuserid" value="false"/>
<property key="programoptions.program.otpconfig" value="false"/>
<property key="programoptions.programcalmem" value="false"/>
<property key="programoptions.programuserotp" value="false"/>
<property key="programoptions.testmodeentrymethod" value="VDDFirst"/>
<property key="ptgProgramImage" value="true"/>
<property key="ptgSendImage" value="true"/>
<property key="toolpack.updateoptions"
value="toolpack.updateoptions.uselatestoolpack"/>
<property key="toolpack.updateoptions.packversion"
value="Press to select which tool pack to use"/>
<property key="voltagevalue" value="3.25"/>
</pk4hybrid>
<pkob4hybrid>
<property key="ADC" value="true"/>
<property key="AutoSelectMemRanges" value="auto"/>
Expand Down Expand Up @@ -1980,8 +2122,6 @@
value="${memories.instruction.ram.ranges}"/>
<property key="memories.programmemory" value="true"/>
<property key="memories.programmemory.ranges" value="10000000-100fffff"/>
<property key="programmerToGoFilePath"
value="C:/E/Work/Rio2_POC/NewProj/PIC32MZW1_AnyCloud_TLS_Working_220526/PIC32MZW1_AnyCloud/firmware/PIC32MZW1_AnyCloud.X/debug/default/PIC32MZW1_AnyCloud_ptg"/>
<property key="programoptions.donoteraseauxmem" value="false"/>
<property key="programoptions.eraseb4program" value="true"/>
<property key="programoptions.pgmentry.voltage" value="low"/>
Expand Down
2 changes: 1 addition & 1 deletion firmware/src/at_cmd_engine/include/conf_at_cmd_defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/* Maximum length of a single AT command */
#ifndef AT_CMD_CONF_MAX_COMMAND_LENGTH
#define AT_CMD_CONF_MAX_COMMAND_LENGTH 256
#define AT_CMD_CONF_MAX_COMMAND_LENGTH 512
#endif

/* Maximum length of a formatting print string */
Expand Down
Loading

0 comments on commit 11b7ce9

Please sign in to comment.