Skip to content

[bug] Uploading scripts to the calculator won't work #11

@lukashilverda

Description

@lukashilverda

Describe the bug
When I try to upload something to the calculator, it gives me the following error:

Start address 0x90000008 outside of memory map bounds

This is the code I use (changed version of the example)

flash.onclick = async () => {
  try {
    const storage = await calculator.backupStorage();

    storage.records.push({
      name: "test",
      type: "py",
      data: {
        code: "print('hello')\n"
      }
    });

    await calculator.installStorage(storage, () => {
      console.log("flash done");
    });

    console.log("uploaded");
  } catch (err) {
    console.error(err);
    status.innerHTML = "Flash error: " + err;
  }

I expected to see the uploaded "test" file on the calculator, but even after a restart, it won't show up in the python screen.

Image

Windows 11, npm, Epsilon 24.10.0

How can I get it to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions