Easy Expansion of MCU Code Area! Introducing Example of Program Execution from Serial ROM Using QSPI XIP Mode
The program code size of IoT devices such as smart meters and home appliances tends to increase due to functionality enhancement. When MCU’s internal Flash memory faces a capacity shortage, adding external Flash memory can be a solution. Among various kinds of memory, developers choose to adopt QSPI serial Flash which can also reduce the number of MCU pins used.
However, it is necessary to copy the code stored in the QSPI serial Flash into the internal RAM for execution. In this way, loading time increases during system startup. XIP mode is the solution to overcome this challenge.
By using MCU and serial Flash that support this mode, the serial Flash memory mapping is seen as another memory region in the MCU memory map, and the CPU can directly access the code.
Renesas 32-bit RX671 MCU supports the XIP mode and meets the requirements for serial Flash connectivity. This time, we have released an Application Note “Example of Program Execution from Serial ROM Using QSPIX XIP Mode” as a reference so that you can easily evaluate and develop software for RX671 using XIP mode.
The following three sample programs are provided with this Application Note.
An application program (an application program including program code allocated to the serial ROM)
Writer program 1 (a program that copies a portion of the application program to the on-chip ROM for writer program 1 and then writes the copied data to the serial ROM)
Writer program 2 (a program that receives a portion of the application program from the host PC by serial communication and then writes the received data to the serial ROM)
An application program (1) includes the initial settings of the RX671, enabling QSPI XIP mode, and the program allocated to the serial Flash. Writer programs (2) and (3) are used to store programs in the serial Flash.
You can see the initial settings of the RX671 and how to execute the code in the serial Flash with (1), and how to store a program in the serial Flash with (2) and (3). By referring to this Application Note, you can easily and quickly implement QSPI XIP mode for RX671.
This Application Note references the RX671 evaluation kit Renesas Starter Kit+ for RX671. This evaluation board allows users to evaluate the full functionalities of the RX671, such as the touch button, microphone, SD slot, and QSPI serial Flash. We recommend you use this kit for function evaluation and PoC development.
The XIP mode function allows easy expansion of the code area. You can develop a large-scale and efficient system by storing the frequently read code in the internal Flash and storing the rest of the code in the serial Flash.
- +1 Like
- Add to Favorites
Recommend
- Renesas Launches 32-Bit RX671 MCUs Realizing High Performance and Power Efficiency with HMI Functions for Contactless Operation
- Develop the Touch Functions of Renesas RX671 32-bit MCU Quickly and Easily
- Renesas DSP Solution on Renesas Lab on the Cloud, Input Analog Signals Directly From A Signal Generator To The Rx231 Microcontroller Evaluation Board
- Touch Key, Voice Recognition and Cloud Connectivity With a Single 32-bit RX671 MCU
- Renesas‘ Semiconductor Manufacturing Factory (Naka Factory) Fire: Production Capacity Has Recovered to 88%
- Evolve Your HMI Effortlessly with Renesas RX Microcontrollers and Serial LCD
- Renesas Announces 10 New Winning Combinations Integrating Celeno and Renesas Products
- Renesas RX family has been very much successful in both the consumer and industrial application
This document is provided by Sekorm Platform for VIP exclusive service. The copyright is owned by Sekorm. Without authorization, any medias, websites or individual are not allowed to reprint. When authorizing the reprint, the link of www.sekorm.com must be indicated.