cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with Code Generation in CubeMX for STM32N657X0H3Q (Non-Secure Mode).

saikumar
Senior

Hello,

I am new to the STM32N657x0H3Q MCU and trying to generate code from latest CubeMX with the following peripherals enabled:

UART
Ethernet
DCMI
USB
Non-secure region only
However, after generating the code and compiling it in Keli, I am encountering multiple errors. Additionally, CubeMX shows a warning:
"  - Generating AppNS project without AppS, compilation errors maybe generated."

I am trying to understand why this issue occurs.

Is there a strict limitation in this MCU series that requires defining a secure region?
If not, how can I properly generate code with only a non-secure region and avoid these errors?
Also, I am planning to buy the STM32N6570-DK board for my project.

thanks.....

 

3 REPLIES 3
saikumar
Senior

hello,

Mr . @.

One More Problem I Noticed   that.....

  • I am enabling linked list for my USB streaming, but I noticed that the linked list initialization is not generated in the non-secure domain,  and files also be not generated
  • If I enable the secure domain, the linked list part is generated inside the secure domain.
    And DCMI files are generated but , initialization part is not generated in both domains(secure and non_secure).
  •  i have tried latest version of CubeMX and CubeIde. same problem is persist.
  •  Why is this happening, and how can I force the linked list initialization to be generated in the non-secure domain?

 

 

Hello @saikumar ,

 

I confirm the issue related to the DCMI peripheral.

It has been reported to STM32CubeMX development team.

Internal ticket number:  204762 (This is an internal tracking number and is not accessible or usable by customer).

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

hello,

Mr . @.

 

Thank you for confirming the issue and reporting it to the development team.

Additionally, I would like to request clarification on why the LINKED_LIST files are not generated in the NON_SECURE domain. Could you please provide any insights or reasons for this behavior?