Git Product home page Git Product logo

Comments (2)

ZipCPU avatar ZipCPU commented on August 18, 2024

Yes, you should see "Hello, world!" printed onto the console on the telnet port if this program works.

As for the "SECTOR ERASE FAILED" message, I've chased it down some. The issue appears to be that the flash isn't setting the status register properly to indicate that the flash is busy. Hence, the controller checks the results of the (still in progress) erase, reads that the erase is no longer busy (when it is), and then starts to read from memory--getting a bad result. When you read from the flash later, once the flash has finished erasing the memory, then the zipload program sees that the erase is no longer needed and then successfully programs the flash.

Given that the flash isn't returning the right value, I'm not yet certain how to "break the protocol" to fix things. Perhaps reading the status register twice?

Next, you will also need to rebuild the hello.c program since I adjusted the board linkscript that it depends on. That and your problem may be the SDRAM, so let's make sure that the memtest passes first. Based upon your other issue, it isn't.

from arrowzip.

NeuerUser avatar NeuerUser commented on August 18, 2024

Now working after fixing SDRAM. 👍

from arrowzip.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.