From 8803e9d45f88392262361729d9f65d04dad263ac Mon Sep 17 00:00:00 2001 From: Jonatan Antoni Date: Thu, 1 Aug 2019 11:58:29 +0200 Subject: [PATCH] Examples: Fixed M2351 MDK project. - partition_gen.h still contained an issue caused by a tool bug that has been fixed in the meanwhile. - Updated README to clarify that LEDs are used instead of UART output. --- Examples/M2351/MDK/Secure/partition_gen.h | 6 +++--- Examples/M2351/README.md | 4 ++-- Examples/M2351/Zone/M2351.azone | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Examples/M2351/MDK/Secure/partition_gen.h b/Examples/M2351/MDK/Secure/partition_gen.h index c7ec9ea..cb1db7e 100644 --- a/Examples/M2351/MDK/Secure/partition_gen.h +++ b/Examples/M2351/MDK/Secure/partition_gen.h @@ -3,7 +3,7 @@ * @brief CMSIS-Core(M) Initial Setup for Secure / Non-Secure Zones for * Nuvoton M2351 * @version V1.0.0 (FreeMarker generated) - * @date 05-Jul-2019 16:28:52 + * @date 1 Aug 2019 11:55:51 ******************************************************************************/ /* * Copyright (c) 2009-2019 Arm Limited. All rights reserved. @@ -144,7 +144,7 @@ /* // End Address <0x1F-0xFFFFFFFF> */ -#define SAU_INIT_END3 0x0 /* end address of SAU region 0 */ +#define SAU_INIT_END3 0x5FFFFFFF /* end address of SAU region 0 */ /* // Region is @@ -305,7 +305,7 @@ // Interrupt 30: EPWM1_P1_INT <0=> Secure state <1=> Non-Secure state // Interrupt 31: EPWM1_P2_INT <0=> Secure state <1=> Non-Secure state */ -#define NVIC_INIT_ITNS0_VAL 0x00040000 +#define NVIC_INIT_ITNS0_VAL 0x00041000 /* // diff --git a/Examples/M2351/README.md b/Examples/M2351/README.md index ac95bd3..981de92 100644 --- a/Examples/M2351/README.md +++ b/Examples/M2351/README.md @@ -55,5 +55,5 @@ following steps: Both projects, Secure and NonSecure needs to be compiled in order. 5. Assure Secure is the active project. 6. Connect the NuMaker-PFM-M2351 using a Micro-USB cable at ICEJ. -7. Assure that ST-Link Debugger is selected and the NULink Debugger is used. -8. Launch a debug session and watch the serial console output. +7. Assure that NULink Debugger is selected. +8. Launch a debug session and watch the LED's LEDG and LEDY are blinking. diff --git a/Examples/M2351/Zone/M2351.azone b/Examples/M2351/Zone/M2351.azone index da1c540..5de8a42 100644 --- a/Examples/M2351/Zone/M2351.azone +++ b/Examples/M2351/Zone/M2351.azone @@ -1,14 +1,14 @@ - + - - + - - - + + + +