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?
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
0 Asked on December 19, 2021 by starstruck88
3 Asked on December 19, 2021 by hex
0 Asked on December 19, 2021 by pokloha
1 Asked on December 19, 2021 by basit-ali
4 Asked on December 17, 2021 by ben-eck
1 Asked on December 17, 2021 by nick-felker
3 Asked on December 17, 2021 by mister-mystre
0 Asked on December 17, 2021 by xakepp35
1 Asked on December 17, 2021 by cit5
2 Asked on December 17, 2021
11 Asked on December 15, 2021 by timonsku
1 Asked on December 15, 2021 by fabin-romo
Get help from others!