2024-05-29 10:24 AM
Dear community members,
My board is AEK-MCU-C4MLIT1 and I have two problem:
1. When I use UDE STK to debug the example SPC58ECxx_RLA Test Application for Discovery, my board blink the test LEDs but when I connect the UART with my board (I've tried with both baud 9600 and 115200) but it displays non-readable symbols. Moreover, the debugger also display the message that "The instruction pointer could not be set to value 0x400a8030, the value reread is 0xFFF...". All the problems of this first question is depicted in the figure below:
2. Then I moved to openOCD to test (already uninstalled Pls driver and Install UDESTK driver instead), I got an error message: "Illegal instruction fetched at address 0x400a8030. Memory corrupted or target reset?". Those pictures below reveal the error message and all the debug config setting that I config in my project:
****************
Driver installed and Debug config:
Any help would be very much appreciated.
TH.
2024-05-31 02:38 AM
Hello trishuynh,
In the demo you are using, the serial works only with RS232 board, connect pin GND, 5V, D1 (SCI_0 TXD) and A10 (SCI_0 RXD), see image below.
This because the serial configured in the demo project is not physically connected to the USB present in the AEK-MCU-C4MLIT1.
The baudrate used is 38400.
Thanks,
AutoDevKit Team.
2024-06-06 08:51 PM
Dear ATROI,
Thank you so much, the first problem has been solved. Could you help me to fix the second problem about Illegal instruction fetched at address 0x400a8030 in OpenOCD as I mentioned above?.
Thanks,
TH.