Comments (4)
It's indeed possible that rp.h is not in sync with the latest Red Pitaya release.
To build my Debian based SD card image with the Red Pitaya ecosystem I'm still using version 0.92 of the Red Pitaya ecosystem. The latest Red Pitaya ecosystem version is 0.94.
Since the latest Red Pitaya SD card image is based on my Debian based SD card image, I'm not sure if I still should keep my version updated. Is there any reason to prefer my version?
from red-pitaya-notes.
Wow, thank you for your quick responds.Yes, there is much reason to use your version:
trouble with 0.94
The guides for the the 0.94 ecosystem are behind to the level where I can't get the basic functionality working. I'm unable to build my own app with a html-GUI, which was working fine with your build.
- the Red pitaya run.sh script runs with errors. I left a post on the forums:
link
In 0.94 the apps folder is now read-only. if I change the permissions the entire system stops working. It's costing me a lot of time I would rather spend on developing my application.
yours
Only thing missing from your build seems to be using the I2C commands. If those work I can develop in peace;-)
from red-pitaya-notes.
Thanks for all the reasons :-)
I didn't realize that the latest Red Pitaya release had all those problems.
However, there are some problems with adding the I2C code to my build:
- the source codes for the 0.92 API are not open and I can't easily add the I2C functions to librp.so that I use to build my SD card image,
- since I'm not sure if the 0.94 API is compatible with the 0.92 FPGA configuration, I can't just take the 0.94 API and rebuild it,
- if I take the 0.94 FPGA configuration, I'll have to take the 0.94 web server and applications and we'll be back to the problems that you have with 0.94.
Looking at the new I2C code at
https://github.com/Gulzt/RedPitaya/blob/master/api/rpbase/src/i2c.h
https://github.com/Gulzt/RedPitaya/blob/master/api/rpbase/src/i2c.c
I'd say that the easiest solution would be just add these two files to your project.
There are some new return codes that are used in i2c.c and that are not in the 0.92 API:
/** Failed to open bus */
#define RP_EFOB 18
/** Failed to close bus */
#define RP_EFCB 19
/** Failed to acquire bus access */
#define RP_EABA 20
/** Failed to read from the bus */
#define RP_EFRB 21
/** Failed to write to the bus */
#define RP_EFWB 22
You can just add them to i2c.h.
What do you think about this? Any other ideas?
from red-pitaya-notes.
Thank you, yes, your solution works perfectly. Really glad you helped me out, thanks a lot!
from red-pitaya-notes.
Related Issues (20)
- Question about fir for 122.88 hpsdr receiver with 7010 FPGA (TRX-DUO) HOT 5
- The MCPHA.exe could not establish connection to the IP address HOT 2
- EDIMAX EW-7811UN V.1 still supported? HOT 2
- TREADY issue in axis_selector.v HOT 2
- mcpha: description in projects/mcpha/app/index.html still refers to old (tcl/tk) version HOT 2
- Issue with Python Interface "mcpha.py". HOT 1
- Measure Level Issue and Enhancement request HOT 3
- Memory specification in the block design HOT 2
- Minimal project with fpga-server -client structure with hub interface, a ADC interface, and a DAC interface HOT 3
- Hotspot mode not working HOT 2
- Issue with Redpitaya working using GNU Radio HOT 7
- Issue with Packet Transmission using Redpitaya and GNU Radio HOT 2
- Does old Vivado editon supported? HOT 4
- Implementation of OpenHPSDR protocol 2 in application "SDR Tranceiver HPSDR" HOT 1
- Bitstream Compilation Error for 122_88 projects. HOT 6
- Ethernet Connectivity Issues with Red Pitaya Boards HOT 1
- RedPitaya / TRX-DUO ip config HOT 4
- Build break due to apk-tools missing HOT 2
- Multichannel analyser HOT 7
- Question about exp_n_tri_io and exp_p_trio_io_io HOT 1
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 red-pitaya-notes.