EZKit533

From RTEMSWiki
Jump to: navigation, search
EZKit533
Bf533 ezkit.jpg
Board NameEZKit533
ManufacturerAnalog Devices Inc.
Referencehttp://www.analog.com/en/evaluation/bf533-ezlite/eb.html
ArchitectureBFN
CPU ModelBlackfin 533 CPU
Runs on Simulator?Yes, Skyeye Simulator
AliaseseZKit533
RAM64 MB (32M x 16-bit) SDRAM, 2 MB (512K x 16-bit x 2) FLASH memory
Non-volatile MemoryNon-volatile memory unspecified.
Serial PortsADM3202 RS-232
VideoYes, ADV7171 video encoder w/ 3 output RCA jacks
OtherJTAG ICE 14-pin header and Performance up to 600 MHz


This is an evaluation Board from Analog Devices for the Blackfin 533 CPU. Information can be found here : http://www.analog.com/en/prod/0%2C2877%2CBF533%25252DHARDWARE%2C00.html

This BSP has a Console Driver for a the built-in UART which supports polling or interrupted mode. It does also have a driver for core clock and timer. The BSP runs in supervisor mode.

The BSP executes on real hardware as well as on the skyeye simulator.


Contents

Toolchain

Thanks to Ralphs continous improvements on the RTEMS Toolchain packages you can download automatically generated RPMS of the toolchain from [1]

If you do use a debian based distribution you might add a line like :

deb http://www.itasat.ita.br/rtems/ unstable main

to the file /etc/apt/apt.sources and then do

apt-get install bfin-rtems-binutils bfin-rtems-gcc skyeye-rtems

If you want to build your toolchain by yourself : donwload binutils 2.17, gcc 4.2 and newlib 1.15, apply Ralfs patches from RTEMS CVS (inside the contrib directory) and compile the for the bfin-rtems target.

Compiling RTEMS for Blackfin

See RTEMS_GIT_Repository on instructions how to checkout the RTEMS source code. To compile RTEMS do :

run the bootstrap script in the RTEMS source directory.

run the configure from a directory outside of RTEMS source

../rtems-cvs/configure --target=bfin-rtems --enable-posix --disable-networking --enable-cxx 
    --enable-rtemsbsp=eZKit533 --prefix=/usr/local/rtems

run

sudo make install

you can find hello world in /usr/local/rtems/bfin-rtems/eZKit533/lib/rtems-4.8/tests/

Skyeye Simulator

The Skyeye Simulator supports Timer and UART. The used skyeye configuration file is :

arch:blackfin
mach:bf533

The current versions 1.2.2 as well as subversion need a small hack to get the rtems timer running. In the file arch/bfin/mach/bf533_io.c change the line

#define BF533_HZ 50

to a value like 70000

Hardware Debugging

During development of this BSP the Icebear JTAG adaptor has proved to be very helpful. http://www.section5.ch/icebear

Live CD

There is a Ubuntu Edgy LiveCD with a complete RTEMS Blackfin development Environment available at http://www.itasat.ita.br/portuguese/Ubuntu/ubuntu-bfin-live.iso

Beware this CD has not yet been updated to ubuntu edgy. It is also not able to run bootstrap with the current CVS/Git head and tools but might work to setup a development machine.

Wishlist

* loading from flash via bfin bootloader (beeing finished by Alain Schäfer)
* Proper support for Data and Instruction Cache
* Filesystem support for the on-board flash
* GDB Stub for debugging via Serial Port

Test Reports

CVS head -- (25 October 2006) Alain Schäfer reports sucessful execution of Hello, Ticker, Paranoia and other tests on the Hardware as well as on Skyeye

References

  1. http://www.analog.com/en/processors-dsp/blackfin/adsp-bf533/products/product.html
  2. http://docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf533-ezkit
  3. http://en.wikipedia.org/wiki/Blackfin
  4. http://www.analog.com/static/imported-files/eval_kit_manuals_legacy/402257434ADSP_BF533_EZ_KIT_Lite_Manual_Rev._1_3.pdf
Personal tools
Namespaces

Variants
Actions
Navigation
Gedare's Special Help
Toolbox