Page 1 of 1

Questions regarding the Nuvoton PFM-M2351 development environment settings.

Posted: 06 Mar 2019, 14:29
by sangsub
I have now purchased the Nuvoton PFM-M2351 and want to learn Trustzone on Cortex M.
I saw a video of trustzone programming uploaded to youtube by Novoton.

I first inquire about setting up the development environment.

Three things seem to be needed for development.
1. NuMicro Cortex-M2351 series
2. Keil MDK Plus v5.24
3. Nuvoton Nu-Link Debugger

I know that Nuvoton provides the keil MDK Nuvoton edition.

http://www2.keil.com/nuvoton
It seems to be distributed via the link above.
Can I install it after clicking the Download button on the above page?
If not, should I get the MDK - Microcontroller Development Kit?
And I have not used Keil, so I do not know, but it looks like the compiler is included in Keil. Did I understand correctly?

And what is the purpose of the Nu-Link Debugger?
I thought I used it only for debugging purposes, but it seems to be used for Image Flashing as well.
I wonder if Nu-Link Debugger is essential for development.

Re: Questions regarding the Nuvoton PFM-M2351 development environment settings.

Posted: 08 Mar 2019, 17:41
by workman
You can just click download to download Keil MDK with fill in some information to Arm.
And the compiler is included with Keil MDK.
NuLink Debugger is an ICE tool for you to download firmware, debug firmware (trace, set break point, step ... code) with Keil MDK IDE.
NuLink also could be worked with ICP Programming tool to download firmware to M2351.
Therefore, yes, NuLink is necessary for you to develop your firmware with M2351. And NuLink debugger is already in Nuvoton PFM-M2351 board.

Re: Questions regarding the Nuvoton PFM-M2351 development environment settings.

Posted: 11 Mar 2019, 16:46
by sangsub
Dear workman,

Thank you for your response.

https://direct.nuvoton.com/en/nu-link-pro

I thought I had to buy the NuLink Debugger (link above) separately.
However, since the NuLink Debugger is included in the Nuvoton PFM-M2351 board, I understand that I do not need to purchase the NuLink Debugger separately.
Did I understand correctly?

I would like to try first, Image flashing and Log checking, but I do not know what to do.
I would be grateful if you could give me a guide or youtube video.

BR,

Re: Questions regarding the Nuvoton PFM-M2351 development environment settings.

Posted: 12 Mar 2019, 09:35
by workman
Hi,

You are correct. You don't need to buy another Nu-link-pro.

You may refer to the quick start guide at BSP first.
https://github.com/OpenNuvoton/M2351BSP ... 0Guide.pdf

or view the video:
https://m2351.nuvoton.com/portfolio-item/quick-start/