In order to perform the target test in CT 2024.12, the mdb.bat file included in MPLAB must be modified so that the log output from the debugger can be saved in a file format.
The mdb.bat file path is as follows.
For windows 32 bit
C:\Program Files\Microchip\MPLABX\vn.nn\mplab_ide\bin\mdb.bat
For windows 64 bit
C:\Program Files (x86)\Microchip\MPLABX\vn.nn\mplab_ide\bin\mdb.bat
Modify the code in the last line of the mdb.bat file as follows.
before modification
"%jdkhome:exe =exe%" -Dfile.encoding=UTF-8 -jar "%mdb_jar%" %1
after modification
call "%jdkhome:exe =exe%" -Dfile.encoding=UTF-8 -jar "%mdb_jar%" %1 >> %CT_TARGET_PATH%\mdb_log.txt
Need more help with this?
Don’t hesitate to contact us here.