rtems gen68360 sio
Thomas Doerfler
Thomas.Doerfler at imd-systems.de
Tue Nov 16 06:51:23 UTC 2004
Sebastian,
I am sorry for that. Do you have a BDM debugger attached to your
MC68360? With this you could inspect the state of the software,
even when the console hangs.
What happens BEFORE you open your DUMP_DEVICE? And which device
do you have as "DUMP_DEVICE"? Do you have serial output on
"console", before the system freezes?
You might try to set the operating mode of the devices to
"TERMIOS_POLLED" instead of "TERMIOS_IRQ_DRIVEN", just to find
out if things are better then.
Do you really have your "console" attached to on SMC1?
wkr,
Thomas.
> hi,
> i am currently trying to get ur code (console.c) running. unfortunately no
> luck so far :(
>
> - i set the proper baud rate for my board/terminal
> - i activated /dev/tty05 as smc2 - channel_list now looks like this:
>
> struct {
> char *name;
> rtems_device_minor_number minor;
> int driver_mode;
> } channel_list[] = {
> /* {"/dev/tty00",CHN_SCC1,TERMIOS_IRQ_DRIVEN},*/
> /* {"/dev/tty01",CHN_SCC2,TERMIOS_IRQ_DRIVEN},*/
> /*{"/dev/tty02",CHN_SCC3,TERMIOS_IRQ_DRIVEN},*/
> /*{"/dev/tty03",CHN_SCC4,TERMIOS_IRQ_DRIVEN},*/
> /*{"/dev/tty04",CHN_SMC1,TERMIOS_IRQ_DRIVEN},*/
> {"/dev/tty05",CHN_SMC2,TERMIOS_IRQ_DRIVEN},
> {"/dev/console",CHN_SMC1,TERMIOS_IRQ_DRIVEN},
> {"/dev/modem",CHN_SCC4,TERMIOS_IRQ_DRIVEN}};
>
> but as soon as i call
>
> sio = open(DUMP_DEVICE, O_RDWR);
>
> the system halts - no panic - no further output - nothing :(
>
> any further hints ?
>
> thx
> seb
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_keys.htm
More information about the users
mailing list