The setup of a Blackfin BF537-STAMP board involves plugging in the AD1836A audio board, AC Adapter, network cable, serial cable, and using Hyperterminal to monitor boot-up sequence of the BF537 board.
This post builds on previous posts on porting pjsip to Blackfin and assembling components for embedded systems programming.
I will start with hardware setup as it is the easiest, so hopefully success at this will motivate you for the software setup, which can be, to use a technical term, fiddly.
- Unpack the BF537 board and audio daughterboard.
- Plug the audio daughterboard to the mainboard, using the
SPORT 0connector. Match up pin 1 on both boards. You will end up with a dangling audio board, put some support under the audio board so it doesn’t strain the SPORT connector.
- Connect the BF537 board to the development PC using the serial and ethernet cable.
- Using HyperTerminal, connect to the serial port where the connecting cable is plugged in. As advised by the Blackfin uClinux docs website, use these setting:
- Plugin the AC adapter to the BF537 board. You should see lights turning on the board itself, and uClinux should be booting on your HyperTerminal console. You will end up in the uClinux prompt.
- Congratulations, you’ve successfully setup an embedded system! (Well, an embedded development environment really)
The main steps in setting the tools needed are:
- Setup coLinux from Blackfin uClinux. Includes setting up networking so coLinux and BF537 board can see each other.
- Replace old toolchain in coLinux.
- In coLinux, download the uClinux distribution and U-Boot that matches the toolchain version.
- Replace U-Boot bootloader on BF537 board.
- Setup U-Boot to boot the uClinux downloaded in step 3.
- Use tftp server on coLinux so we can transfer file from host PC to BF537 board.
Steps in greater detail (with links to documentation as appropriate):
- Setup coLinux. I used the one available on Blackfin uClinux site and followed instructions from the documentation site.
- If your installation is successful you should be able to login to coLinux.
- Replacing the tool chain involves deleting the old one using
apt-get removeand installing the new one using
- Releases in Blackfin uClinux are named in the format of 2006R2, 2007R1 etc. It is important to know this because you need to have the same release of these software
- Upgrade the shipped U-Boot on the BF537 board with the latest one.
- Boot uClinux by downloading the image to BF 537 board.
- Now you can try the Hello World application.
- When you can compile and run the Hello World application, you are all set to begin real development!
Any questions or problems, just leave a comment.