wiki:TBR/BSP/Csb637
Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Version 12 (modified by Ayushman Mishra, on 02/12/21 at 16:44:16) (diff)

--

Csb637

Infobox BSP

BSP_namecsb637
ManufacturerCogent Computer Systems, Inc.
imageADSP BF537 STAMP color dark.jpg
captionoptional image caption
Board_URLhttp://www.cogcomp.com/csb_csb637.htm
ArchitectureARM9 - arm920t
CPU_modelAtmel AT91RM9200
MonitorMicromonitor - uMon
SimulatorNo
AliasesNo
RAM64Mbyte 32-Bit SDRAM (external)
NVMEM8Mbyte 16-Bit StrataFLASH
Serial4 general purpose (Driver), 1 debug (Driver)
NICs1 integrated 10/100 Ethernet
Other-

Overview

This is the BSP for OEM Single Board Computer csb637 from Cogent Computer Systems, Inc. This BSP is a variation of csb337 BSP which includes the following slight but important hardware and software differences:

  • External memory CSB337: 16MB SDRAM CSB637: 64MB SDRAM
  • Video buffer: CSB337: 1MB CSB637: 8MB
  • Video driver: CSB337: S1D13706 CSB637: S1D13506
  • PHY Layer: CSB337: LXT971ALC CSB637: BCM5221
  • RTEMS Driver for 4 USARTs in polled mode
  • RTEMS Driver for LCD and console mirror
  • RTEMS Driver for uMon
  • ?? Some GPIO or interrupts moved arround.

The csb637 BSP was developed and tested using the KIT637 V6 Development Kit from Cogent. This Development Kit is composed by the CSB637 Single Board Computer, the CSB937 Main Board for the Target, Optrex LCD (T-51750AA, 640x480), LCD Inverter(xx) and Touchscreen (not supported in this BSP). The IDE and USB (host and device) interfaces are also not supported. The SD and Compact Flash card drivers are still under development. This BSP were added in the RTEMS 4.10 version.

Cogent CSB637 product page is http://www.cogcomp.com/csb_csb637.htm

Atmel AT91RM9200 product page is http://www.atmel.com/dyn/products/product_card.asp?part_id=2983

uMon page is http://www.umonfw.com/

Board Setup

The KIT637 V6 Development Board uses TFTP to download RTEMS executables. The initial setup is the configuration of the Board IP. It can be made through the Kit serial debug port connected to a PC and using a terminal window. This configuration is described in the uMon manual and summarized as follows:

set IPADD xxx.xxx.xxx.xxx --> xxx.xxx.xxx.xxx is the IP to set for KIT637 V6 Kit set -f netcfg tfs cp netcfg monrc

Downloading and Executing

To download RTEMS executables in the KIT637 V6 Development Board using TFTP firstly the [rtems_executable_file.exe] must be transformed from .exe to .bin. Run the following command in the environment where RTEMS is installed and in the PATH where the [rtems_executable_file.exe] is stored:

arm-rtems4.10-objcopy -O binary [rtems_executable_file.exe] [rtems_binary_file.bin]

After the change to [rtems_binary_file.bin] run the following commands in the terminal window:

tftp xxx.xxx.xxx.xxx get /PATH/[rtems_binary_file].bin 0x20100000 --> xxx.xxx.xxx.xxx is the IP set --> PATH is the complete path of the TFTPServer where the file [rtems_binary_file.bin] is stored call 0x20100000

The execution should start from the external SDRAM (0x20100000 address).

Debugging

Debugging is done by comparing the [rtems_executable_file.exe] with source through the objdump command:

arm-rtems4.10-objdump -da --source [rtems_executable_file.exe] > [rtems_dump_file_name]

Hardware emulators and GDB were not used and tested.

Test Reports

Fernando G. Nicodemos tested in Dec-11-09: 1) USART drivers were tested in polled mode in transmit and receive 2) NIC driver were tested with network_demo RTEMS example

{{Navbox_BSPs}}