w25qxx | w25qxx SPI FLASH driver for stm32 HAL

 by   nimaltd C Version: Current License: GPL-3.0

kandi X-RAY | w25qxx Summary

kandi X-RAY | w25qxx Summary

w25qxx is a C library typically used in Embedded System applications. w25qxx has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Enable SPI and a Gpio as output(CS pin).Connect WP and HOLD to VCC. Select software CS pin. After init, you can watch w25qxx struct.(Chip ID,page size,sector size and ...). In Read/Write Function, you can put 0 to NumByteToRead/NumByteToWrite parameter to maximum. Dont forget to erase page/sector/block before write.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              w25qxx has a low active ecosystem.
              It has 433 star(s) with 151 fork(s). There are 21 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 18 open issues and 18 have been closed. On average issues are closed in 68 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of w25qxx is current.

            kandi-Quality Quality

              w25qxx has 0 bugs and 0 code smells.

            kandi-Security Security

              w25qxx has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              w25qxx code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              w25qxx is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              w25qxx releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of w25qxx
            Get all kandi verified functions for this library.

            w25qxx Key Features

            No Key Features are available at this moment for w25qxx.

            w25qxx Examples and Code Snippets

            No Code Snippets are available at this moment for w25qxx.

            Community Discussions

            QUESTION

            FatFS - Cannot format drive, FR_MKFS_ABORTED
            Asked 2021-Feb-23 at 21:17

            I am new to embedded development and have been tasked with implementing a file system on SPI flash memory. I am using a w25qxx chip and an STM32F4xx on STM32CubeIDE. I have successfully created the basic i/o for the w25 over SPI, being able to write and read sectors at a time.

            In my user_diskio.c I have implemented all of the needed i/o methods and have verified that they are properly linked and being called.

            in my main.cpp I go to format the drive using f_mkfs(), then get the free space, and finally open and close a file. However, f_mkfs() keeps returning FR_MKFS_ABORTED. (FF_MAX_SS is set to 16384)

            ...

            ANSWER

            Answered 2021-Feb-23 at 21:17

            QUESTION

            Why does USB CDC hang while receiving data?
            Asked 2021-Feb-11 at 10:23

            Good afternoon, I am using stm32 Blue Pill on USB (CDC) com port, "IAR" development environment. I have connected a library 1, 2 for stm32 to work with W25Qxx SPI flash drives ...

            I ran the tests in the main.c file as follows: Write byte, read byte, write page, read page, sector write, sector read, block write, block read. All checks were successful, the flash drive is working and there are no problems with the library.

            The problem is as follows, when I connect via app or terminal to port and try to send data in "HEX" format 1E 01 0A 02 00 00 09 C4 03, and then write them into memory by the microcontroller (W25Qxx) then USB CDC freezes (crashes) when receiving data packets on stm32 and when reconnecting a message "USB device not recognized" appears on the computer.

            3.3v power did not turn off!

            In order for you to check this, I will give an example:

            The project was created via STM32CubeMX.

            Main.c

            ...

            ANSWER

            Answered 2021-Feb-11 at 10:23

            As far as I remember the function `CDC_Receive_FS()´ is a call back from the USB Interrupt. So writing to the memory directly from the IRQ is not good since it will block other interrupts.

            A better solution would be to copy the receive buffer to a local structure and and set a flag. In you main loop you could monitor the flag and start the write.

            Source https://stackoverflow.com/questions/66149764

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install w25qxx

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/nimaltd/w25qxx.git

          • CLI

            gh repo clone nimaltd/w25qxx

          • sshUrl

            git@github.com:nimaltd/w25qxx.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link