Skip to content
jinlong80 edited this page Sep 14, 2015 · 5 revisions

Welcome to the renesas-bootloader-ccrl wiki!

This example project is to demostrate firmware upgrade feature to support on Renesas CS+, CC-RL compiler. Till today (15th September 2015), Renesas yet to have a bootloader full example code to support CC-RL compiler. So, I referring from Renesas document guideline and create this working example code for your reference.
You may find two projects from the repository:

  1. sensor_tag_bl: Is a bootlodaer project allowed to perform firmware upgrade through PC COM (Hyperterminal), you might need to load the binary file (.bin, which is generated from sensor_tag_app project) for firmware upgrade.
  2. sensor_tag_app: Is an application project, implement your feature list code in this project.

IDE Software:

CS+ for CC V3.01.00
CC-RL V1.01.00

Hardware setup:

MCU Part Number: RL78 seires, R5F100BEANA
Flash: 64KB
RAM: 4KB
Pin count: 32pins
Internal clock: 8MHz
PC COM: UART1 -> P01/RxD1, P00/TxD1
Setting-> 115200bps, 8 data bit, 1 stop bit, flow control none.
Button: P50/INTP1

Step to access Bootloader:

Press the button and power up the target board. If target board power up and not detect button trigger at the first place, then will direct goto flash area (application code).

Memory Mapping:

Memory Map

Reference Documents:

Boot Loader through SCI
Flash Self-Programming Library Type01 Ver.2.21 for the CC-RL compiler
How to Divide Boot and Flash Areas(CC-RL)
Self RAM list of Flash Self-Programming Library for RL78 Family