Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
jffs segmentation fault
Hello everybody,
I´d like to save some files on my hms720´s flash. So I start to mount jffs:
mount /mnt/jffs
Then I create/copy a file on this file system. It stores proper for files <= 11 byte. For files > 11 byte I get an segmentation fault and a mem dump.
Can...
sam7 iap api
Hi,
when my arm7 mc downloads a file in his ram I want to store it permanent in the flash. So when I reboot it the data should not get lost. How can I achieve this?
Hi,
I have this simple concurrent prog with 2 threads. It compiles fine but when I start it I get a segmentation fault. Why?
#include <pthread.h>
#include <iostream>
using namespace std;
void fun1()
{
for (int i=0; i < 100; i++)
cout << "1" << endl;
pthread_exit(0);
}
void fun2()
{...
Re: counselling
Hi Clive,
you should first ask yourself what kind of programs you like to develop. The decision of the programming language depends on that.
Hi,
has anybody ever got a problem like this.
My program waits till it´s connected via ppp with another system. Then it calls a bind after a normal socket is opened. Followed by an listen and accept I can send an receive data. But when I start my program again bind always gives me -1 as return...
Hi,
is it possible to connect a linux pc to an embedded system (ARM7 - 32bit) via GSM data call to receive and transmit raw bytes?
Let´s say, I wrote a program connecting to another one with AT-commands. How do I send now files (or just some bytes) to my target?
I´ll try to explain the strange behaviour of the program.
It´s able to write and read from the ttyS0, so everything is fine. But when I start it the next time, it writes proper values, but it doesn´t read anything. A further re-start and it works again, the next re-start causes the read-failure...
Hello again,
the program runs fine with my option fusion gsm-pcmcia card. But when I try use it with siemens MC 45T on ttyS0 it won´t work. The init is well done and I can send commands. But when it comes to
while ((nbytes = read(fd, &response[writePos], BUFFERSIZE - readPos)) > 0)
it...
The replace while/for doesn´t help. It´s very strange, but once I get "Byte receiced" :
41, 54, d, d, a, 4f, 4b, d, a (HEX)
-> A,T,<CR>,<CR>,<LF>,O,K,<CR>,<LF>
Here is the code for UART (it´s in a constructor):
Serial::Serial (char *device_name)
{
fd = open(device_name, O_RDWR |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.