RL78_G15_DataFlash
udpate @ 2024/06/14
- use RL78 G15 EVB to test data flash , refer to sample code and application note as below
-
add data flash by Smart Configurator , base on application note
-
modify setting , base on application note
if MCU is 8K flash
.text,.data,.sdata,.RLIB,.SLIB,.textf,.constf/000D8,.const/01D00,.dataR,.bss/FFB00,.sdataR,.sbss/FFE20
if MCU is 16K flash
.text,.data,.sdata,.RLIB,.SLIB,.textf,.constf/000D8,.const/03D00,.dataR,.bss/FFB00,.sdataR,.sbss/FFE20
if MCU is 32K flash
.text,.data,.sdata,.RLIB,.SLIB,.textf,.constf/000D8,.const/07D00,.dataR,.bss/FFB00,.sdataR,.sbss/FFE20
- set the common file header and c code from sample code ,
- use terminal digit 1 , to test data flash write at byte index 2
use terminal digit 2 , to read data flash with expect length
under CS+ debug mode , read memory address when stop debug





