SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 206
Version 2.0
1
1
1
8
8
8
SERIAL-WIRE DEBUG (SWD)
18.1 OVERVIEW
SWD functions are integrated into the ARM Cortex-M0. The ARM Cortex-M0 is configured to support up to four
breakpoints and two watch points.
18.2 FEATURES
Supports ARM Serial Wire Debug (SWD) mode.
Direct debug access to all memories, registers, and peripherals.
No target resources are required for the debugging session.
Up to four breakpoints.
Up to two data watch points that can also be used as triggers.
18.3 PIN DESCRIPTION
Pin Name
Type
Description
GPIO Configuration
SWCLK
I
Serial Wire Clock pin in SWD mode.
SWDIO
I/O
Serial Wire Data Input/Output pin in SWD mode.
18.4 DEBUG NOTE
18.4.1 LIMITATIONS
Debug mode changes the way in which reduced power modes work internal to the ARM Cortex-M0 CPU, and this
ripples through the entire system. These differences mean that power measurements should not be made while
debugging, the results will be higher than during normal operation in an application.
During a debugging session, the SysTick Timer is automatically stopped whenever the CPU is stopped. Other
peripherals are not affected.
18.4.2 DEBUG RECOVERY
User code may disable SWD function in order to use P0.8 and P0.9 as GPIO, and may not debug by SWD function to
debug or download FW any more.
SONiX provide Boot loader to check the status of P2.2 (BOOT pin) during boot procedure. If P2.2 is Low during Boot
procedure, MCU will execute code in Boot loader instead of User code, so SWD function is not disabled.
Exit Boot loader, user code can still configure P2.2 as other functions such as GPIO.
Note: We strongly recommanded NOT using BOOT pin as output pin to drive the LED, otherwise, the
BOOT pin status may be low during boot procedure.
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...