Search found 7 matches

by workman
27 Sep 2019, 16:53
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: About W77F32W Flash on NuMaker-M2351
Replies: 1
Views: 22949

Re: About W77F32W Flash on NuMaker-M2351

SecureFlashDemo sample code can only work on M2353. If you want to use M2351 + W77F32W, you should contact to winbond for supporting. you may find the contact window with below link: https://www.winbond.com/hq/about-winbond/news-and-events/news/news00452.html?__locale=e Or you can contact LMLING@nuv...
by workman
11 Jul 2019, 09:50
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: Enable ETM trace function of M2351
Replies: 0
Views: 5788

Enable ETM trace function of M2351

M2351 support ETM function to trace the firmware execution. To enable ETM, 1. Connect Arm ULINK PRO to Cortex Debug + ETM connector on NuMaker-PFM-M2351 board. 2. Enable ETM-Trace multi-function pin of M2351: SYS->GPE_MFPH = (SYS->GPE_MFPH &(~(TRACE_CLK_PE12_Msk | TRACE_DATA0_PE11_Msk | TRACE_DATA1_...
by workman
08 Mar 2019, 17:41
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: Questions regarding the Nuvoton PFM-M2351 development environment settings.
Replies: 3
Views: 16853

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

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 I...
by workman
23 Jan 2019, 14:12
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: EEPROM on M2351
Replies: 1
Views: 22670

Re: EEPROM on M2351

The M2351 has embedded flash memory (512KB) You can store your data in it. For example SYS_UnlockReg(); FMC_Open() FMC_ENABLE_AP_UPDATE(); FMC_Erase(0x10000); // Erase page FMC_Write(0x10000, 0x12345678); // Write data 0x12345678 to 0x10000 If you want to write data to W77F32 (Winbond Secure SPI fla...
by workman
02 Nov 2018, 09:16
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: Fail to set XOM to Non-secure region
Replies: 1
Views: 31814

Fail to set XOM to Non-secure region

In M2351, I set the non-secure boundary to be 0x40000.
The non-secure region should be 0x10040000 ~ 0x1007ffff.
Then, I set XOM to 0x10060000 and it failed.
Doesn't Non-secure region support XOM in M2351?
by workman
31 Oct 2018, 11:06
Forum: Development Platform
Topic: IO pin function setting
Replies: 1
Views: 39493

IO pin function setting

What difference between the following code? SYS->GPA_MFPH &= ~(SPI2_SS_PA11_Msk | SPI2_CLK_PA10_Msk | SPI2_MOSI_PA8_Msk | SPI2_MISO_PA9_Msk); SYS->GPA_MFPH |= SPI2_SS_PA11 | SPI2_CLK_PA10 | SPI2_MOSI_PA8 | SPI2_MISO_PA9; and SYS->GPA_MFPL = SYS_GPA_MFPH_PA11MFP_SPI2_SS | SYS_GPA_MFPH_PA8MFP_SPI2_MOS...