cancel
Showing results for 
Search instead for 
Did you mean: 

Required Tx_SecureLEDToggle_TrustZone example for B-U585I-IOT02A

HirenThumar2702
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
ChintaN1
Associate III

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

View solution in original post

2 REPLIES 2
ChintaN1
Associate III

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

Hi Chintan

Thanks for the quick response and solved this problem.