Overview
This page is for know issues and possible workarounds for RA MCU software, tools, and boards.
RA Known Issues and Workarounds
Here are some of the known RA/FSP issues and possible workarounds.
Issue 1 MCUboot application project build error in IAR Workbench
MCUboot is a secure bootloader for RA MCUs which includes a flash layout to enables the software update. The Flash layout determines the flash size for the bootloader area and the primary/secondary image slot area.
A typical MCUboot application consists of MCUboot project, and a primary Application and secondary image for the update. When MCUboot project is created, a Flash layout .bld file is generated by FSP Code generator based on the MCUboot stack configuration as below. The generated .bld file is added in the debug\exe folder of the project.
Image Added
In e2Studio IDE, a tooling is included in which an application project can pick up the bootloader project flash layout settings from .bld file. However, for IAR workbench manual work is needed to pick up the bootloader project flash layout settings. This requires modifying the memory mapping file “memory_regions.icf” file for the application project manually. However, when the code is build, e FSP code generator is invoked which overwrites the “memory_regions.icf file. Hence, it is must to change the file property to read only after modification to avoid over writing the file when code is regenerated.
Here is an example of the .bld file from RA6M3 MCUboot project and then corresponding modification in memory_regions.icf file which includes adding the Flash image start and end location.
Image Added
Please note that when memory_regions.icf file is made read only and project is build in IAR workbench, there is a "Usage Error" error message pops up as “Error generating project content” as below. This is mainly because RA Smart Configurator (RASC) can't overwrite “memory_regions.icf” file and is not assciated with any issue with the application project. In order to resolve this error, it is required to close the "Usage Error" window which will then continue the remaining build operation.
Image Added