Cmsemicon BAT32G13x
Jump to navigation
Jump to search
The Cmsemicon BAT32G13x series (BAT32 family) are 32-bit general-purpose microcontrollers based on the Arm® Cortex®-M0 processor.
Supported devices
Refer to the supported device list for a full list of all supported BAT32G13x family devices, their corresponding names and connection diagrams.
Target interfaces
| Interface | J-Link support | Flasher support |
|---|---|---|
| SWD |
Flash banks
| Flash bank | Base address | J-Link support | Flasher support | Loader | |
|---|---|---|---|---|---|
| Name | Bank size | ||||
| Internal flash | 0x00000000 | Default | Up to 64 KB | ||
| Data flash | 0x00500000 | Default | 1.5KB | ||
Option Bytes
Within this flash area (offset: 0x0C) and data flash (offset: 0x4)
Please refer to the manual for detailed description
| Offset | Register |
|---|---|
| 0xc0 | WDT Control BYTE |
| 0xc1 | LVD Control BYTE (C1H) |
| 0xc2 | HOCO Control BYTE (FRQSEL) |
| 0xc3 | Flash Protect Control BYTE |
| 0xc4 | Boot Area Control BYTE |
| 0xc5 | QSPI flash protect option BYTE |
| 0xc6 | QSPI flash protect option BYTE0 |
| 0xc7 | QSPI flash protect option BYTE1 |
RAM
In order to prevent errors when reading first time, the J-Link software intialises the first 4KB of RAM
starting at 0x20000000.
Due to this attaching to a running system is not possible.
Watchdog handling
- The device has a watchdog.
- The watchdog is fed during flash programming.
Device specific handling
Reset
- The device uses normal Cortex-M reset, no special handling necessary, like described here.
Attach
Attach is a debugging feature which exclusively applies to J-Link and J-Trace and does not apply to Flasher.
- Attach is not supported by default because the J-Link initializes certain RAM regions by default.