Difference between revisions of "EBC Mini Project 03"

From eLinux.org
Jump to: navigation, search
m (Moved to Fall 2012 category)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:ECE497 |Mini03]]
+
[[Category:ECE497Fall2012 |Mini03]]
 
{{YoderHead}}
 
{{YoderHead}}
 +
 +
<blockquote style="color:red">
 +
'''Note:''' In future classes consider breaking this into two projects, one with video and user input and the other audio.
 +
</blockquote>
  
 
This mini project is a follow up on the audioThru and videoThru labs.  At this point you should have both audio and video working in their own threads in one app.  This mini project starts there and adds a feature.  On user input,  
 
This mini project is a follow up on the audioThru and videoThru labs.  At this point you should have both audio and video working in their own threads in one app.  This mini project starts there and adds a feature.  On user input,  
Line 15: Line 19:
 
Write a small (less than one page) memo that highlights the features of this mini project and demo it.
 
Write a small (less than one page) memo that highlights the features of this mini project and demo it.
  
''Note:'' If you have issues with Framebuffer 2 (mmap fails), you may have to allocate memory to it.
+
''Note:'' Copy the vid2Show and the setDSSpaths to lab 8 folder and call vid2Show after making minor modifications to the file to show both video buffers.
 +
 
 +
''Note:'' If you have issues with Framebuffer 2 (mmap fails), it may not have memory properly allocated. Before running your application, enter this command:
 
  echo 4000000 > /sys/class/graphics/fb2/size
 
  echo 4000000 > /sys/class/graphics/fb2/size
 
Courtesy of the [http://elinux.org/BeagleBoardFAQ#omapfbplay_mmap_fails BeagleBoard FAQ]
 
Courtesy of the [http://elinux.org/BeagleBoardFAQ#omapfbplay_mmap_fails BeagleBoard FAQ]
 
{{YoderFoot}}
 
{{YoderFoot}}

Latest revision as of 08:48, 10 September 2013

thumb‎ Embedded Linux Class by Mark A. Yoder


Note: In future classes consider breaking this into two projects, one with video and user input and the other audio.

This mini project is a follow up on the audioThru and videoThru labs. At this point you should have both audio and video working in their own threads in one app. This mini project starts there and adds a feature. On user input,

  1. have the Video2 display a copy of the current image in Video1. Video1 is to keep displaying live video.
  2. replay the last 5 seconds of audio, while continuing to play the live audio.

You can decide what the user input is. It may be

  1. User hits return in the terminal
  2. Sensor detects the user
  3. etc.

Keep in mind this is on the xM, so the sensors you used before may not work. For example, there is no analog in.

Write a small (less than one page) memo that highlights the features of this mini project and demo it.

Note: Copy the vid2Show and the setDSSpaths to lab 8 folder and call vid2Show after making minor modifications to the file to show both video buffers.

Note: If you have issues with Framebuffer 2 (mmap fails), it may not have memory properly allocated. Before running your application, enter this command:

echo 4000000 > /sys/class/graphics/fb2/size

Courtesy of the BeagleBoard FAQ



thumb‎ Embedded Linux Class by Mark A. Yoder