public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] serial driver
@ 2001-09-01 19:56 Chris C.
  2001-09-04  5:25 ` Jesper Skov
  0 siblings, 1 reply; 11+ messages in thread
From: Chris C. @ 2001-09-01 19:56 UTC (permalink / raw)
  To: ecos-discuss

Hi
My target board is AT91EB40 but the source code is not same as the Redhat
eCos because I have done some port before eCos support it.

I have wrote a testing program which have 2 threads, transmit and receive,
are used to test the full duplex of the target board. In pc side, I have a
serial testing program used to do the testing. I did the 3 testing,
1. only transmit  to pc (in loop)
2. only receive from pc
3. transmit to (in loop) and receive from pc (hold on the enter key to send
a block of data)

In case 1 and 2, the serial driver can work fine but it can't work in case
3. The problem occured in case 3 was that it can work correctly within a
short time and then it can't do the transmit and receive. I use the Ctrl+C
to break the program, I always see it break in the idle_thread_main.

What is the possible problem that cause the program run into this function?
What is the best way to do the debugging?

Thanks!

----------------------------------------------------
Chris

_________________________________________________________________________
Sure, you can have free email. But free Email, Voicemail and Faxmail?
Check it out at http://www.2bzd.com

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: [ECOS] Multiple eCos repositories in ECOS_REPOSITORY
@ 2006-08-10 15:08 Doyle, Patrick
  2006-08-11 11:37 ` [ECOS] Problem with scanf and printf Tathagata Das
  0 siblings, 1 reply; 11+ messages in thread
From: Doyle, Patrick @ 2006-08-10 15:08 UTC (permalink / raw)
  To: 'Andrew Lunn', ?yvind Harboe; +Cc: ecos-discuss

> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch] 
> Sent: Wednesday, August 09, 2006 5:11 PM
> To: ?yvind Harboe
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Multiple eCos repositories in ECOS_REPOSITORY
> 
> 
> On Wed, Aug 09, 2006 at 10:31:21PM +0200, ?yvind Harboe wrote:
> > Does anyone feel like sharing a bit about how multiple eCos
> > repositories work w/ECOS_REPOSITORY?
> > 
> > Is there any documentation anywhere?
> > 
> > Will there be one ecos.db for each repository?
> 
> This feature was added thus:
> 
> 2003-03-26  Bart Veer  <bartv@ecoscentric.com>
> 
>         * cdl.hxx, config.cxx.cxx, package.cxx:
>         Update derived classes now that the repository is per-loadable
>         rather than per-toplevel. Also turn ECOS_REPOSITORY into a
>         path rather than a single directory, updating all affected
>         database and config code.
> 
> Searching ecos-patches i found an email from Bart:
> 
> http://ecos.sourceware.org/ml/ecos-patches/2003-03/msg00195.html
> 
> which says:
> ...

We use this feature all the time to keep our hal platform trees separate
from the CVS tree.  The last time I looked, it wasn't supported in the GUI
tool, but it works fine with the command line tool.

--wpd

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [ECOS] serial driver
@ 2003-07-18 10:29 Michael Anburaj
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Anburaj @ 2003-07-18 10:29 UTC (permalink / raw)
  To: satish, ecos-discuss

Hi,

>  btw, how can i debug the serial driver..? to track the bug..!!

<a generic embedded debug issue> If you have a JTAG probe connected to the 
board, then you  can look at the memory contents at the SFR register 
locations for the UART & make sure that you have written the right values. 
If you are sure about register values <like control, baud_div & other UART 
setup registers>, then simply supply those values from the memory window of 
AXD or ADW. After this you can write into the UART_TX SFR location some hex 
number, like 0x41 & make sure the char appears on the serial terminal 
connected to the UART port. If this does not work, then you should work on a 
small project --writing ROMable code for you board & adding support like 
LEDs & serial stuff <without the MMU>.

FYI: Prior to this you should make sure you have turned off WDT (if any), 
interrupts, configure BUS parameters, Clock control & other board 
requirements.

-Mike.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ECOS] serial driver
@ 2003-07-18  8:29 Satish Kumar
  0 siblings, 0 replies; 11+ messages in thread
From: Satish Kumar @ 2003-07-18  8:29 UTC (permalink / raw)
  To: ecos-discuss

Hi,
    i have built this redboot image for my arm926ej-s system board
which has a serial driver and ROM bootup. i have downloaded the 
redboot.bin in to the flash of the system board and trying to debug
the program using multiIce and ADS tool. 
    my hardware settings are correct and the uart program also seems
to be fine so far. i have also programmed the leds to know the break
in the flow.
             my program executes and remains in the loop where it is 
suppose to get user input after displaying "$Redboot>" hence it is in 
the infinite loop of the cyg_start func in redboot main.c

but, i see no output in my hyperterminal..my uart clk and all hardware
bits are set to proper value as required..the diagnostic output is
driven to the debug channel and my debug channel is configured to port
1..

i have no idea were can i be wrong, and what are the possibilities
to track the bug.

 now, if i burn the redboot.img file, my system just hangs, therez no
response...when power on..

 btw, how can i debug the serial driver..? to track the bug..!!


some one help me..its been a long time i m stuck in this prob..

satish


-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ECOS] Serial Driver
@ 2001-09-01  8:35 Chris C.
  2001-09-04  5:23 ` Jesper Skov
  0 siblings, 1 reply; 11+ messages in thread
From: Chris C. @ 2001-09-01  8:35 UTC (permalink / raw)
  To: ecos-discuss

Hi
My target board is AT91EB40 but the source code is not same as the Redhat
eCos because I have done some port before eCos support it.

I have wrote a testing program which have 2 threads, transmit and receive,
are used to test the full duplex of the target board. In pc side, I have a
serial testing program used to do the testing. I did the 3 testing,
1. only transmit  to pc (in loop)
2. only receive from pc
3. transmit to (in loop) and receive from pc (hold on the enter key to send
a block of data)

In case 1 and 2, the serial driver can work fine but it can't work in case
3. The problem occured in case 3 was that it can work correctly within a
short time and then it can't do the transmit and receive. I use the Ctrl+C
to break the program, I always see it break in the idle_thread_main.

What is the possible problem that cause the program run into this function?
What is the best way to do the debugging?

Thanks!

----------------------------------------------------
Chris

_________________________________________________________________________
Sure, you can have free email. But free Email, Voicemail and Faxmail?
Check it out at http://www.2bzd.com

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ECOS] POSIX threads in ecos
@ 2001-08-13  7:48 Rajeev
  2001-08-13  8:04 ` [ECOS] Serial Driver Sebastien ANDRE
  0 siblings, 1 reply; 11+ messages in thread
From: Rajeev @ 2001-08-13  7:48 UTC (permalink / raw)
  To: ecos-discuss

hi,
  i'm trying out the posix threads in ecos. i've three threads running a
simple program.
  when i dont use the sleep call the threads run happily though not to
the priorities i've set .
  but when i use the sleep call the output i get is
thread1:hello world
thread2:hello world
thread3:hello world
thread1:hello world
thread2:hello world
thread3:hello world
   >>>>and then the system does nothing.
	i'm using an ARM7 based board and i have configured one of its timers
for the scheduler to use and i'm using a basic tick of 0.5 secs
what might be the problem??

thanks for all help
rajeev

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

end of thread, other threads:[~2006-08-14  9:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-01 19:56 [ECOS] serial driver Chris C.
2001-09-04  5:25 ` Jesper Skov
  -- strict thread matches above, loose matches on Subject: below --
2006-08-10 15:08 [ECOS] Multiple eCos repositories in ECOS_REPOSITORY Doyle, Patrick
2006-08-11 11:37 ` [ECOS] Problem with scanf and printf Tathagata Das
2006-08-11 11:47   ` Gary Thomas
2006-08-14  6:04     ` [ECOS] Serial driver Tathagata Das
2006-08-14  7:17       ` Andrew Lunn
2006-08-14  8:43         ` Tathagata Das
2006-08-14  9:33           ` Andrew Lunn
2003-07-18 10:29 [ECOS] serial driver Michael Anburaj
2003-07-18  8:29 Satish Kumar
2001-09-01  8:35 [ECOS] Serial Driver Chris C.
2001-09-04  5:23 ` Jesper Skov
2001-08-13  7:48 [ECOS] POSIX threads in ecos Rajeev
2001-08-13  8:04 ` [ECOS] Serial Driver Sebastien ANDRE

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).