Changes between Version 14 and Version 15 of TBR/BSP/Mcf5235


Ignore:
Timestamp:
Mar 25, 2011, 6:51:06 PM (9 years ago)
Author:
Richard Campbell
Comment:

Added Board Setup, Debugging, and Test Results details

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Mcf5235

    v14 v15  
    3434
    3535This BSP also works with the Axiom Manufacturing's CMM-5235-OEM board [http://www.axman.com/?q=node/4].
    36 =  Test Results =
     36= Board Setup =
    3737
    3838
    39 CVS HEAD (August 20 2005) using gcc-3.4.3, binutils-2.15, and newlib-1.12.0: Tested successfully the hello world, ticker, the goAhead webserver sample applications, and all timing tests.
     39Here is the setup for the Axiom M5235BCC in the RTEMS Build Farm
    4040
    41 CVS Head (5 July 2006) using gcc-4.1.0, binutils-2.17, and newlib-1.14.0 under cygwin: Tested successfully the hello world test for both the Freescale M5235EVB and the Freescale M5235BCC evaluation boards. The tests were run both from RAM under dBug / BDM control as well as stand alone from Flash.
     41 dBUG> show
     42        base: 16
     43        baud: 19200
     44      server: 192.168.1.92
     45      client: 192.168.1.241
     46     gateway: 192.168.1.14
     47     netmask: 255.255.255.0
     48    filename: /mcf5235.exe
     49    filetype: ELF
     50     ethaddr: 00:20:DD:00:00:11
     51= Downloading and Executing =
     52
     53= tftp =
     54
     55Use the dn command to load an ELF image from the tftp server.
     56
     57Unfortunately, this fails on the board in the RTEMS build farm:
     58 dBUG> dn
     59 Ethernet Address is 00:20:DD:00:00:11
     60 Downloading ELF '/mcf5235.exe' from 192.168.1.92
     61 Program Headers:
     62  Segment #0 (Vaddr: 00040000, Paddr: 00040000, Size: 0005E310)
     63 \Access Error:  FS=8, Physical bus error on operand write
     64 PC: FFE3E146 SR: 2000 [t.Sm.000...xnzvc]
     65 An: 40000000 00006072 40000000 40000000 000060D6 000475F0 00006096 00006072
     66 Dn: 0000FFFF 0000FFFF 0000D058 00000004 000A70F8 00000001 0008F4B4 00000001
     67 FFE3E146: 41EE 0008            LEA       8(A6),A0
     68
     69= gdb =
     70
     71Use the method described in the Debugging section below.
     72= Debugging =
     73
     74
     75The RTEMS build farm debugs with gdb and the BDM interface using [http://sourceforge.net/projects/bdm/ BDM Tools], the Open Source development tools and drivers for Freescale Background Debug Module (BDM) interface and an [http://www.axman.com AxBDM] pod. Below is an example debugging session illustrating the use of gdb with the BDM tools:
     76
     77 [root@rtrack3 ~]# /opt/rtems-4.11/bin/m68k-rtems4.11-gdb
     78 GNU gdb (GDB) 7.2
     79 Copyright (C) 2010 Free Software Foundation, Inc.
     80 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
     81 This is free software: you are free to change and redistribute it.
     82 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
     83 and "show warranty" for details.
     84 This GDB was configured as "--host=i686-pc-linux-gnu --target=m68k-rtems4.11".
     85 For bug reporting instructions, please see:
     86 <http://www.gnu.org/software/gdb/bugs/>.
     87 ( gdb) target remote | m68k-bdm-gdbserver pipe /dev/tblcf1
     88 Remote debugging using | m68k-bdm-gdbserver pipe /dev/tblcf1
     89 trying usb driver: /dev/tblcf1
     90 m68k-bdm: detected MCF5235
     91 m68k-bdm: architecture CF5235 connected to /dev/tblcf1
     92 m68k-bdm: Coldfire debug module version is 0 (5206(e)/5235/5272/5282)
     93 Process /dev/tblcf1 created; pid = 0
     94 0xffe254b6 in ?? ()
     95 (gdb) file mcf5235.exe
     96 A program is being debugged already.
     97 Are you sure you want to change the file? (y or n) y
     98 Reading symbols from /root/mcf5235.exe...done.
     99 (gdb) load
     100 Loading section .text, size 0x59730 lma 0x40000
     101 Loading section .data, size 0x14f0 lma 0x99730
     102 Start address 0x40414, load size 371744
     103 Transfer rate: 4 KB/sec, 1946 bytes/write.
     104 (gdb) c
     105 Continuing.
     106
     107
     108= Test Reports =
     109
     110{{Test Report
     111|Version = CVS HEAD
     112|Date    = August 20 2005
     113|User    = [wiki:User:Unknown User:Unknown]
     114|Report  = using gcc-3.4.3, binutils-2.15, and newlib-1.12.0: Tested successfully the hello world, ticker, the goAhead webserver sample applications, and all timing tests.
     115}}
     116
     117{{Test Report
     118|Version = CVS HEAD
     119|Date    = 5 July 2006
     120|User    = [wiki:User:Unknown User:Unknown]
     121|Report  = using gcc-4.1.0, binutils-2.17, and newlib-1.14.0 under cygwin: Tested successfully the hello world test for both the Freescale M5235EVB and the Freescale M5235BCC evaluation boards. The tests were run both from RAM under dBug / BDM control as well as stand alone from Flash.
     122}}
     123
     124{{Test Report
     125|Version = CVS head
     126|Date    = DATE
     127|User    = [wiki:User:Richard_Campbell User:Richard Campbell]
     128|Report  = Successfully ran ticker; File I/O test hangs in IntUartPollWrite with no console output.
     129}}
     130= References =
     131
     132
     133 *  http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8313E-RDB&fsrch=1