SinoWealth SH30F9
Jump to navigation
Jump to search
The SinoWealth SH30F9 are high-performance 32-bit microcontroller based on the ARM Cortex-M0+ core.
Supported devices
Refer to the supported device list for a full list of all supported SH30F9 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 | ||||
| Main Flash | 0x00000000 | Default | Up to 256KB | ||
| EEPROM | 0x0FFC0000 | Default | Up to 4KB | ||
| Protect Block | 0x0FFF8000 | Default | Up to 1KB | ||
| Customer Block | 0x0FFFA000 | Default | Up to 1KB | ||
| OTP Block | 0x0FFFE000 | Default | Up to 1KB | ||
Protection Area
The Protection area can only be erased by performing a mass erase. It cannot be erased individually.
Therefore, if the Protection area needs to be programmed, a mass erase must be performed beforehand.
J-Flash
Production Programming
- Go to
Options -> Project Settings -> Production -> Actions performed by 'Production Programming'. - Enable the
Erasecheckbox. - Select
chipfrom the drop-down menu. - Trigger Production Programming using
F7.
Manual Programming
- Trigger a chip erase using
F4. - Execute
Program & VerifyusingF6.
J-Link Commander
- Before programming, execute a chip erase using the
erasecommand. - Without explicitly executing
erasebeforehand, theloadfilecommand only performs the required sector erase operations. This is not sufficient to erase the Protection area.
Watchdog handling
- The device does have 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 supported / desired