Skip to content

SPIFFS.begin() crashes (stops) ESP without errors and only a line of garbage in serial monitor #3030

Closed
@pjunni

Description

@pjunni

Basic Infos

Hardware

Hardware: ESP-07
Core version: I don't know

Description

All I get in the serial monitor is this:

rrlaz|ela|� Œ lì b|Ž‚�ì�’r’bŒ bŒònnžlnnœâì b�pŒŽlrlrl�‚rò’nàbânbp

When I should get (if ESP not damaged):

OKOK?

Or if damaged I should get an error message or equivalent that SPIFFS begin fails. If I remove "SPIFFS.begin();" The sketch runs normally.

Settings in IDE

Module: Generic ESP8266 Module
Flash Size: 4MB
CPU Frequency: 80Mhz
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: ck

Sketch

#include "FS.h"

void setup() {
  Serial.begin(115200);
  Serial.println("OKOK?");
  SPIFFS.begin();
}

void loop() {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions