Programmer/debugger options for microchip's eval board

Electrical Engineering Asked by nalostta on December 2, 2020

I recently received a CEC1x01 eval board as a part of free hardware to develop solutions for a competition. My issue is regarding programming the board. They only shipped the eval kit and no hardware programmer was included with it. I do not have a segger J-link and I guess buying one would ultimately defeat the purpose of ‘free-hardware’. I however had been working with stm32 microcontrollers and have a ‘blue pill’-turned-‘black magic probe’ that supports jtag. I tried connecting it to the board and used arm-gdb to scan it, but the jtag-scan returns error, and the board is not recognized. What are my options here?

One Answer

In this document on page 15:

Without performing the eFuse programming, the CEC1702 Bx "blank" device JTAG port is enabled. You can connect the selected JTAG debugger to the JTAG header, using the selected IDE development tools to select the CEC1702 device and configure the debugger settings accordingly and then click on the 'debug' option to download the compiled application firmware into the SRAM for execution.

and a bit further:

After building a correct 2 MB size SPI image, you should use external SPI flash programmer to flash the image into the external SPI flash on the CEC1702PIM. Finally, power cycle the board to see if the firmware is being executed as expected.

So what I can see You sholud use a JTAG programmer that supports those devices (eg. Pickit4 from Microchip) or You can go with painful way - programming SPI flash and let boot it automatically. This may be cheaper, but still requires some programming hardware (for SPI flash chip)

For cheap jtag - You can get J link from china for a few dollars. Anything with CEC1702 in specification will work. But Getting Pickit4 is good when You want something that just works reliably and has huge community to help. (And supports big number of devices)

Answered by fifi_22 on December 2, 2020

Add your own answers!

Related Questions

Dual Inline Package and Chip

1  Asked on December 19, 2021 by basit-ali


How can I model a relay in LTSpice IV?

2  Asked on December 17, 2021


Coefficients and harmonics of a PWM signal

3  Asked on December 17, 2021 by burton01


AD7705 vs TM7705?

2  Asked on December 17, 2021


Putting diodes in parallel

5  Asked on December 17, 2021


How to model Nernst equation for numeric solution?

0  Asked on December 17, 2021 by xakepp35


DIP switch replacement

2  Asked on December 15, 2021 by joel-b


Modify Transformerless Power Supplies

1  Asked on December 15, 2021 by user213858


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir