Quantcast
Viewing all articles
Browse latest Browse all 17527

RTOS/AM5728: base on am5728, print periodically on ipu1

Part Number:AM5728

Tool/software: TI-RTOS

Hi,base on rtos and am5728,I want to use ipu1 to access dmtimer for printing periodically.After compile the project successfully, I ran the project, unfortunate,it was a exeption occur,which the reason seem like when calling the interface Timer_create ,what  should i do to solve the exception,and  the code snippest is below:

(Please visit the site to view this file)(Please visit the site to view this file)

after running my project,I check the status on ipu1 by the shell command:cat /sys/kernel/debug/remoteproc/remoteproc0/trace0,and the resulte is:

root@AM57xx-Tronlong:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
[0][ 0.000] 19 Resource entries at 0x3000
[0][ 0.000] [t=0x000ef279] ti.sysbios.family.arm.m3.Hwi: ERROR: line 1121: E_hardFault: FORCED
[0][ 0.000] ti.sysbios.family.arm.m3.Hwi: line 1121: E_hardFault: FORCED
[0][ 0.000] [t=0x001183ed] ti.sysbios.family.arm.m3.Hwi: ERROR: line 1198: E_busFault: PRECISERR: Immediate Bus Fault, exact addr known, address: 68034048
[0][ 0.000] ti.sysbios.family.arm.m3.Hwi: line 1198: E_busFault: PRECISERR: Immediate Bus Fault, exact addr known, address: 68034048
[0][ 0.000] Exception occurred in background thread at PC = 0x0001bad2.
[0][ 0.000] Core 0: Exception occurred in ThreadType_Main.
[0][ 0.000] Main name: main(), handle: 0x0.
[0][ 0.000] Main stack base: 0x8006e624.
[0][ 0.000] Main stack size: 0x1000.
[0][ 0.000] R0 = 0x68034000 R8 = 0x00000020
[0][ 0.000] R1 = 0x00000000 R9 = 0x00027984
[0][ 0.000] R2 = 0x00000002 R10 = 0x00000000
[0][ 0.000] R3 = 0x00000001 R11 = 0x8006f5a4
[0][ 0.000] R4 = 0x00000002 R12 = 0x8006f4d4
[0][ 0.000] R5 = 0x00000048 SP(R13) = 0x8006f470
[0][ 0.000] R6 = 0x8006f5ec LR(R14) = 0x00017f5d
[0][ 0.000] R7 = 0x00000000 PC(R15) = 0x0001bad2
[0][ 0.000] PSR = 0x61000200
[0][ 0.000] ICSR = 0x00400803
[0][ 0.000] MMFSR = 0x00
[0][ 0.000] BFSR = 0x82
[0][ 0.000] UFSR = 0x0000
[0][ 0.000] HFSR = 0x40000000
[0][ 0.000] DFSR = 0x00000000
[0][ 0.000] MMAR = 0x68034048
[0][ 0.000] BFAR = 0x68034048
[0][ 0.000] AFSR = 0x00000000
[0][ 0.000] Terminating execution...


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>