UART Boolloader for RX21A

Hello All

I want to update my RX21A firmware through UART so anyone having any doc or any sample code. 

I am using WiFi module with RX21A through UART and through WI-FI I want to update RX21A firmware. 

 

Thanks

  • Raja,

    Let me see if I understand your question correctly.
    Do you want to update the firmware on your RX21A through the wifi module that you have connected via UART?

    Mike Clements
    RebesasRulz Moderator
  • In reply to Mike Clements:

    Yes ..right
  • In reply to Raja:

    The boot loader is not able to initialize a WiFi module.
    There is no software that will send boot loader commands via WiFi.
  • In reply to Raja:

    Raja,

    Has your question been answered?

    Mike Clements
    RenesasRulz Moderator
  • In reply to FrankL:

    So what is open to upgrading the firmware with debugger ???
  • In reply to Raja:

    Raja,

    Firmware updates can be done via the J-link connector or UART.
    Please take a look at the Renesas Flash Programming tool:
    www.renesas.com/.../D4001194.html

    Mike Clements
    RenesasRulz Moderator

  • In reply to Raja:

    Raja,

    Have you found a method of updating your bootloader that works for you?

    Mike Clements
    RenesasRulz Moderator
  • In reply to Mike Clements:

    NO Mike,
    Let me reframe my question - in details

    I am using RX21A MCU and WiFi(ESP32) connected with UART.
    SO I want to upgrade my RX21A firmware

    STEP1: Wi-Fi module GET their firmware file from Server and Store in external flash
     STEP2: Validate image using SHA256 or CRC
    STEP3: Send Command to RX21A to JUmp to Boot Loader - RX21A jump to the boot loader

    SO I want some ready boot loader code - so based on bootloader instructions I will flow in wi-Fi module

    Hope you got my point
  • In reply to Raja:

    In Renesas devices the boot loader is a pre-programmed software configured to receive data via UART or USB or ... and program this software to flash.
    This boot loader cannot be used to program your downloaded file.
    You have to use flash programming routines in your software to program the file to the correct location.
    You can use the flash programming routines from a sample code like this:
    www.renesas.com/.../D3014956.html
  • In reply to FrankL:

    Thanks, FrankL

    Could you please help me understand your point

    - I don't want, Bootloader read data from Ext flash and write into internal

    -I want, When Wi-fi module send Command to RX21a to jump to the boot loader, then RX21A  Jump to Bootloader and waiting for firmware image which will be sent by Wi-Fi module  over UART, Only Wi-Fi module is responsible to read image files from ext flash and send to RX21A packet by packet
  • In reply to Raja:

    What do you mean by boot loader?
    If this is the boot loader pre-programmed in RX21A no way.
    Your own software has to include flash programming routines. These can then be started by your WiFi module.
  • In reply to FrankL:

    yes Boot Loader means one pic of code to read data from UART and write to the correct location of Flash

    this type of sample code is available ???