public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] edb7xxx downloader
@ 2001-09-21 12:24 Dan Conti
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Conti @ 2001-09-21 12:24 UTC (permalink / raw)
  To: eCos Discussion

> -----Original Message-----
> From: Trenton D. Adams [ mailto:tadams@extremeeng.com ]
> Subject: [ECOS] edb7xxx downloader
> 
> I'm trying to get the download utility to read bootloader code from a
> file.  It works fine, and the code runs on the target board fine.  The
> problem is that on my end I get the following error when 
> trying to call
> SetBaud () which calls tcgetattr()
> 
> Can't get port config - Resource temporarily unavailable

That sounds like a cygwin issue. I take it you know the code runs on the
target board because you've tried it at the default baud rate? is your
bootcode byte for byte identical to the cirrus bootcode? Is anything
else touching the serial port by any chance?

Having the downloader read the bootcode from a file seems like an odd
way to do it. Why not just have make rebuild the downloader every time
you rebuild the bootcode?
 
> Anyone know what the possible reasons for this error might be?
> 
> If I download the original pcBoot buffer, this doesn't happen.

So what is different between the original pcBoot buffer and your
version?
 
> I suppose the only way of figuring out of the bootloader code 
> is working
> correctly is by using a hardware debugger such as MultiICE or
> EmbeddedICE right?  If so, I'm screwed! :(

We've done a bunch of stuff with the bootcode without the luxury of an
ICE. The 7211 eval board has two serial ports, correct? You could use
one as the protocol channel and use the second to dump diagnostics from
the device, that's probably the easiest route. Our hardware only has one
serial port which made it a bit harder. 

> The boot loader code appears to work fine because it sends me the
> correct character sequences and everything.
> 
> Trenton D. Adams
> Extreme Engineering
> #17, 6025 - 12 St. SE
> Calgary, Alberta, Canada
> T2H 2K1
> 
> Phone: 403 640 9494 ext-208
> Fax: 403 640 9599
> 
> http://www.extremeeng.com
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] edb7xxx downloader
@ 2001-09-21 12:09 Trenton D. Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Trenton D. Adams @ 2001-09-21 12:09 UTC (permalink / raw)
  To: eCos Discussion

I'm trying to get the download utility to read bootloader code from a
file.  It works fine, and the code runs on the target board fine.  The
problem is that on my end I get the following error when trying to call
SetBaud () which calls tcgetattr()

Can't get port config - Resource temporarily unavailable


Anyone know what the possible reasons for this error might be?

If I download the original pcBoot buffer, this doesn't happen.


I suppose the only way of figuring out of the bootloader code is working
correctly is by using a hardware debugger such as MultiICE or
EmbeddedICE right?  If so, I'm screwed! :(

The boot loader code appears to work fine because it sends me the
correct character sequences and everything.

Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-21 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-21 12:24 [ECOS] edb7xxx downloader Dan Conti
  -- strict thread matches above, loose matches on Subject: below --
2001-09-21 12:09 Trenton D. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).