UDE Debugging Error on AEK-MCU-C4MLIT1 Board Using AutoDevKit – LED Blinking Fails
- November 9, 2025
- 1 reply
- 238 views
I am trying to turn on an LED connected to (PD_9) using the following simple code, but I am encountering an error while flashing the program in UDE. I have attached screenshots of the error and the pin configuration for reference.
Code: Simple LED Blinking
#include "components.h"
/*
* Application entry point.
*/
int main(void) {
/* Initialization of all imported components (generated automatically). */
componentsInit();
/* Set PD_9 as output */
pal_setpadmode(PORT_D, 9, PAL_MODE_OUTPUT);
/* Uncomment the below routine to enable interrupts */
//irqIsrEnable();
/* Application main loop */
for (;;) {
pal_setpad(PORT_D, 9); // Turn LED on
osalThreadDelayMilliseconds(500); // Delay 500 ms
pal_clearpad(PORT_D, 9); // Turn LED off
osalThreadDelayMilliseconds(500); // Delay 500 ms
}
}
Hardware / Pin Configuration:
LED GND → A1
LED Source → A3 (PD_9 - Pin 62)
Port configured as Input/Output
Flashing Process in UDE / AutoDevKit:
In AutoDevKit, click option Execute and Flash.
A pop-up appears in UDE (After Generation, Save compile) , then click Program All.
According to me, it appears to flash successfully.
Error / Warning Observed in UDE:
"Warning, Core0, ArchSrv, the instruction pointer could not be set to value 0x00FCC030, the value reread is 0xFFFFFFFF"
Problem / Question:
Despite following the normal flashing process, even if I paste a code that worked in other project, it gives the same error. I am unable to run the code on the hardware. I suspect something might be missing either in the code, pin configuration, or flashing procedure. Could someone please guide me on what I might be doing wrong?
