[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
i386ex board console
- Date: 17 Sep 1999 04:03:59 -0000
- From: d_luo27 at 263.net (d_luo27 at 263.net)
- Subject: i386ex board console
I :
we found no response from i386ex target, when I run
' vi console</dev/ttyS0 '.
below something I do for get message from target on host linux.
console:
target com1 --- host com1 with 3 connect pins ( transfer,receive and grand)
I use stty & setserial :
stty 9600 result: speed 9600 baud;line=0; -brkint --imaxbel
setserial result: /dev/ttyS0 ,UART :16550A,port:0x2f8,IRQ:4
------
we developed a rom monitor for i386ex target:
address space for monitor :
+ ------------+ 0x3ffffff
| | monitor code
+-------------+ 0x3f80000
| | invalid space
+-------------+ 0x0100000
| | monitor running space
+-------------+ 0x00f0000
| | reserved
+-------------+0x000000
address space rtems for debug:
+-------------+0x0000
| | initialized data
+-------------+
| | bss
+-------------+
| | stack
+-------------+
| | heap
+-------------+
| | workspace
+-------------+0x0c0000
| | code
+-------------+0x0f0000
in console.c: Set the BSPConsolePort to BSP_UART_COM1
in bsp.h : #define RAM_END 0xC0000
we use exception 0-16 for monitor,not install raw IRQ 0-16 in rtems.
--------------
Another question involved with this changing is the thread wake up is invalid whatever set breakpoint at timer ISR.
I found the level = 12870 , when I set breakponit at _ISR_Flash( level ) in _Watchdog_Insert(). Is there a problem of this value?
----
Any help/suggestion/guess/comment on these problems will be
highly appresiated.
Danile LUO
_____________________________________________
????????--???????????????????? http://www.263.net
???????? ???????? ???????? ???????? ??????????
???????? ???????? ???????? ???????? ????????
???????? ???????? ???????? ???????? ????????