How to start embedded SIP development on Blackfin uClinux

In the process of porting pjsip to Blackfin, you will need an appropriate embedded development board, software tools, and development host.

Embedded development board

  • There’s some choice of development boards, but for simplicity I suggest using the STAMP boards with its audio card.
  • You will need:
    • BF537-STAMP (available at Digi-Key)
    • AD1836A Audio Daughter Board (available at Digi-Key)
      • Again for simplicity, just order both the board and audio card from Digi-Key, even though technically you can contact your local distributor for Analog Devices. Certainly for people living in USA, it’s a no-brainer. I tried several places listed in the local distributor for UK, none have stock and certainly the audio card was hard to find. So I ordered from Digi-Key anyway, it was shipped within 24 hours. But I made the mistake of choosing Global Express Mail, it’s slooow and in the UK handled by ParcelForce. Enough said.
      • Be aware of customs, taxes, and the cost of collecting such taxes. For the UK, HMRC demanded about £55, and ParcelForce added £13.50 collection fee.
    • A straight-thru serial cable that ends in DB9 (9-pin) male. 180px-9_pin_d-sub_connector_male_closeup.jpg The other end depends on the serial port you have on your development host PC, usually you will need a 9-pin female plug. So look for a straight-thru (not null modem) 9-pin male to 9-pin female. In the UK I can recommend CableStar. Clear and fair pricing with fast delivery.
    • A network patch cable:
      • If you connect your Blackfin STAMP board directly to your development PC then you need a cross-over cable. Here’s one example on CableStar.
      • If you connect the board to a hub, then just a normal patch cable.

Software tools

  • All related embedded development tools can be downloaded from Blackfin Linux.
  • You will need:
    • A set of compilers, linkers called the Toolchain.
    • uClinux distribution
    • U-boot bootloader
  • I will detail the experience of setting up the development host with the tools above in another post.
  • Since I use Windows, I will also need coLinux as a host.

Development host

  • PC running Windows with coLinux. The docs/forum seems to suggest there is a Windows port of the tools, but the releases pages of the tools seems to be Linux only.
  • Available serial port. Modern PCs does not have this, so you may have to buy a USB-to-Serial adapter/dongle. Any make will do, I bought mine from eBay.
  • Available Ethernet LAN port if you want to connect the development board directly to your PC, which I recommend as it makes things a bit easier.

That’s all for now. In the next post I will connect them altogether, and hopefully have a running system.

Until then, if you have any suggestions or questions, just leave a comment!

About these ads

4 Responses to “How to start embedded SIP development on Blackfin uClinux”


  1. 1 David Rowe 4 April 2007 at 6:18

    Hi,

    Cool project. I have been working on embedded Blackfin telephony work for about 18 months now, I have ported Asterisk to the Blackfin (including codecs like G729 and GSM) and also worked with a team of people to develop open hardware designs such as FXO/FXS ports and custom Blackfin hardware.

    Let me know if u need any help with porting your software. I quite interested in alternatives the Asterisk on the Blackfin platform.

    Cheers,

    David

  2. 2 ismangil 4 April 2007 at 9:22

    David,

    Not as cool as your project!

    I will certainly keep you in the loop, and might well ask your advice over this porting project.

    Thanks for the comment.

  3. 3 xiaoqiu 13 April 2007 at 12:05

    Hi,

    I’m thinking about to do that as well. But I just knew some difference between linux and uclinux, like the memory thing, while knowing little about how to do the porting. Do you have some guidelines or any advice on that?

    Looking forword to your progress.

  4. 4 Akhil Kaushal P 8 January 2009 at 10:08

    Hi there,

    I need some help regarding the memory leak detection tool for uClinux on the Blackfin’s BF 527 board. Kindly suggest any memory leak detection and performance check tools for the above said development environment.

    Thanks,
    Akhil


Comments are currently closed.



Follow on

Subscribe to blog updates

View Perry Ismangil's profile on LinkedIn

a

RSS PJSIP builds

  • An error has occurred; the feed is probably down. Try again later.

Follow

Get every new post delivered to your Inbox.

Join 826 other followers

%d bloggers like this: