How LP55S69 uses printf

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How LP55S69 uses printf

912件の閲覧回数
240817776
Contributor I

 hi,

   The trust zone was opened with LPC55S69 and developed using the official IDE MCUXpresso IDE.

How to set it so that the printf can be called in both safe and non-safe areas, without PRINTF.

  thanks。

ラベル(1)
0 件の賞賛
返信
1 返信

838件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hello,

The PRINTF macro is declared for the printf function. I would recommend to take a look at the trustzone example helloworld which is an example that has the non-secure part and the secure part. 

In the secure part in order to print in the serial console it uses the PRINTF. To call the same function from the non-secure part it calls the NSE_PRINTF.

This function is defined in the veneer table which creates a non secure entry to use the printf function.

As shown below:

pastedImage_1.png

Best Regards,

Sabina

0 件の賞賛
返信