Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/AM5728: L3 errors in SDK example

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

Champs,

I've been helping customer chase elusive L3 errors and am currently able to see an issue directly on examples we provide. I am not sure this is the same issue the customer experiences but I need to get to the bottom of it. In a nutshell I am loading rtos_template_app_am572x_a15 project into CCS, build and run with no issues. However, there are few oddities about it:

1. When I first connect to A15 (prior to loading the .out) I can see L3 error registers in the Registers view of the CCS with no issues (e.g. L3_TARG_STDERRLOG_CUSTOMINFO_OPCODE)

2. After I load the firmware CCS shows "Error: unable to read" for these registers

3. The firmware appears to be running fine but when I pause it CCS still cannot read the L3 registers

4. In order to understand better what is going on I have installed HW ISR as follows:

var hwi4Params = new Hwi.Params();
hwi4Params.instance.name = "L3_DbgErr";
hwi4Params.priority = 41;
hwi4Params.eventId = -1;
hwi4Params.enableInt = true;
Program.global.PdInt = Hwi.create(41, "&INT_L3_DbgErr", hwi4Params);

and put a breakpoint in the INT_L3_DbgErr() function which only calls Hwi_clearInterrupt(41).

the breakpoint gets hit even before the task gets a chance to run. Thus AFAIU, there are real L3 Errors there but they do not cause issues with this particular example.

5. Last but not least, I tried another example from the PDK: GPIO LED blink one. With this example I did NOT observe any issues with L3, CCS always reads L3 registers with no issues and I do not see errors there.

Any insights will be greatly appreciated.

Thanks

Michael


Viewing all articles
Browse latest Browse all 262198

Trending Articles