Skip to main content
HirenThumar2702
Associate III
June 1, 2023
Solved

Required Tx_SecureLEDToggle_TrustZone example for B-U585I-IOT02A

Hello Support Team,

Have a great dat!!!.

I Have B-U585I-IOT02A development kit for our project purpose.

we have created the project as per the below configuring 

- Enable trust zone 

- Enabled TreadX in non-secure region 

- Created API Secure side Toggle LED and called through NSC region

Also, configure chip through cube programmer for secure region bank 1 and bank2

but we are facing hard faults when we call the NSC region api.

Can you supply a similar example for B-U585I-IOT02A based on the screenshot I took of the same example that is available for different series? 

Also, provide a step of chip configuration through the cube programmer 

Thanks
_legacyfs_online_stmicro_images_0693W00000blIzYQAU.png

Hiren R. Thumar

This topic has been closed for replies.
ChintaN1
ChintaN1Best answer
Associate III
June 2, 2023

As per observation of generated ST code has an issue of allocation of the stack for task created in the non-Secure region.

You can take an attached code reference for your further development.

Thanks,

Chintan Patel

2 replies

ChintaN1
ChintaN1Best answer
Associate III
June 2, 2023

As per observation of generated ST code has an issue of allocation of the stack for task created in the non-Secure region.

You can take an attached code reference for your further development.

Thanks,

Chintan Patel

HirenThumar2702
Associate III
June 5, 2023

Hi Chintan

Thanks for the quick response and solved this problem.