Comments (4)
So, I closed this issue because I can runned the Person Detection int8 model on kosagi fomu with a manual way. The script don't load the image binary file by itself then I loaded it using dfu-util -D image.bin.dfu
follow by the command sudo screen /dev/ttyACM0
and finally I could see the CFU-Playground menu.
There is a binary file called image.bin
but it cause an erro and I cannot see any error with fomu workflow.
from cfu-playground.
The last update, I changed the programmer to use DFU directly on Fomu workflow and worked very well.
from cfu-playground.
Hi @FelipeWcosta , I'm sorry I was not able to help earlier! Unfortunately your Fomu adventure coincided with 3 weeks of my travel away from keyboard.
I think you discovered the main issue, that the tty appears at /dev/ttyACM0 usually. Our suggested hack is to specify the TTY on the make line: make TARGET=kosagi_fomu .... TTY=/dev/ttyACM0 load
. With this, it should be able to load the bitstream and the software together. There may be more tips that you find useful at https://github.com/google/CFU-Playground/wiki/Supported-Boards#fomu
We have 'fomu' and 'fomu+cfu' variants that also fit on the Fomu board and may give a bit more performance than the 'minimal' variants. If you try to use a variant other than 'fomu' or 'minimal', there is some scripting that will automatically substitute a 'fomu' variant for you. There is a short comment in the LiteX output that scrolls by, so it's easy to miss.
I'm not sure of your current status -- does everything seem to work for you if you use the TTY=/dev/ttyACM0
define?
from cfu-playground.
Hi @tcal-x, I've been working on using CFU-Playground with kosagi fomu board. In a first moment, I find out a problem to attach the board to my VM that was fixed updating the bootloader (in the first comment) and then the image.bin
was not loaded directly by the fomu workflow script so I did this manually using DFU and some more commands and worked.
Looking at the fomu workflow script I changed to use only the DFU to program the board:
prog = dfu.DFUProg(pid='5bf0', vid='1209')
Finally, when I run make TARGET=kosagi_fomu EXTRA_LITE_ARGS="--cpu-variant=minimal+cfu" load TTY=/dev/ttyACM0
it's working fine.
Some considerations, the execution of the person detection model is very slow and considerably increases the number of cycles, I suppose it is because of the minimal version of vexriscv that very possibly has fewer resources.
from cfu-playground.
Related Issues (20)
- `make renode` and `make renode-headless` errors in the The Step-by-Step Guide to Building an ML Accelerator HOT 5
- Is there any way to use CFU Playground with Altera/Intel boards? HOT 31
- "make load" step got stuck HOT 5
- OSError: Failed to find config file
- How to use renode for other LiteX boards? HOT 1
- "make renode" is broken -- due to Verilator 5.006? HOT 3
- get stuck when load software.bin through /dev/ttyUSB1 HOT 8
- Need help with understanding software part of mnv2 example HOT 1
- How to accelerate `make prog` run time HOT 1
- Use of L2 in FPGA setups HOT 1
- Using BRAMs instead of LUTRAMs for big cfu storage HOT 1
- error:Could not locate Gemfile HOT 2
- Issue in synthesis for large design HOT 2
- Synthesizing the model
- How to print the "perf counters" when I use the FPU variant? HOT 1
- Failing CI for Lattice Nexus / prjoxide tests
- Failing CI for Symbiflow installation -- out of disk space
- Renode Error HOT 4
- Symbiflow not working for Xilinx HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfu-playground.