Hi,
I'm having a problem with "Fetch packet exception" errors as below.
| A0=0x1 A1=0x0
| A2=0x8000b251 A3=0x3
| A4=0xe A5=0x8cd487d0
| A6=0x8cc56f4c A7=0x3f9921fb
| A8=0x0 A9=0x4356a1b1
| A10=0x0 A11=0x4000
| A12=0x8cd437e0 A13=0x8cc8dc20
| A14=0xf8 A15=0x8cd483e8
| A16=0x8cd437e0 A17=0x0
| A18=0x8cc81354 A19=0x20
| A20=0x8cd432a0 A21=0x0
| A22=0x8cd437e0 A23=0x800138ac
| A24=0x0 A25=0x0
| A26=0x8cd498b0 A27=0x0
| A28=0x8cc68c4c A29=0x1
| A30=0x4 A31=0x8cd4a2e0
| B0=0x1 B1=0x0
| B2=0x1 B3=0x8c82c9f0
| B4=0x0 B5=0x3ff00000
| B6=0x54442d18 B7=0x3f1921fb
| B8=0x0 B9=0x3fe00000
| B10=0x0 B11=0xbff00000
| B12=0x0 B13=0x3ff00000
| B14=0x8cd4f048 B15=0x80009e78
| B16=0x0 B17=0x40000000
| B18=0xe42bde38 B19=0x3fefe24f
| B20=0x28 B21=0x1083a06c
| B22=0xf B23=0x0
| B24=0xffffffff B25=0x40a99747
| B26=0x2434802d B27=0x0
| B28=0x0 B29=0x1
| B30=0x0 B31=0x2
| NTSR=0x1000f
| ITSR=0x0
| IRP=0x0
| SSR=0x0
| AMR=0x0
| RILC=0x0
| ILC=0x0
| Exception at 0x8cc03dc0
| EFR=0x2 NRP=0x8cc03dc0
| Internal exception: IERR=0x12
| Fetch packet exception
| Resource conflict exception
| ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x00000000, sp = 0x80009e78.
| xdc.runtime.Error.raise: terminating execution
| Done
The debug build runs fine, this happens only in release build. When I traced into the place where the exception was thrown, it was always a trampolined function as below. When I looked at the address of both $TRAM$S$$_Somefunction and Somefunction, the contents hadn't changed since the program load time. I checked/unchecked "L1P Cache" and "L2 Cache" check box in the memory browser, still I didn't see any difference.
$Tramp$S$$_SomeFunction:
8cc03dc0: 01174410 B.S1 SomeFunction (PC+571936 = 0x8cc8f7e0)
Is there any guidance to debug this kind of issue? Sorry about a very vague description, but this was a part of a large program and was difficult to single out this issue.
BTW, there are a lot of functions that were trampolined, but most of them didn't have any issue. Only a few function suffered from this exception.
The versions of the tools were as follows.
CCStudio 5.1
CGTools 7.3.1
MCSDK 02_00_05_17.
EVM: evm6678le_xds560v2
Thanks,