SinoWealth SH30F9

From SEGGER Knowledge Base
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 YES.png YES.png

Flash banks

Flash bank Base address J-Link support Flasher support Loader
Name Bank size
Main Flash 0x00000000 YES.png YES.png Default Up to 256KB
EEPROM 0x0FFC0000 YES.png YES.png Default Up to 4KB
Protect Block 0x0FFF8000 YES.png YES.png Default Up to 1KB
Customer Block 0x0FFFA000 YES.png YES.png Default Up to 1KB
OTP Block 0x0FFFE000 YES.png YES.png 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

  1. Go to Options -> Project Settings -> Production -> Actions performed by 'Production Programming'.
  2. Enable the Erase checkbox.
  3. Select chip from the drop-down menu.
  4. Trigger Production Programming using F7.

Manual Programming

  1. Trigger a chip erase using F4.
  2. Execute Program & Verify using F6.

J-Link Commander

  • Before programming, execute a chip erase using the erase command.
  • Without explicitly executing erase beforehand, the loadfile command 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

Evaluation boards

Example application