This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM48L952: F021 Flash API usage examples

Part Number: RM48L952

Hi Ti,

Is there any demo application / example available on usage of F021 Flash library? Also, on F021 package, there are many different libraries available for example, F021 API CortexR4 LE Library, F021 API CortexR4 LE L2FMC Library and etc. which library to choose for RM48x?

Regards,

Monish P

  • Hi Monish,

    The example of bootloader uses the F021 flash library to erase and program the flash. bl_flash.c is nice example for you:

    2502.bl_flash.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    //*****************************************************************************
    //
    // bl_flash.c : Flash programming functions used by the boot loader.
    // Author : QJ Wang. ang@ti.com
    // Date : 9-19-2012
    //
    // Copyright (c) 2006-2011 Texas Instruments Incorporated. All rights reserved.
    // Software License Agreement
    //
    // Texas Instruments (TI) is supplying this software for use solely and
    // exclusively on TI's microcontroller products. The software is owned by
    // TI and/or its suppliers, and is protected under applicable copyright
    // laws. You may not combine this software with "viral" open-source
    // software in order to form a larger program.
    //
    // THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
    // NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
    // NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    // A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    6404.bl_flash.h4667.flash_defines.h

  • RM48Lx is ARM Cortex-R4F based little endian (LE) device, please use  F021 API CortexR4 LE Library for RM48x device.