Skip to main content
Manny
Associate II
April 10, 2025
Solved

Programming and Debugging SPC563M-DISP using AEK-MCU-SPC5LNK.

  • April 10, 2025
  • 3 replies
  • 1245 views

Hi,

I am using AutoDevKit to develop an application on the SPC563M-DISP. I have a AEK-MCU-SPC5LNK debugger and want to program and debug my software on it. As I know this version only support OpenOCD, but the problem is that I am unable to find the ".cfg" file in the OpenOCD folder, inside the AutoDevKit software.

1. Where Can I find the ".cfg" file for the SPC563?

2. Can I debug and Program the SPC563 using AEK-MCU-SPC5LNK and OpenOCD?

3. Can the AEK-MCU-SPC5LNKU (that uses UDE) program and debug SPC563M-SIP?

I currently have the 'SPC5LNK ' and want to use that for developming my app on SPC56, but If that is not possible I can get the SPC5LNKU (UDE version) also, but wants to make sure that I will work.

Best answer by SRomeo

Yea,
The link refers to SPC58EC-DISP (aka AEK-COM-C4MLIT1, AutoDevKit compliant), which embeds one of our micro. (SPC58EC)

Developing application on it via AutoDevKit will allow you to try peripherals and test code features easily using our examples.

We also offer various modules to allow developers to "assemble" their prototypes.
Our modules integrate functional blocks such as power, motor control, and connectivity (and we provide the schematics free of charge).

If your goal is rapid prototyping, then this board and our ecosystem are perfect for you.

3 replies

Max VIZZINI
Technical Moderator
April 10, 2025

hi,

For SPC56x you CANNOT use OpenOCD.

You can use PLS UDE with AEK-MCU-SPC5LNKU.

Best Regards,

AutoDevKit Team

Associate
October 20, 2025

I am using AEK-MCU-SPC5LNKU.and installed spc5-studio. when i try to run debug, nothing happens

Max VIZZINI
Technical Moderator
October 20, 2025

it is not in SPC5Studio, it is PLS UDE a different program.

Associate
October 20, 2025

I already have installed UDE-STK-2021, here is the external tool configuration!
do i need to update?

daynialkhan_0-1760958197328.png

 

Max VIZZINI
Technical Moderator
October 20, 2025

you just need the board connected via USB, the USB driver properly recognizing the PLS ports in Windows and the .elf file found in the project folder after source code compilation is completed.

Associate
October 20, 2025

what is the problem here!

daynialkhan_0-1760960242584.png

daynialkhan_1-1760960289327.png

WhatsApp Image 2025-10-20 at 4.34.19 PM.jpeg

WhatsApp Image 2025-10-20 at 4.34.19 PM (1).jpeg

SRomeo
ST Employee
October 20, 2025

Hi there,
I see nothing wrong on your shared pictures.
Now you should flash your board using PLS UDE. (use the .wsx file, you will find it into your UDE folder)


In case you want an "AutoDevKit compliant" alternative, we suggest the following MCU evaluation boards:

  • AEK-MCU-C1MLIT1 (1core - 1M ROM )
  • AEK-MCU-C4MLIT1 (2cores - 4M ROM )
  • AEK-MCU-C4MINI  (2cores - 4M ROM )
    each equipped with:
    GPIO, SPI, ADC, I2C, UART, CAN, LIN, STM, PIT and PWM peripherals.
    SRomeo_0-1760969935892.png
    In AutodevKit Studio you will find a wide variety of ready-to-use projects, granting a jump-start for your applications!
    We highly recommend to use one of our alternatives!

    BR,
    Simone
    AEK_team
Associate
October 21, 2025

daynialkhan_0-1761038631923.jpeg

All the jumper settings ok??
as i have installed UDE starter kit 2021.05

and getting error  attached in pic. below

daynialkhan_1-1761038761772.png

 

 

Max VIZZINI
Technical Moderator
October 21, 2025

Hi,

This is an old board I am not familiar with, therefore I am not sure about the jumpers.

On the other side, PLS is trying to access the board and somehow it cannot.

So, two simple points to check:

- Is the board turned on and properly connected?

- are the FTDI drivers properly installed in your Windows? Have you checked if the USB port is recognizing the PLS UDE?

Best Regards,

AutoDevKit Team