Presentation is loading. Please wait.

Presentation is loading. Please wait.

Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine.

Similar presentations


Presentation on theme: "Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine."— Presentation transcript:

1 Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine

2 Introduction The Internet is capable of wide- scale multimedia streaming Current analog streaming are limited to range, ex. t.v., FM radio We propose to create an Internet Radio player

3 Original Objectives and Deliverables Connect to a remote server via TCP/IP Receive streaming audio Decode the streaming audio Convert a digital signal into an analog signal Output the analog signal to a line out Scanning functionality Preset and programmable buttons Final product: a functional web radio player

4 Background Multimedia Technology Multimedia Streaming TCP/IP Embedded System

5 Approaching the Problem Research uClinux Software Scanning functionality Downloading mp3 data Decoding mp3 data

6 Approaching the Problem cont. Hardware DAC/Speakers LCD Button interface Integration Software integration Device drivers

7

8 Coldfire Board What it provides: 8 MB RAM 1 MB Flash ROM NE2000 compatible Ethernet interface 2 serial connections, 1 for Terminal 1 16 bit general purpose parallel I/O port

9 uClinux The Linux/Microcontroller project is a port of the Linux 2.0 to systems without a Memory Management Unit At present, only Motorola MC68000 derivatives are supported NFS and SMB file-systems can be mounted

10 uClinux-negative cont. no fork() - use vfork(), check semantics still OK. limited libc - either add more to libc, or remove some functionality. binary size - currently exec() loader can't handle things bigger than 128k. This can be extended by hacking the linux/mmnommu code, grep for BIGALLOCS.

11 Software Design

12 Scanning Broadcasting Sites Use a packet sniffer? Security risks Difficult implementation Use Shoutcast’s web page! Contains mp3 broadcasting sites Download contents of page Parse page Store into an array

13 Downloading MP3 Data Connect to the site (tcp connection) Issue command to send Receive data into buffers Store buffers into a file

14 Decoding the MP3 Data Input the MP3 file that was downloaded Use Huffman’s Algorithm to decode it minimal variable-length encoding based on the frequency of each character Output the decoded data to the DAC

15 DAC Driver purpose of the DAC driver is to allow data in memory to be sent to the physical DAC via a programmable port accepts a buffer of data and a given frequency, and will output one 16 bit value at each period to the physical DAC data has to be sent to the physical DAC one bit at a time

16 Original Timeline Componen t 1234567891011121314 Install Software XS Network Interface XXTP Digital-to- Audio XXTR MP3 Decoding XXTI RCA line out, Speakers XTN Integration of hardware XGTT LCD Interface XT Button Interface BXXT Net Scan RXXT Integration of System EXX Testing ATTT Final Presentation KX

17 Modified Timeline Component 7891011121314 Install Linux in ROM SX Connect to Website & Download MP3 data PXXT MP3 Decoding RXXT Scanning Algorithm IXXT Button & LCD Interface NXXT DAC and LCD Drivers GXXT Integration of All Hardware BXX Integration of Whole System RXXX Testing ETTT Final Presentation AXX K

18 Accomplishments Connect to a remote server via TCP/IP Receive streaming audio Decode the streaming audio Convert a digital signal to an analog signal Output the analog signal to a line out Scanning functionality Preset and programmable buttons X Final product: a functional web radio player X

19 Current Problems Limited commands with uClinux Integration of software and hardware DAC device driver Passing data between programs Size of the ROM 1 MB ROM vs. 3.6 MB kernel Unreliable Coldfire board

20 QUESTIONS ?


Download ppt "Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine."

Similar presentations


Ads by Google