# Particle P1 - Questions about it's 1 Mb Extra Memory

**URL:** <https://community.particle.io/t/particle-p1-questions-about-its-1-mb-extra-memory/17620>\
**Category:** Hardware\
**Created:** [November 19, 2015, 5:53pm UTC](https://community.particle.io/t/particle-p1-questions-about-its-1-mb-extra-memory/17620 "2015-11-19T17:53:47Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![zachary](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zachary/32/20717_2.png) [@zachary](https://community.particle.io/u/zachary)\
**Post date:** [November 23, 2015, 8:56pm UTC](https://community.particle.io/t/particle-p1-questions-about-its-1-mb-extra-memory/17620/7 "2015-11-23T20:56:15Z")

</div>

Yep — you can absolutely check out what we do for, e.g., OTA transfers in the firmware code and try to do something similar. You can search the firmware for things like “chunk” and “FileTransfer” and for example look at where we [handle the message from the cloud that says an OTA update is about to begin](https://github.com/spark/firmware/blob/889d67b176b9bfcafa047db1129bdd1afe1eb0ed/communication/src/spark_protocol.cpp#L1034). When you dig in from the hal to the platform check out the code on the Core, since it used the external flash. The Photon and P1 send OTA updates to _internal_ flash.

As mentioned [here](http://community.particle.io/t/bmp-on-p1-external-1mb-flash/15230/7?u=zachary) the interface to the external flash chip is in the [SPI flash library](https://github.com/spark/firmware/blob/develop/platform/MCU/STM32F2xx/SPARK_Firmware_Driver/src/spi_flash.c).

---

_[View the full topic](https://community.particle.io/t/particle-p1-questions-about-its-1-mb-extra-memory/17620)._
