# Trying to use library for SPX-17115 (Serial Flash - 128Mbit) for same family chip Winbond(W25N01G)

**URL:** <https://community.sparkfun.com/t/trying-to-use-library-for-spx-17115-serial-flash-128mbit-for-same-family-chip-winbond-w25n01g/46969>\
**Category:** SPARK-X\
**Created:** [February 15, 2024, 8:19am UTC](https://community.sparkfun.com/t/trying-to-use-library-for-spx-17115-serial-flash-128mbit-for-same-family-chip-winbond-w25n01g/46969 "2024-02-15T08:19:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lifeiscool84](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lifeiscool84](https://community.sparkfun.com/u/lifeiscool84)\
**Post date:** [February 15, 2024, 8:19am UTC](https://community.sparkfun.com/t/trying-to-use-library-for-spx-17115-serial-flash-128mbit-for-same-family-chip-winbond-w25n01g/46969/1 "2024-02-15T08:19:09Z")

</div>

Hi, Paul (and Nathan).

Thank you for offering a library for the Serial Flash chip - 128mb W25Q128JV. I wonder if this same library would work for a bit of a larger capacity Flash (W25N01G).

I’ve used Teensy 4.1 board with same chip but I know their library won’t work for Artemis board.

[https://github.com/PaulStoffregen/Littl … /README.md](https://github.com/PaulStoffregen/LittleFS/blob/main/README.md)

Again thank you for your libraries!

---

<div class="post-metadata">

**Author:** ![PaulZC](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/paulzc/32/67_2.png) [@PaulZC](https://community.sparkfun.com/u/PaulZC)\
**Post date:** [February 15, 2024, 9:17am UTC](https://community.sparkfun.com/t/trying-to-use-library-for-spx-17115-serial-flash-128mbit-for-same-family-chip-winbond-w25n01g/46969/2 "2024-02-15T09:17:58Z")

</div>

Hi,

Looking at the INSTRUCTIONS in the datasheets for the two chips, I am seeing several differences. The way the chip is erased looks very different: Chip Erase on the Q128 vs. Block Erase on the N01. The read addressing looks different too: 24-bit on the Q128 vs. 16-bit column addressing on the N01 (when BUF=1).

I _think_ the library will not work correctly and would need to be modified for the N01…

I hope this helps,

Paul

---

<div class="post-metadata">

**Author:** ![lifeiscool84](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lifeiscool84](https://community.sparkfun.com/u/lifeiscool84)\
**Post date:** [February 21, 2024, 5:23am UTC](https://community.sparkfun.com/t/trying-to-use-library-for-spx-17115-serial-flash-128mbit-for-same-family-chip-winbond-w25n01g/46969/3 "2024-02-21T05:23:40Z")

</div>

Paul,

Thank you for your advice. I will check the code thoroughly. Perhaps Sparkfun can add flash drives with a higher capacity to its product list in the near future!
