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 1546
Next
In Process
vikas Nagpal
  • 0
vikas Nagpal
Asked: July 28, 20222022-07-28T10:48:21+05:30 2022-07-28T10:48:21+05:30In: Wireless Connectivity

SPI Flash Functions and Unaligned access

  • 0

Question 1:

While using the Flash functions in flash_ops.c. It seems that the flash erase function

esp_err_t IRAM_ATTR spi_flash_erase_range(uint32_t start_addr, uint32_t size)

is limited to erasing 32768 bytes at a time – is this True?

The erase function does not return any error – however I have a function that I am using to test the SPI flash by writing and reading back data. It only works if I erase smaller chunks at a time.

Question 2:
Do these functions support unaligned access yet?

flash functionspiunaligned access
  • 1 1 Answer
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • ESP32-S3 - Use of special IOs?
    • How to Overcome Loss of 3.3V Load Regulation?
    • Battery Powered Issue In MCP130-315HI/TO?
    • Enter download (bootloader) mode from the software on ESP32- C3?
    • ESP32 LoRa SX1276 5V VIN pin?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. pallavi sharma
      2022-07-29T12:18:44+05:30Added an answer on July 29, 2022 at 12:18 pm

      The spi_flash_erase_range() function should erase any size, as long as it's offset/size are a multiple of 4096 bytes and the region doesn't overflow the configured flash size. If the erase covers any 32KB aligned blocks, these are erased using the "block erase" function as this is faster than erasinRead more

      The spi_flash_erase_range() function should erase any size, as long as it’s offset/size are a multiple of 4096 bytes and the region doesn’t overflow the configured flash size.

      If the erase covers any 32KB aligned blocks, these are erased using the “block erase” function as this is faster than erasing 8x 4KB sectors individually.

      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

      R_SPI_Write Read is non-blocking?

      • 1 Answer
    • ashishgawade

      How to use both UART and SPI FLASH boot?

      • 1 Answer
    • nidhi singh

      RA6T2 Internal Flash?

      • 1 Answer
    • nidhi singh

      RA4M1, SPI with DMA?

      • 1 Answer
    • Techworld

      Why RA4W1 - SPI Interbyte Delay

      • 1 Answer

    Stats

    • Questions 418
    • Answers 405
    • Comments 0
    • Best Answers 9
    • 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 Alex, By default, the perpetration of the drivers in… June 7, 2023 at 9:52 am
    • ashishgawade
      ashishgawade added an answer Hi, For enabling the automatic password sequencing you can write… June 2, 2023 at 11:23 am
    • ashishgawade
      ashishgawade added an answer Hello, C19 (parallel to Riseth resistor) marked as NC in… May 31, 2023 at 11:41 am
    • Alex thomas
      Alex thomas added an answer It will not. Note that the 3.3 V LDO doesn't"… May 29, 2023 at 10:15 am
    • nidhi singh
      nidhi singh added an answer Hello, Thanks for reaching out to Volt Tech Engineering Community.… May 26, 2023 at 10:30 am

    Users

    smartzip

    smartzip

    • 0 Questions
    • 0 Answers
    test10670802

    test10670802

    • 0 Questions
    • 0 Answers
    cocobellacb

    cocobellacb

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