Comments (8)
Dear martinayotte
I'm quite new to this board and Kernel (Olimex Micro A20) and have been trying to use this Python package to communicate through SPI for a while now.
Whenever I issue the spi.read() function Python aborts with the message below
>>> spi.read(2) *** stack smashing detected ***: python terminated Aborted
My Image Is:
ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun7i
Even though I've tried many images and read many forums I couldn't figure out why? Since you have this issue with speed rather recently, I have hoped that you might already passed my level of problem.
from olinuxino.
@FahriAyberk , sorry, I've no idea ...
from olinuxino.
Thanks for sharing your solution about the SPI speed. This issue is now closed.
from olinuxino.
@DanKoloff , but there is no commit about this fix in pyA20 yet ...
from olinuxino.
Yes. But there is no pyA20 in the official images at all. Neither does the official images use Kernel 4.5.6 or 4.5.x. So I see how this information can be useful if somebody encounters something similar and that is fine. I fail to see how this is an issue for this specific repository.
from olinuxino.
The fix should be applied there :
https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/Python/pyA20/pyA20/spi/spi.c#L223
from olinuxino.
Oh, thank you. I wasn't even aware that we upload it here. I though we upload it only at PyPi's web-site: https://pypi.python.org/pypi/pyA20/0.2.1
Thanks for the report would make sure to review and apply your solution today.
from olinuxino.
From what I understand, the version from https://pypi.python.org/pypi/pyA20/0.2.1 is only a tarball done from the github version, since pypi.python.org doesn't shows any sources repository.
This probably mean that new 0.2.2 tarball should be done and placed on pypi.python.org.
from olinuxino.
Related Issues (20)
- MiPi-DSI compatibility of A64-Olinuxino rev G HOT 2
- can It run linux os like raspberry pi? HOT 1
- CONFIG_SQUASHFS_XZ HOT 2
- Question&request about A20 lime2 sch and pcb files HOT 1
- uboot and legacy kernel HOT 1
- please mention release date for each revision HOT 2
- Typo K2 revision appears 2 times HOT 1
- Misleading information on connecting to UART0 via USB-serial connection HOT 1
- Can not download debian rootfs file. HOT 1
- UBOOT ISSUE with ethernet GMAC A20 HOT 2
- A20-OLinuXino Linux uses kernel default qdisc HOT 3
- Spelling mistake or Logical mistake in Olimage-guide.pdf HOT 1
- Where is the source for A13 script.bin? HOT 2
- Issue in compilation of Olimex A20-build-3.4.103-release-8 image HOT 5
- UI : olinuxino-sd-to-sata script : to warn for dataloss HOT 1
- Unable to reboot HOT 5
- ethernet disconnect on A20-SOM204-EVB HOT 1
- Olimage-guide: suggestions HOT 6
- A64-OLinuXino Address and Control Routing HOT 4
- Distribute also linux-headers-5.10.x-xx-common package HOT 2
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 olinuxino.