Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/Questions/Q 1107
Next
In Process
pallavi sharma
  • 0
pallavi sharma
Asked: June 9, 20222022-06-09T13:08:24+05:30 2022-06-09T13:08:24+05:30In: Microcontroller

Steps to run a Bootloader from RAM

  • 0

For a project (using Renesas R7FA2L1AB2DFL), a bootloader which can update our firmware is needed. We have decided to copy this bootloader in RAM, and execute it from there since otherwise code flash memory cannot be programmed. We plan to access this bootloader by setting a certain random KEY in no init RAM (setting this is triggered by an external command) and then triggering a reset. Upon reset and before jumping into our application, we check for this KEY and whether it is set or not. If it is set, we can copy our bootloader from code flash to RAM, and proceed to flash the memory.

For me, it is still unclear what a good way would be to realize this process. There are a couple of points in particular

  • Where do I actually copy the bootloader from FLASH to RAM, can I do this best in the FSP system.c file?
  • How do I take preinitialized variables into account?
  • How do I manage that the linker takes into account that the bootloader is executed from SRAM (absolute vs relative addresses)?
bootloadercode flashflashfspR7FA2L1AB2DFLramrenesassystem.c
  • 1 1 Answer
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Switching from Community to RA Processor?
    • PSoC6 Port 6 GPIO shows a pulse at power up/ programming?
    • How RA2A1 24 Bit Single end input measure negative signal?
    • Renesas Flash Programming in RA2L1
    • How Activate Micro Inspector License?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. dev krishnan
      2022-07-13T16:19:28+05:30Added an answer on July 13, 2022 at 4:19 pm

      The FSP flash driver will run from RAM if code flash programming is enabled in the configuration of the driver, for the parts of the flash driver driver that actually do the programming or erasing.

      The FSP flash driver will run from RAM if code flash programming is enabled in the configuration of the driver, for the parts of the flash driver driver that actually do the programming or erasing.

      See less
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Facebook
    Continue with Google
    or use

    What is the capital of Egypt? ( Cairo )

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Facebook
    Continue with Google

    Sidebar

    Ask A Question

    Related Questions

    • Alex thomas

      Switching from Community to RA Processor?

      • 1 Answer
    • vikas Nagpal

      How RA2A1 24 Bit Single end input measure negative signal?

      • 1 Answer
    • Anonymous

      Renesas Flash Programming in RA2L1

      • 1 Answer
    • Anonymous

      ESP32-U4WDH and VDD_SDIO power

      • 1 Answer
    • Alex thomas

      CAN interrupt not happening on RA4M1?

      • 1 Answer

    Stats

    • Questions 374
    • Answers 360
    • Comments 0
    • Best Answers 8
    • Popular
    • Answers
    • Manoj

      Configuration using .dp vision in Infineon XDPL series IC .

      • 5 Answers
    • Linto

      Renesas RL78/G14 ADC interface code

      • 4 Answers
    • nidhi singh
      nidhi singh added an answer Hi Alex, The FSP and SSP releases are at a… January 25, 2023 at 11:19 am
    • Alex thomas
      Alex thomas added an answer Hello, By default, all GPIO pins start out at reset… January 21, 2023 at 10:31 am
    • nidhi singh
      nidhi singh added an answer Hi, out of my one experience in switch mode power… January 20, 2023 at 11:09 am
    • Alex thomas
      Alex thomas added an answer Hi, You can find the input voltage range in differential… January 18, 2023 at 11:50 am
    • Alex thomas
      Alex thomas added an answer Hi, Do all possible noise sources have to be enabled… January 17, 2023 at 10:26 am

    Users

    test24778098

    test24778098

    • 0 Questions
    • 0 Answers
    vinsfertilityivf

    vinsfertilityivf

    • 0 Questions
    • 0 Answers
    vinshealth

    vinshealth

    • 0 Questions
    • 0 Answers

    Explore

    • Tags
    • Category
      • Amplifiers
      • Passives & Protection
      • Clocks & Timing
      • Diodes & Rectifiers
      • FPGAs & PLDs
      • Interface ICs & Transceivers
      • LEDs & Optoelectronics
      • Memories
      • MEMS & Sensors
      • Microcontroller
      • Power Management
      • RF & Microwave
      • Security & Smart Card
      • Motor Drivers
      • Wireless Connectivity
    • Groups
    • Add group
    • Badges
    • Help

    Footer

    volt.tech

    Volt.Tech

    Find your spark

    About Us

    • About Us
    • Contact Us
    • Groups

    Legal Stuff

    • Privacy Policy
    • Faqs

    Follow

    © 2022 volt.tech. All Rights Reserved
    With Love by volt.tech.

    Go to mobile version

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.