Skip to content
  • Home
  • Account
  • Restricted content
  • OBEX
  • Chips Tips
  • Logout
  • Shop
  • QuickBytes
Propeller OBEX
  • OBEX
  • Forum
Login
Propeller OBEX

Propeller 2

  • Configuring Visual Studio Code for Programming the P2 on Mac, Windows, and Linux
  • Breakout Board Options for P2 Edge Modules
  • Solar Panel Monitoring Demo (Intro to Using Video 3 of 3)
  • Wireless Programming with the ESP8266 WX Module
  • Brushless DC Motor Control Demo
  • Colorful Terminal Output with ANSI Escape Sequences
  • XBee RF Transparent and API Mode Demo
  • DS3231 Real Time Clock I2C Demo
  • Multiple Servo Control (up to 64) Object
  • Multiple Serial Port (8 UART – 16 Tx/Rx) Object
  • Goertzel Operation with Ultrasonic Transducers
  • Web Page Control of WS2811 LEDs Using the IoT Gateway on Raspberry Pi
  • 320×240 LCD Driver for ILI9341 Controller and XPT2046 Touch Screen
  • Digital Sample ADC to DAC + Analog Frequency to DAC
  • Using Smart Pins to Measure Frequency Output of TSL235R Light-to-Frequency Sensor
  • Ping))) Ultrasonic Distance Sensor with Graphical Debug Demo
  • Simple Analog Input
  • P2 Edge 16 MB Flash Reader and Explorer Utility
  • LED Matrix used as an I/O Test Utility
  • Arlo Conversion to P2 with the Universal Motor Controller
  • Five Buttons On One Pin
  • P2 RTC Add-on Board Demo
  • Simple Video Driver – Using Images (Intro to Using Video 2 of 3)
  • Starting Your P2 Project with a Spin2 Template
  • E-Ink Display Demo
  • MAX7219 LED Display SPI Demo
  • DHT11, DHT22, CM2302 Humidity and Temperature Sensor Object
  • NMEA GPS String Parsing
  • Floating Point Math: DEBUG and Terminal Display Example
  • LEDs – Beyond the Basics
  • Quadrature Encoder Object
  • P2 RTC Add-on with GPS Module
  • DVI/VGA Text Driver Demo
  • PCF8574 I2C LCD Demo
  • Simple Sound Engine Demo
  • 1-Wire Driver with DS18B20 Temperature Sensor Demo
  • Send Email from the Propeller 2 Using the IoT Gateway on Raspberry Pi
  • I2C Device Bus Scanner Utility
  • 32-Channel ADC Object
  • Tetris
  • Video Hardware with Character Map Demo (Intro to Using Video 1 of 3)
  • WS2811, WS2812, WS2812b, WS2813, SK6812x NeoPixel Object
View Categories
  • Home
  • Docs
  • Quick Bytes
  • Propeller 2
  • P2 Edge 16 MB Flash Reader and Explorer Utility

P2 Edge 16 MB Flash Reader and Explorer Utility

Reading Time: 2 min read


Description #

The P2 Edge (#P2-EC) has a 16MB Flash memory (Winbond part W25Q128JV) with a Serial Peripheral Interface (SPI) to the Propeller 2. The first 512K bytes is used for the user’s bootable application and the remaining ~15.5MB may be used for data. The timing with the SPI Flash is fast and deterministic, unlike SD cards.

This Quick Byte is supported by a “Spin2 for Beginners” video from JonnyMac, linked below under Additional Resources.

Three example programs demonstrate reading the contents of the 16MB Flash:

  • 02a_jm_flash_reader-Archive (Spin2)
  • 02b_jm_flash_reader-Archive (PASM)
  • 02c_jm_flash_reader-Archive (smart pins)

The 16MB Flash array is organized into 65,536 programmable pages of 256 bytes each. Up to 256 bytes can be programmed at a time. Pages can be erased in blocks of 16 (4KB) or 256 (64KB). Flash blocks must be erased before they can be programmed.

Load any of the reader programs to the P2 Edge’s Flash and open Parallax Serial Terminal. Each Flash has an internal 64-bit serial number which may be used to identify products designed with the P2 Edge Module.

The Flash Explorer program (03_jm_flash_explorer-Archive) can write to the Flash starting at $10_0000. This code example has no write-leveling to spread the erase/write cycles across all blocks. Erasure resets bytes to FF. Modifications can be made on this program as desired, but be aware of the ability to overwrite the bootable application in the first 512KB.

Parts Used #
  • P2 Edge Module
  • P2 Edge Breadboard
Source Code #
  • 02a_jm_flash_reader-Archive (Spin2)
  • 02b_jm_flash_reader-Archive (PASM)
  • 02c_jm_flash_reader-Archive (smart pins)
  • 03_jm_flash_explorer-Archive
  • 03_jm_flash_explorer-Archive v2
  • 03_jm_flash_explorer-Archive v3
Programming Language #
  • Spin 2
  • PASM2
Tools and Operating System #
  • Propeller Tool for Windows
Additional Resources #
  • Propeller 2 Spin Documentation
  • Spin2 for Beginners with JonnyMac (YouTube Video)
  • Windbond W25Q128JV Datasheet
Document Author #
  • Ken Gracey
Source Code Author #
  • Jon McPhalen
Was this useful ?

Share This Article :

  • Facebook
  • X
  • LinkedIn
Still stuck? How can we help?

Still stuck? How can we help?

Updated on September 29, 2026
Simple Analog InputLED Matrix used as an I/O Test Utility
Table of Contents
  • Description
  • Parts Used
  • Source Code
  • Programming Language
  • Tools and Operating System
  • Additional Resources
  • Document Author
  • Source Code Author

Copyright © 2026 - Parallax Inc.
599 Menlo Drive | Rocklin, CA 95765 | USA