Not able to run External Mode and PIL On F28062 Based Custom Board

조회 수: 3 (최근 30일)
Anand Vasappanavara
Anand Vasappanavara 2023년 9월 25일
답변: Naga 2023년 10월 13일
Hello,
Currently I am facing a situation where I am not able to flash my controller board based on F28062 microcontroller from MATLAB, neither I am able to run PIL (Monitor and Tune) from MATLAB in order to see real time code execution.
Little background:
I used MATLAB flashing, external mode and PIL on LaunchXL (F28069M) and it works well on this board.
Serial setting made in Hardware Configuration is serial port detected when LaunchXL is connected to PC.
With custom board I build the matlab code first then take the .o file and use Uniflash to flash the controller.
I am not able to establish direct Matlab Custom Controller Communication.
Refer below figure for overall setup in each case.
If anybody can give any clues/ solution on what exactly is wrong here.

답변 (1개)

Naga
Naga 2023년 10월 13일
Hi Anand,
I understand you are facing issues running PIL on your custom board based on F28062 microcontroller from MATLAB.
To run the same, it would be better to verify if the serial communication Interface (SCI) is working fine. This can be verified by running simple serial example on the target and check if the data exchange is happening. The simple serial examples can be found in C2000 ware. Attaching the path for reference:
"C:\ti\c2000\C2000Ware_4_00_00_00\device_support\f2806x\examples\c28\sci_echoback"
"C:\ti\c2000\C2000Ware_4_00_00_00\device_support\f2806x\examples\c28\scia_loopback"
Note: The paths are for reference only and might be different based on C2000 version and installation path.
The issue can be debugged further after verifying the SCI. If that is working fine and you are still not able to run PIL please contact MathWorks support for further assistance:
Hope this helps!

카테고리

Help CenterFile Exchange에서 Embedded Coder Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by