Coder Social home page Coder Social logo

Comments (3)

szczys avatar szczys commented on June 23, 2024

Further investigation into the IPL code has me realizing that the far right button can load the app, but it's looking for a static filename of autoexec.elf:

Loading app autoexec.elfautoexec.elf: No such file or directory
Loading app autoexec.elfautoexec.elf: No such file or directory

If I rename helloworld.elf accordingly the app runs successfully, although all it does it printf to the serial terminal:

Go!
Hello from app!
opening
hello.txt: Success
autoexec.elf
End.Go!
Hello from app!
opening
hello.txt: Success
autoexec.elf
End.

App running workflow:

  1. Compile app to elf using make
  2. Rename app to autoexec.elf
  3. With badge turned on, connect it to computer via USB
  4. Copy autoexec.elf to badge mass storage folder
  5. Eject mass storage from your system
  6. App can be run with right button without need to powercycle

from hadbadge2019_fpgasoc.

davidthings avatar davidthings commented on June 23, 2024

Is this possibly windows (or something else) dropping an autoexec.something on the drive? Then the badge directory scanning code finds it? Under Linux, building app-helloworld results in helloworld.elf. Dragging that file to the board's drive makes it pop up on the menu. It can be run from there.

from hadbadge2019_fpgasoc.

Spritetm avatar Spritetm commented on June 23, 2024

Yeah, closing this comment as it was on a version before the menu allowing you to select an app.

from hadbadge2019_fpgasoc.

Related Issues (20)

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.