[Help Me] Download and running problem with 68360

Kim, Jeong-Hwan frog at lgic.co.kr
Mon Jun 5 02:06:49 UTC 2000


Hi, 
I'am beginning with RTEMS 4.0  and I made a bdm board with Eric Norum's 
bdm schematic.
First, I downloaded the sample executable file (ex. termios.exe and hello.exe)
with m68k-rtems-gdb.
But the result was not good.
The error message was as follows :


frog at debian:/usr/local/rtems/rtems/gen68360/samples> !!
m68k-rtems-gdb termios.exe
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=m68k-bdm-elf"...
Breakpoint 1 at 0x400
Breakpoint 2 at 0x312e: file error.c, line 207.
Breakpoint 3 at 0x1d8c: file interr.c, line 50.
Breakpoint 4 at 0x3160: file fatal.c, line 35.
Breakpoint 5 at 0x4a4
(gdb) break _Init68360
Breakpoint 6 at 0x1098: file init68360.c, line 364.
(gdb) r
Starting program: /usr/local/rtems/rtems/gen68360/samples/termios.exe 
Do you want to download `/usr/local/rtems/rtems/gen68360/samples/termios.exe'?(y or n) y
(null)
(gdb) r
Starting program: /usr/local/rtems/rtems/gen68360/samples/termios.exe 
Do you want to download `/usr/local/rtems/rtems/gen68360/samples/termios.exe'?(y or n) y

Program received signal SIGBUS, Bus error.
0x0 in __RamBase ()
(gdb) 



What do you think the reason of this problem is...??
I modified "linkcmds" file and init68360.c in startup directory because the board memory map
is different from a demo bsp board.
I found "OAR copyright" message part in RAM memory, so I thought the sample program was
downloaded successfully.
However, Is there any method that assure a program is downloaded successfully ??









More information about the users mailing list