Tool/software: Code Composer Studio
Hi All,
Using psdk_rtos_auto_j7_06_02_00_21 patch and TI has released patch of Tidl and mmalib to us using CDDS.
We have used
TIDL patch : tidl_j7_01_01_01_01
MMA Library : mmalib_01_01_00_02
We are trying to run tensorflow model. Using the suggestions mentioned in the below thread.
https://e2e.ti.com/support/tools/ccs/f/81/t/906855
We have been able to validate our custom application (based on app_tidl_od) in pc emulation mode. The output is coming as expected.
Major changes are in the draw_box kernel as suggested by Mr. Shyam during the offline discussion.
However, while trying to run the same application on target, we are facing issues in graph verify. There is no error coming from the graph verify and is stuck. Please find the UART log.
root@j7-evm:/opt/vision_apps# ./vx_app_tidl_od.out --cfg app_dasnetod.cfg
APP: Init ... !!!
APP_LOG: Mapping 0xac000000 ...
APP_LOG: Mapped 0xac000000 -> 0xffff87ae0000 of size 262144 bytes
MEM: Init ION ... !!!
MEM: Initialized ION (fd=4) !!!
MEM: Init ION ... Done !!!
IPC: Init ... !!!
APP_LOG: Mapping 0xac040000 ...
APP_LOG: Mapped 0xac040000 -> 0xffff85b40000 of size 33161216 bytes
APP_LOG: Mapping 0x30e00000 ...
APP_LOG: Mapped 0x30e00000 -> 0xffff87fd0000 of size 3072 bytes
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
APP: Init ... Done !!!
0.009842 s: VX_ZONE_INIT:Enabled
0.009854 s: VX_ZONE_ERROR:Enabled
0.009859 s: VX_ZONE_WARNING:Enabled
0.010283 s: VX_ZONE_INIT:[tivxInit:75] Initialization Done !!!
0.012134 s: VX_ZONE_INIT:[tivxHostInit:44] Initialization Done for HOST !!!
Default param set!
Parsed user params!
Updated user params!
Scaler Init Done!
Computing checksum1234 at 0x0000FFFF83231740, size = 579328
TIDL Init Done!
Pre Proc Update Done!
Pre Proc Init Done!
Draw detections Update Done!
Draw Detections Init Done!
Img Mosaic Init Done!
Display Init Done!
App Init Done!
graph Init Done!
scalar create Done!
Preproc create Done!
TIDL Create Done!
Draw detection node call
Draw Detection Set node target
replicate
draw Create Done!
mosaic Create Done!
Display Create Done!
App Create Graph Done!
[ 129.370371] NET: Registered protocol family 15
[ 129.416257] Initializing XFRM netlink socket
[ 316.466768] EXT4-fs (mmcblk1p2): error count since last fsck: 312
[ 316.472853] EXT4-fs (mmcblk1p2): initial error at time 1587062352: ext4_validate_block_bitmap:387
[ 316.481715] EXT4-fs (mmcblk1p2): last error at time 1592191519: ext4_validate_block_bitmap:384: inode 662894: block 2622022
No error comes from the status = vxVerifyGraph(obj->graph); function call. Please help us on how to debug this issue