Forums Search for: Python
Embedded Systems Python?
inHi all, I've looked through the threads about embedded Python that are a year and a half old, and I thought that I'd ask this question now...
Hi all, I've looked through the threads about embedded Python that are a year and a half old, and I thought that I'd ask this question now to see if anything has changed. Has anyone, or is anyone working with Python in an embedded Linux environment? Mine is NO where near as constrained as a cell phone since I've got plenty of memory to work with, I'm just running a Linux 2.4 kernel ...
Understanding the CORDIC algorithm with Python
inHello, I've been trying to figure out the way the CORDIC algorithm works and I am not sure if this is the right place to post this, so feel free...
Hello, I've been trying to figure out the way the CORDIC algorithm works and I am not sure if this is the right place to post this, so feel free to point me in the right direction to get help. I usually code a quick prototype in python for verification and understanding of an algorithm I need to implement. For those of you who don't know Python but know C, you should be able to follow it s...
Python question
inApropos to the question "Python for DSP" in comp.dsp (http:// www.dsprelated.com/showthread/comp.dsp/243722-1.php): How fully object-oriented...
Apropos to the question "Python for DSP" in comp.dsp (http:// www.dsprelated.com/showthread/comp.dsp/243722-1.php): How fully object-oriented is Python? I'm doing an app that really wants to be prototyped in something Scilab-ish (i.e., interpreted so it's easy to do graphs or computation on bits of it), but which is seriously challenging Scilab's sorta-object oriented-ness. I'm running...
Python packages for embedded systems
inI was looking for Python modules for embedded systems, and I have found the following...
I was looking for Python modules for embedded systems, and I have found the following website: http://elk.informatik.fh-augsburg.de/da/da-49/ In the subdirectory http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/ there is a lot of GPL-ed code which may be used to interface Python to different I/O interfaces in embedded systems. I've managed to succesfully integrate the py-sp...
Designing a protocol for the first time
inGreetings, I wish to transfer binary data in the simplest way possible from a PC to either an AVR or TMS320F2812 embedded target via...
Greetings, I wish to transfer binary data in the simplest way possible from a PC to either an AVR or TMS320F2812 embedded target via USB. The PC will be running a Python/wx.Python program and use PySerial to send data out through the virtual COMM port produced by using a FTDI FT245BM USB-to-FIFO parallel interface chip on the target. Ideally this program will be useable on Linux as ...
AVR python compiler
inHi all, I've been working on a simple python 'compiler' targetting the AVR (inspired by Pyastra, the equivalent PIC program). The (rather...
Hi all, I've been working on a simple python 'compiler' targetting the AVR (inspired by Pyastra, the equivalent PIC program). The (rather bare) website is here: http://www.ecs.soton.ac.uk/~jb1403/projects/avrpy/ The code is fairly simple (though my tarballing skills leave much to be desired), and produces surprisingly clean assembly (optimal in many simple cases), though it only attem...
AT91RM9200 Linux Board bootloader problems?
inHello, I am extremely new to this stuff and just got a AT91RM9200 Linux Board. I was going to download Python to it to make some programs....
Hello, I am extremely new to this stuff and just got a AT91RM9200 Linux Board. I was going to download Python to it to make some programs. After setting it up per the setup MANUAL, it seemed to lad fine. I proceeded to download Python but it just wouldn't work. I researched and found that i had an error when booting (Error bad CRC, continuing loading Linux environment). The best fix to this proble...
MSP430F2001 programming
inHi! I have an application running on F1101a which I want to migrate to F2001 (I don't use all the I/Os and the lack of POR reset in F1101a...
Hi! I have an application running on F1101a which I want to migrate to F2001 (I don't use all the I/Os and the lack of POR reset in F1101a is not a feature that I like). Now, I did all my firmware development under open source tools using mspgcc and their python driven tools to program MSP430 parts (I've used both the JTAG and the BSL). It was especially convenient for me since I'm usin...
Small embeddable and OSI compliant language?
inHi everybody. This may be slightly off topic - I am looking for an embeddable script interpreter or VM. If you know of any more appropriate...
Hi everybody. This may be slightly off topic - I am looking for an embeddable script interpreter or VM. If you know of any more appropriate groups to post to, please let me know. It should have the following features: - Stand alone interpreter (or VM) should have very small memory footprint (less than 500k on Windows). - Reasonably high level programming language (on par with python/Ja...
Experience with Lantronix XPort Internet-Protocol-to-serial device?
inHas anybody worked with these? I'm having trouble finding any information about serial output formats. I've got this far: I've configured it...
Has anybody worked with these? I'm having trouble finding any information about serial output formats. I've got this far: I've configured it for UDP, and sent a UDP packet with a string of ASCII alphanumeric characters as payload (using the Python socket module). The serial output then provides * a byte 0x02 -- perhaps ASCII STX, perhaps not * 4 bytes that could be the IP address of the...
Which scripting for embedded automation?
inI was automating my home LAN. Need suggestion for automation scripting upon embedded Linux, to do some operations over LAN, such as scan and ping...
I was automating my home LAN. Need suggestion for automation scripting upon embedded Linux, to do some operations over LAN, such as scan and ping other devices, string like data transfer,etc. And there is need of some logic to parse received content. Perl, python, lua or simple shell scripting .. which one? There will be branch and loop operations, better to have more ready tools for
newbie help, Please
inOk, so I decided to build a LC meter based on 89c2051 microcontroller. I have 35 yrs experience in electronics and I have limited...
Ok, so I decided to build a LC meter based on 89c2051 microcontroller. I have 35 yrs experience in electronics and I have limited experience flashing at90s2313 with a home made programmer. So I made the python programmer and used py2051.exe to program the 89c2051. see http://www.geocities.com/dinceraydin/8051/index.html I cannot get the blink led test circuit to work.... I do get a b...
software glue for embedded devices
The SIMPL project (http://www.icanprogram.com/simpl) produces an ultra lightweight toolkit useful for gluing together software programs...
The SIMPL project (http://www.icanprogram.com/simpl) produces an ultra lightweight toolkit useful for gluing together software programs using the Send/Receive/Reply messaging scheme first pioneered by QNX. A SIMPL application consists of two or more interacting modules. These modules can be created in a number of supported programming languages including C, C++, Python, Tcl/Tk and the j...
GCC: how to a pre-processor definition into the map file
inI am not sure this is the best group, but it might be close enough. In our current project we use PSoC controllers from Cypress and we access...
I am not sure this is the best group, but it might be close enough. In our current project we use PSoC controllers from Cypress and we access our application by reading and writing variables (by address). To do so we parse the map file on the host to figure out the address of a variable and then send the address to the PSoC. Over time our host code (in Python) became more complex and w...
C++, Ada, ...
inWhat do you think about different languages than usual C for embedded systems? I mean C++, Ada but also Python. Always more powerful embedded...
What do you think about different languages than usual C for embedded systems? I mean C++, Ada but also Python. Always more powerful embedded processors are coming, so I expect new and modern languages will enter in the embedded world. Hardware are cheaper and more powerful than ever, but software stays expensive. New and modern languages could reduce the software cost, because the...
Pyserial access probs
inI'm mucking around with python and pyserial, and was looking for examples ( 'cos I'm not very good) From http://pyserial.sourceforge.net/ I...
I'm mucking around with python and pyserial, and was looking for examples ( 'cos I'm not very good) From http://pyserial.sourceforge.net/ I keep getting timeouts at this link http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pyserial/pyserial/examples/ for the last couple of days Can any/someone try the link please. I just want to talk to a 8051, with something a bit smarter than a ter...
Linux Embedded: how to get info from a running service
inI developed an application (in Python language) that is started by systemd at startup and stay running forever (until the box is rebooted or...
I developed an application (in Python language) that is started by systemd at startup and stay running forever (until the box is rebooted or shutdown). The user can get some info of the system by a web application, as a typical router or NAS. The user points his web browser to the local IP address of my Linux box and a graphical interface appears. This web application is written in Py...
Hightec GNU cross tools chain for Tricore
Hello, I am currently trying to cross compile Python 2.4.3 to be embedded in a TC1130 step BA board (based on a Tricore processor). I use a...
Hello, I am currently trying to cross compile Python 2.4.3 to be embedded in a TC1130 step BA board (based on a Tricore processor). I use a cross tools chain from a company called Hightec (gnu_v3341_1_stepB_complete for information) To do so, I run a script called "configure" which checks the system and creates a relevant configuration file before we compile. (as a usual configure scrip...
mspgcc with TI USB JTAG
inHi, I have installed the MSP-FET430UIF and it work correctly with IAR interface. With msp430-jtag I see the follow error: C:\> msp430-jtag...
Hi, I have installed the MSP-FET430UIF and it work correctly with IAR interface. With msp430-jtag I see the follow error: C:\> msp430-jtag -l TIUSB -e -DDD leds.elf MSP430 JTAG programmer Version: 2.2 Debug is level set to 3 Python version: 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] ELF section .text at 0xe000 106 bytes ELF section .vectors at 0xffe0 32 bytes TOINIT
problem with python-ctypes on embedded systems
inHi, I tried to add pyusb to buildroot ( http://lists.busybox.net/pipermail/buildroot/2013-October/081200.html ) and run into problems with...
Hi, I tried to add pyusb to buildroot ( http://lists.busybox.net/pipermail/buildroot/2013-October/081200.html ) and run into problems with ctypes not loading the appropriate libusb backend ( http://lists.busybox.net/pipermail/buildroot/2013-October/081219.html ). The problem is associated with the way how ctypes package detects the name of necessary shared library. Particularly i