This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Keyboard input with Redboot


Hi all ..

Currently I am working on ecos from cvs on i386 pc.
Let me explain my problem in detail:
I have made a redboot floppy for i386 pc from updated
ecos.
It is working fine, I can load my allication in to it
.
My application is  build for i386 pc which is also
working fine for Ram startup and for floppy startup
.But problem with my ecos is that I can not  debug  it
by adding some input functions like scanf() ,gets(). 
whenever these functions come across debuger,it simply
hangs for waiting input from keyboard.It can not 
take input from target side(Redboot) as well as from
host side(Gdb).But these functions are working fine
with floppy .
 I have tokill & restart the same debugging process
but the same thing happens again and again.
 I have enabled all the option like...
  CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL for 
"Diagnostic serial port"
 CYGSEM_HAL_I386_PC_DIAG_SCREEN  for "Output to PC
screen ,

CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT  for vector support.
But no result from these .When I trace the problem it
seems that
instead of calling to  hal_diag_init() from 
HAL_DIAG_INIT() in hal_diag.h
it is calling  hal_if_diag_init().Is it the right
call?
I thing it is creating the problem.
I have made an attempt to invoke the   hal_diag_init()
function which is calling the screen & keyboards
initialisation functions in turns,but I failed .

Please help me if somebody has overcome the same
problem.

Regards!!

UMESH JAISWAL
 

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]