cancel
Showing results for 
Search instead for 
Did you mean: 

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

Manny
Associate III

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.

13 REPLIES 13
Max VIZZINI
ST Employee

hi,

For SPC56x you CANNOT use OpenOCD.

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

Best Regards,

AutoDevKit Team

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

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

how can i debug using spc5studio?

you CANNOT debug with SPC5Studio, you have to download and install the program UDE from company PLS.

Free version is available up to 256K of flash code with AEK-MCU-SPC5LNKU.

daynialkhan
Associate II

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

daynialkhan_0-1760958197328.png

 

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.

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

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