When I use the startup code in MCAL_AM263x_08.06.02.01, an assertion always happen (Assertion failed, ((type & Mcal_CacheP_TYPE_ALL) == 0)) in file MpuP_armv7r.c.
When I use the strip code from the SDK the built image works fine.
Thanks,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When I use the startup code in MCAL_AM263x_08.06.02.01, an assertion always happen (Assertion failed, ((type & Mcal_CacheP_TYPE_ALL) == 0)) in file MpuP_armv7r.c.
When I use the strip code from the SDK the built image works fine.
Thanks,
The application works fine in the first run, after executing a restart the assert happens.
This is my auto-run options
The restart occurs successfully
But after resuming the issue happens
Best regards,
Hi,
I have simply compiled Gpt_app from the MCAL 08.06.02.01 release package with the below command PROFILE being debug.
`gmake -s gpt_app PROFILE=debug`
1. I ran the application once and waited it for to reach exit().
2. Then performed a CPU reset and observed that the code execution reaches "sysResetEntry" of the MCAL.
3. I then gave a free run of the CPU and I see application booted fine.
I couldn't reproduce the issue you reported. Please provide detailed steps on what app is used and how the application is run,
Thanks
When I execute a CPU reset it works fine but I think CPU reset does not clear the values in the registers.
So I make a system reset instead, like this, the values in the registers are cleared but the issue happens.
More question what is the difference between the reset and the restart option?
Hi,
CPU reset WILL CLEAR the CPU register but not the contents in the RAM.
System Reset WILL CLEAR BOTH RAM and CPU registers. Which means you have performed a clean sweep of memory and tried to execute the core. And it caused an abort which is expected because there is nothing present in the vector table to handle the data aborts and the reset entry is also 0x0.
Please only perform a CPU reset and try this.
Thanks