SLAAEF9 November 2023 MSPM0C1104 , MSPM0G3507 , MSPM0L1306
The serial programming mode of RL78 allows for firmware updates by using the RL78 microcontroller and an external device (a microcontroller or ASIC) connected to a UART. Processing to write data to or delete data from the RL78 microcontroller by using an external device is performed on-board. Off-board writing is not possible. Table 3-13 shows a comparison of the programming mode between MSPM0 and RL78 device families.
Programming Features | RL78 | MSPM0 |
---|---|---|
Type | Serial programming using external device | Bootstrap loader |
Security | Memory security and access restriction options (1) | Secure boot options: CRC protections |
Customizable | No | Yes, configurable invoke pin and plug-in feature |
Invoke methods | TOOL0 pin high after reset release | 1 pin high at BOOTRST, SW entry |
Command | Erase, Write, Getting information, Security, and so forth. (1) | Connection, Unlock, Erase, Write, Memory read back, Factory Reset, Get info, and so forth. |
Password protection | No | Yes |
Interfaces supported | Dedicated UART | UART, I2C, SPI (Custom plug-in needed), Can (Plug-in planned) |
In addition, RL78 devices supports a self-programming mode that can be used to rewrite the Flash memory via a user program. Because this mode allows a user application to rewrite the flash memory by using the RL78 microcontroller self-programming library.