0
\$\begingroup\$

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?

\$\endgroup\$
1
  • \$\begingroup\$ On the other hand, if you got a j-link you can use it for any ARM. If cash is tight maybe look to buy a used Segger or similar well-recognized brand. \$\endgroup\$
    – Lundin
    Nov 11, 2020 at 8:02

1 Answer 1

1
\$\begingroup\$

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)

\$\endgroup\$
2
  • \$\begingroup\$ Any cheap JTAG clones that can do the job? \$\endgroup\$
    – nalostta
    Nov 11, 2020 at 7:18
  • \$\begingroup\$ This is one of the things I wouldn't cheap out on. Getting your binary downloaded as-is, is of course extremely important. I wouldn't trust some Ali Baba device with that. \$\endgroup\$
    – Lundin
    Nov 11, 2020 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.