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/flash

volt.tech Latest Questions

Anonymous
  • 0
Anonymous
Asked: January 4, 2023In: Microcontroller

Renesas Flash Programming in RA2L1

  • 0

Hello, I’m presently working on a RA2L1 custom board and using the E2 emulator lite for debugging by e2 studio. I want to flash the device. still, I’m not finding any clear methodology documented for the same. It would be ...Read more

Hello,
I’m presently working on a RA2L1 custom board and using the E2 emulator lite for debugging by e2 studio. I want to flash the device. still, I’m not finding any clear methodology documented for the same. It would be helpful if the following points are clarified.

1. Do I’ve to use the Renesas flash programmer for flashing or it can be done through e2 studio?

2. Do I need to alter include anything in the code (tested fine in debug mode) specifically for flashing purpose?

3. Does the code need to be copied from flash to RAM in runtime for better performance? If yes, how do I insure that?
A step-wise guide application note on this topic would be of great help.

Regards,

Read less
flashmcuProgrammingra2l1renesasRenesas Microcontroller
  1. vikas Nagpal
    Added an answer on January 5, 2023 at 11:27 am

    Hello, Thanks for sharing your question with Volt Engineering Community! Please take a look at Code written for downloading and debugging with E2 will most likely just hang when run without a debugger attached. 1. RFP is an option, or any development environment such as e2 studio or 3rd party toolsRead more

    Hello,

    Thanks for sharing your question with Volt Engineering Community!
    Please take a look at Code written for downloading and debugging with E2 will most likely just hang when run without a debugger attached.

    1. RFP is an option, or any development environment such as e2 studio or 3rd party tools can program the flash of the device.
    2. No special accommodations in the application code are necessary to enable flashing the device. Most designs will incorporate a custom charge-loader that uses a particular interface (UART, CAN, etc.) with a proprietary comm protocol, but this isn’t needed if the serial programming mode of the device can be set and a tool used that supports factory programming protocol.
    3. Renesas devices are optimized to execute code from the flash. Some designs that use comparatively slow flash technology can profit from RAM execution but that isn’t the case for RA devices.

    Kind Regards,
    Vikas Nagpal

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Anonymous
  • 0
Anonymous
Asked: December 30, 2022In: Wireless Connectivity

ESP32-U4WDH and VDD_SDIO power

  • 0

Hi, I got a question that seems not easily answered in the HW documentation. ESP32-U4WDH which has an internal flash, does VDD_SDIO power needs to be connected at all? If so, shall it be connected to 100nF or VCC which is ...Read more

Hi,
I got a question that seems not easily answered in the HW documentation.

ESP32-U4WDH which has an internal flash, does VDD_SDIO power needs to be connected at all?
If so, shall it be connected to 100nF or VCC which is 3v3?

Thanks for your inputs

Read less
espesp32flashU4WDHuartusb
  1. vikas Nagpal
    Added an answer on January 6, 2023 at 9:50 am

    Hello, To run internal flash in ESP32-U4WDH You'd need to connect it to a 100nF capacitor. Thank & Regards

    Hello,

    To run internal flash in ESP32–U4WDH You’d need to connect it to a 100nF capacitor.

    Thank & Regards

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
ashishgawade
  • 0
ashishgawade
Asked: December 8, 2022In: Wireless Connectivity

How to use both UART and SPI FLASH boot?

  • 0

Hello, I need to use both UART and SPI interface, FX3’s SPI interface and UART interface are shared, now my SPI is connected to FLASH, I need to power on through SPI FLASH, so I can not use its UART ...Read more

Hello, I need to use both UART and SPI interface, FX3’s SPI interface and UART interface are shared, now my SPI is connected to FLASH, I need to power on through SPI FLASH, so I can not use its UART function, but FX3 has” 16- bit data bus UART SPI I2S” mode. In this mode, UART is mapped to GPIO46-49. Can I use the following settings to enable me to use both UART and SPI FLASH BOOT?

io_cfg.isDQ32Bit = CyFalse;

io_cfg.s0Mode = CY_U3P_SPORT_INACTIVE;
io_cfg.s1Mode = CY_U3P_SPORT_INACTIVE;
io_cfg.useUart = CyTrue;
io_cfg.useI2C = CyFalse;
io_cfg.useI2S = CyFalse;
io_cfg.useSpi = CyTure;
io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_DEFAULT;
/* No GPIOs are enabled. */
io_cfg.gpioSimpleEn[0] = 0;
io_cfg.gpioSimpleEn[1] = 0x08000000;
io_cfg.gpioComplexEn[0] = 0;
io_cfg.gpioComplexEn[1] = 0;

And, can I still use the virtual COM port function of the UART in this mode?

Read less
bootflashfx3gpio46spiuart
  1. vikas Nagpal
    Added an answer on December 10, 2022 at 10:27 am

    Hi, You can use the" 16- bit Data Bus UART SPI I2S" configuration to use both UART and SPI. Please refer to the available GPIOs for that mode in Table 7 of the FX3 datasheet. As mentioned in the table, you must choose the proper GPIO if you want to use some GPIOs. If you want to use I2S GPIOs you haRead more

    Hi,

    You can use the” 16- bit Data Bus UART SPI I2S” configuration to use both UART and SPI. Please refer to the available GPIOs for that mode in Table 7 of the FX3 datasheet. As mentioned in the table, you must choose the proper GPIO if you want to use some GPIOs. If you want to use I2S GPIOs you have to override using CyU3PDeviceGpioOverride.

    Yes, the virtual COM port will work if you use the below configuration.

    Thanks

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
nidhi singh
  • 0
nidhi singh
Asked: September 26, 2022In: Microcontroller

RA6T2 Internal Flash?

  • 0
RA6T2 Internal Flash?

Hi, I am curious about what kind of the internal flash of RA6T2 is? Is it NOR flash or NAND flash? According to the program and erase size, it seems to be NOR flash? still, what’s the physical interface of the flash? ...Read more

Hi,

I am curious about what kind of the internal flash of RA6T2 is? Is it NOR flash or NAND flash?
According to the program and erase size, it seems to be NOR flash?

still, what’s the physical interface of the flash? Does it use the SPI or other?
If it was NOR flash.Thanks

Read less
flashinternalnorra6t2renesasRenesas Microcontrollerspi
  1. vikas Nagpal
    Added an answer on October 1, 2022 at 11:23 am

    RA6T2 uses the Renesas proprietary Metal Oxide Nitride Oxide Semiconductor( MONOS) flash technology, it's neither NOR nor NAND. You can search the general web or the Renesas web pages and find information about this. The interface is a direct register grounded via the flash application command interRead more

    RA6T2 uses the Renesas proprietary Metal Oxide Nitride Oxide Semiconductor( MONOS) flash technology, it’s neither NOR nor NAND. You can search the general web or the Renesas web pages and find information about this.

    The interface is a direct register grounded via the flash application command interface( FACI). From the RA6T2 hardware U/ M
    The FCU( flash control unit) controls the programming and erasure of the flash memory. The FACI( flash application command interface) controls the FCU according to the specified FACI commands.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Alex thomas
  • 0
Alex thomas
Asked: September 1, 2022In: Power Management

ESP32-MINI-1-N4

  • 0

Hello, Can i’ve reply for below queries for the ESP32-MINI-1-N4? 1) Can we connect external NOR flash on VSPICS0, VSPICLK, VSPID, VSPIQ of ESP32-MINI-1-N4? 2) Can we use GPIO0 asI2C_SDA and GPIO4 asI2C_SCL in ESP32-MINI-1-N4? 3) What maximum size of NOR flash can be connected with ESP32-MINI-1-N4? 4) Can we configure any GPIos as UART1 RTS & ...Read more

Hello,

Can i’ve reply for below queries for the ESP32-MINI-1-N4?
1) Can we connect external NOR flash on VSPICS0, VSPICLK, VSPID, VSPIQ of ESP32-MINI-1-N4?
2) Can we use GPIO0 asI2C_SDA and GPIO4 asI2C_SCL in ESP32-MINI-1-N4?
3) What maximum size of NOR flash can be connected with ESP32-MINI-1-N4?
4) Can we configure any GPIos as UART1 RTS & CTS of ESP32-MINI-1-N4?

Thanks,

Read less
esp32esp32-mini-1-n4flashgpio0
  1. nidhi singh
    Added an answer on September 7, 2022 at 10:03 am

    I. Yes, you could use VSPI to connect a alternate flash, but just for storage, this flash couldn't share same function with the embedded one. 2. Yes, you could use them as I2C, but please add test point for IO0. 3. for storage, at least 16 MB, I've seen some cases, I'll check it. 4. Yes, but please Read more

    I. Yes, you could use VSPI to connect a alternate flash, but just for storage, this flash couldn’t share same function with the embedded one.
    2. Yes, you could use them as I2C, but please add test point for IO0.
    3. for storage, at least 16 MB, I’ve seen some cases, I’ll check it.
    4. Yes, but please be noted those only for inputs can only be RX.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
nidhi singh
  • 0
nidhi singh
Asked: August 30, 2022In: Microcontroller

External Flash for RENESAS RA4M1

  • 0

Hello, How we can add external flash for RENESAS RA4M1 Thanks

Hello,

How we can add external flash for RENESAS RA4M1

Thanks

Read less
externalflashmicrocontrollerra4m1renesasRenesas Microcontroller
  1. Sandeep kumar
    Added an answer on August 31, 2022 at 4:13 pm

    Hi , The RA4M1 does not accept external parallel buses.  In order to add external memory to this device, for instance, you would need to use the IIC or SPI interfaces. Thanks

    Hi ,

    The RA4M1 does not accept external parallel buses. 
    In order to add external memory to this device, for instance, you would need to use the IIC or SPI interfaces.
    Thanks
    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
vsharma
  • 0
vsharma
Asked: August 16, 2022In: Wireless Connectivity

How to Connect ESP32- D0WDR2 – V3 with External Flash and Emmc?

  • 0

Hi, ESP32- D0WDR2- V3 has a 2 MB bedded PSRAM but only 448KB internal flash. Is it possible to connect an external flash( for law and data) and an eMMC( storage only) and make all of three( PSRAM external flash ...Read more

Hi,
ESP32- D0WDR2- V3 has a 2 MB bedded PSRAM but only 448KB internal flash. Is it possible to connect an external flash( for law and data) and an eMMC( storage only) and make all of three( PSRAM external flash eMMC) work together?
When I read runner 18 of ESP32 datasheet, above Table 2, it states” Table 2 lists the pin- to- pin mapping between the chip and the bedded flash/ PSRAM. The chip pins listed then aren’t recommended for other operation.” This seems to indicate that the affiliated pins(SD_DATA0- 3,SD_CLK, GPIO16) are used by bedded PSRAM and can not be connected to external flash or emmc. Could anyone confirm if that’s the case? But without using those pins, an external flash won’t be suitable to memory counterplotted into cpu memory space. Am I right?
Thanks for your help.

Read less
emmcesp32flash
  1. Manoj
    Added an answer on August 17, 2022 at 10:10 am

    You could use those pins enthralled by bedded PSRAM to connect an external flash( for code and data), but you should use another free GPIO to connect an eMMC( for storage ).

    You could use those pins enthralled by bedded PSRAM to connect an external flash( for code and data), but you should use another free GPIO to connect an eMMC( for storage ).

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
pallavi sharma
  • 0
pallavi sharma
Asked: June 9, 2022In: 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 ...Read more

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)?
Read less
bootloadercode flashflashfspR7FA2L1AB2DFLramrenesassystem.c
  1. dev krishnan
    Added 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
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
vsharma
  • 1
vsharma
Asked: February 21, 2022In: Microcontroller

Flash start address and length with Renesas RA2L1 MCU

  • 1

How to configure RA2L1 Flash Start address and length.

How to configure RA2L1 Flash Start address and length.

Read less
e2studioflashfspra2l1
  1. Avs Mohan
    Added an answer on February 21, 2022 at 3:50 pm

    Hi, I have attached an example project on RA2L1 for your reference done on FSP2.3.0. Please update it to latest version if incase you use this example. You would have to edit the linker script, to change the start address in Code flash of the application, however the file memory_regions.ld is an autRead more

    Hi,

    I have attached an example project on RA2L1 for your reference done on FSP2.3.0. Please update it to latest version if incase you use this example.

    You would have to edit the linker script, to change the start address in Code flash of the application, however the file memory_regions.ld is an auto-generated file so any edits are overwritten. Make a copy of memory_regions.ld and give it a different name, e.g. memory_regions_application.ld.

     

    and change the reference from “memory_regions.ld” to the name of the copy of the file you made, at the top of fsp.ld :-

     

    /*

    Linker File for Renesas FSP

    */

     

    INCLUDE memory_regions_application.ld

     

    in the file memory_regions_application.ld change the start address and size of the code flash :-

     

    FLASH_START = 0x00008000;

    FLASH_LENGTH = 0x38000;

     

    and then in the debug configuration for the application, in the “Run Commands”  at the bottom of the Startup tab set the Program counter, Initial Stack pointer and VTOR register to the moved location :-

     

    set $pc = *0x00008004

    set $sp = *0x00008000

    set {int}0xE000ED08 = 0x00008000

    See less
    Attachment

    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 2 Answers
Answer

Sidebar

Ask A Question

Stats

  • Questions 388
  • Answers 374
  • 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
  • Julian White
    Julian White added an answer Hello, IrDA has hardly been used for a long time,… March 7, 2023 at 10:27 am
  • Julian White
    Julian White added an answer It's not required per se, but it's helpful. The issue… March 4, 2023 at 10:04 am
  • nidhi singh
    nidhi singh added an answer Hi Alex, The exchange mode for MCU boot uses the… March 2, 2023 at 10:37 am
  • Julian White
    Julian White added an answer Hi, Thank you for posting on the Volt.Tech community. Can… February 28, 2023 at 10:04 am
  • nidhi singh
    nidhi singh added an answer Hello, The labeling looks ok F130 = LD2981ABM30TR F133 =… February 23, 2023 at 10:27 am

Users

test27782358

test27782358

  • 0 Questions
  • 0 Answers
test17284313

test17284313

  • 0 Questions
  • 0 Answers
test1856815

test1856815

  • 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.