ts-7000
[Top] [All Lists]

RE: [ts-7000] segmentation fault right away

To: <>
Subject: RE: [ts-7000] segmentation fault right away
From: "Niels LaWhite" <>
Date: Mon, 5 May 2008 13:24:15 -0400
Could your ftp transfer have been done in 'ascii' mode? 
If so, ftp will mess up the file as it puts it.
Use the ftp command 'binary' before the put.
 


From: [ On Behalf Of dwreck_stg
Sent: Monday, May 05, 2008 10:34 AM
To:
Subject: [ts-7000] segmentation fault right away

I just began working with ts-7200. Trying to execute a hello world file.
Using Cygwin & crosstool to compile. Then FTP to board. when I try to
run I get the following seg fault. (See further below for all code and
scripts... Any help would be appreciated!

Thanks!

<SegFault>

pc : [<2aab3a3c>] lr : [<2aaaccdc>] Tainted: P
sp : 7ffff8bc ip : 2aac78f0 fp : 7ffff994
r10: 2aac76b8 r9 : 00000000 r8 : 00000000
r7 : 2aac73f4 r6 : 00000001 r5 : 2aac78f0 r4 : 2aac78f0
r3 : 00000000 r2 : 00000000 r1 : 00000001 r0 : 2aac78f0
Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 01154000 DAC: 00000015
Segmentation fault

</SegFault>

<code>

#include<unistd.h>
#include<sys/types.h>
#include<sys/mman.h>
#include<stdio.h>
#include<fcntl.h>
#include<string.h>

int main(int argc, char **argv)
{
printf("Hello World");
}

</code>

My compile script is also pretty simple...

<compile_script>

export
PATH=/usr/local/bin:/usr/bin:/bin:/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/bin
rm simple
arm-unknown-linux-gnu-gcc.exe -o simple simple.c
chmod +x ./simple

</compile_script>

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU