Problem with target developing

2 views (last 30 days)
Ivan Maslennikov
Ivan Maslennikov on 12 Mar 2019
Hello,
I'm trying to develop a target for Texas Instruments board TMS570LS1224 according to Guide (10 steps) for similar board RM46.
I successfully passed 6 steps, and cannot resolve 7th - PIL. According to the steps all required Halcogen generated source and headers files for FreeRTOS configuration,linker and compiler flags (big endian) was added, all required changes (.c, .ccxml file names, library names for big endian, etc) was done, but in the PIL test, I got the next errors:
'Running matlabshared.targetsdk.verify.PIL
### Starting build procedure for model: Compute_Sum_and_Diff
### Successful completion of build procedure for model: Compute_Sum_and_Diff
### Creating PIL block ...
### Connectivity configuration for "C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw": TMS570 ###
Building with 'lcc-win64'.
MEX completed successfully.
### Connectivity configuration for "C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw": TMS570 ###
### Connectivity configuration for "C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw": TMS570 ###
### Preparing to start PIL block simulation: msumdiff/Compute_Sum_and_Diff1 ...
### Starting application: 'C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw\pil\Compute_Sum_and_Diff.out'
Begin PIL communication with the TMS570 Launchpad
Erasing entire flash before loading.
Launcher command string: "C:\ProgramData\MATLAB\SupportPackages\R2017a\toolbox\target\shared\ti_arm_toolchain\loader\loadti"
Launcher command arguments: C:\ti\ccsv8\ccs_base\DebugServer "C:\ProgramData\MATLAB\SupportPackages\R2017a\toolbox\target\shared\ti_arm_toolchain\loader" -r -eef -a -c "C:\Users\MaslennikovIK\Desktop\Target\MyTMS570\src\TMS570LS1224.ccxml" -x "Compute_Sum_and_Diff_loadti_log.xml" "C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw\pil\Compute_Sum_and_Diff.out"
***** DSS Generic Loader *****
START: 17:23:17 GMT+0300 (MSK)
Configuring Debug Server for specified target...
Done
TARGET: Texas Instruments XDS110 USB Debug Probe
Connecting to target...
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0
Resetting target...
testEnv.outFiles: C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw\pil\Compute_Sum_and_Diff.out
Loading C:\Users\MaslennikovIK\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_ert_rtw\pil\Compute_Sum_and_Diff.out
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
Done
Target running...
END: 17:23:33 GMT+0300 (MSK)
Connecting In PIL mode...
================================================================================
Error occurred in matlabshared.targetsdk.verify.PIL/checkSubsystemPIL and it did not run to completion.
---------
Error ID:
---------
'Connectivity:target:ErrorRecvTimeout'
--------------
Error Details:
--------------
Error using matlabshared.targetsdk.verify.PIL/checkSubsystemPIL
The timeout of 10 seconds for receiving data from the rtiostream interface has been exceeded. There might be multiple reasons for this failure.
You should:
(a) Check that the target hardware configuration is correct, for example, check that the byte ordering is correct.
(b) Confirm that the target is running.
(c) Consider the possibility of application run-time failures (e.g. divide by zero exceptions, incorrect custom code integration, etc.).
Note (c): To identify possible reasons for the run-time failure, consider using SIL, which supports signal handlers and debugging.
If you cannot find a solution, consider using the method setTimeoutRecvSecs of rtw.connectivity.RtIOStreamHostCommunicator to increase the timeout value.
================================================================================
Warning: Deletion of "C:\Users\MASLEN~1\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013" failed. Caused by:
C:\Users\MASLEN~1\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013\Compute_Sum_and_Diff_pbs.mexw64 could not be removed.
C:\Users\MASLEN~1\AppData\Local\Temp\tpff484791_6d78_4f92_9c5c_bac70118a013 could not be removed.
Increasing the timeout value didnot help.
Could you tell me possible solution of this problem or required documentation for target developing or ?
Best wishes,
Ivan

Answers (0)

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!