SecureIoT1702 Programming and Debugging

The CEC1702 device’s program and data memory are RAM-based. On power-up, a ROM bootloader on the device loads the application code from the external Serial Flash on the SecureIoT1702. Debugging is accomplished by loading the target code into RAM directly using a JTAG debugger. Programming is accomplished by programming the code image into the Serial Flash.

Debugging

The SecureIoT1702 exposes the CEC1702’s JTAG debug interface through the X6 header. You can debug your application using a JTAG Debugger such as the Keil ULINKpro with the 10-pin Cortex Debug Connector.

Programming

The CEC1702 firmware application is stored in the external SPI Flash device. A programmer header is added for using an external SPI Flash programmer (such as Dediprog SF100) to program the firmware application.

When programming the SPI Flash device using an external SPI programmer, the CEC1702 must be in the reset state by holding the RESETI# pin low. The way this is done depends on the version of the SecureIoT1702 demo board:

  • Version B2.1: Use the X2 jumper.
  • Version B2.0: If the X2 jumper is not present, use a jumper to connect pin 2 to pin 4 of X12. This will prevent the firmware from loading via SPI during Power-On Reset and stall the CEC1702. You can then switch to the external SPI programmer to program the application firmware.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.