Skip to content

[BUG] SD image can't be loaded after pressing "Generate Empty Image" in the simulator. #25602

@mriscoc

Description

@mriscoc

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

The simulator allows you to test some Marlin functions without having a physical printer. It is possible to simulate a SD memory card by loading an image file, the simulator itself can create an empty image by pressing Generate Empty Image button:
image
But, after the image is created and loaded an error is shown in the console: "Error: volume, init failed"
image

Simulator compiled and running under Windows 10 with the example configuration files from the configuration repository.

The image is generated correctly, it was tested with third-party software.
image

Bug Timeline

There are no previous notices about it

Expected behavior

SD image must be loaded by the simulator without errors.

Actual behavior

SD images can't be loaded by the simulator.

The image was then formatted to FAT32 with the same error.

Steps to Reproduce

Download latest bugfix
Install simulator dependencies
Download simulator configuration files
Compile simulator
Run simulator
Pressing "Generate Empty Image" button:
image
The image is created but an error is shown in the console: "Error: volume, init failed"
image

Version of Marlin Firmware

Latest Marlin Bugfix

Printer model

Simulator

Electronics

Simulator

Add-ons

None

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions