# External flash memory for mt7697

**URL:** <https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745>\
**Category:** Uncategorized\
**Created:** [July 20, 2018, 4:13pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745 "2018-07-20T16:13:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![leoniloris](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@leoniloris](https://mangoh.discourse.group/u/leoniloris)\
**Post date:** [July 20, 2018, 4:13pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/1 "2018-07-20T16:13:31Z")

</div>

I’m building a firmware for the mt7697 with BLE/Wifi.  
It looks like my `.bss` region wont fit inside my `SYSRAM`, which has 256 kb.  
How do I enable the external flash memory so I can use both stacks (bluetooth and wifi?)

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [July 20, 2018, 6:51pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/2 "2018-07-20T18:51:09Z")

</div>

You might want to ask on the [MediaTek forum](https://en.forum.labs.mediatek.com/)

---

<div class="post-metadata">

**Author:** ![leoniloris](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@leoniloris](https://mangoh.discourse.group/u/leoniloris)\
**Post date:** [July 20, 2018, 7:44pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/3 "2018-07-20T19:44:03Z")

</div>

Ok.  
But have you guys done something on having both wifi and bluetooth in mt7607?

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [July 21, 2018, 3:31pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/4 "2018-07-21T15:31:34Z")

</div>

Are you using mt7697 or mt7697d?

---

<div class="post-metadata">

**Author:** ![leoniloris](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@leoniloris](https://mangoh.discourse.group/u/leoniloris)\
**Post date:** [July 21, 2018, 3:45pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/5 "2018-07-21T15:45:16Z")

</div>

(sorry typo in previous message. `mt7607` -\> `mt7697`)  
Mangoh red schematics shows `MT7697`.

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [July 21, 2018, 3:58pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/6 "2018-07-21T15:58:19Z")

</div>

It is mt7697d in the bom, 7697 will not work for Bluetooth, not enough memory

---

<div class="post-metadata">

**Author:** ![leoniloris](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@leoniloris](https://mangoh.discourse.group/u/leoniloris)\
**Post date:** [July 21, 2018, 4:15pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/7 "2018-07-21T16:15:34Z")

</div>

If you’re talking about the bom found [here](https://mangoh.io/mangoh-red-resources-hardware), it says `MT7697`.

Still, if the `MT7697` does not have enough memory, I think that was the reason you guys put the external flash, [isn’t it](https://mangoh.discourse.group/t/flashing-mt7697-from-wp-uart/1370/2)? So, we just need to manage to use the flash.

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [July 21, 2018, 4:24pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/8 "2018-07-21T16:24:22Z")

</div>

Yes, we prove a quad spi memory on mangoh red for that

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [July 21, 2018, 4:26pm UTC](https://mangoh.discourse.group/t/external-flash-memory-for-mt7697/1745/9 "2018-07-21T16:26:12Z")

</div>

Correction on above, mt7697 is the correct part. I was thinking of mt7687.
