ts-7000
[Top] [All Lists]

[ts-7000] Where did I go wrong?

To: TS7200 <>
Subject: [ts-7000] Where did I go wrong?
From: wannabeanembeddedexpert wannabeanembeddedexpert <>
Date: Sat, 17 Dec 2005 15:08:09 -0800 (PST)
Hi to all!!!
Finally I got a TS7200 about a month ago. Since I am not a linux guy :(:(  I decided to make some tests with cross-tools in
windows environment. So I have installed ARM Developer Suit; wrote my code - simply supposed to turn off leds. I have built
the source code below:
 
int main()
{
 unsigned int maskedVar;
 unsigned int *vAdrs = (unsigned int *)0x80840020; // leds
 maskedVar = (*vAdrs) & 0xFFFFFFFC; // last byte 1100
  
 *vAdrs = maskedVar;
 return 0;
}
 
I have ended up with ledProj.axf. Processor was configured as ARM920T. I have downloaded this image using RedBoot command
prompt with:
 
RedBoot> load -r -b 0x00300000 -h 192.168.1.13 ledProj.axf
Using default protocol (TFTP)
Raw file loaded 0x00300000-0x00302c0f, assumed entry at 0x00300000
 
And when I execute with "RedBoot> go 0x00300000" I end up with:
 
$T050f:e8033000;0d:88840000;#2c
 
at the hyperterminal. And no action with the leds. :(
Then I downloaded the linux image on the ftp of embeddedarm. And I have successfully loaded and ran this. So I assumed no
tftp error. I got suspicious with the file I have built and when I examine its Hex-view I saw first 4 bytes (file header,
right?):
 
"7F454C46...." which is equal to ".ELF....." in ASCII.
ELF? Must not it be AXF or something else? The header of the image on the ftp seems totally different by the way. In summary,
I could not find where I did wrong... Can anybody?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



<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