Background Telemetry Channel (BTC) on the BlackFin Presented by Alan Martin Winter 2004 - ENCM 515.

Slides:



Advertisements
Similar presentations
Teacher/Mentor Institute Using the Cortex Chuck Powell.
Advertisements

ECE 495: Integrated System Design I
Introduction to HT-IDE3000 Micro-C development System Department.
Code Composer Department of Electrical and Computer Engineering
Slides created by: Professor Ian G. Harris PIC Development Environment MPLAB IDE integrates all of the tools that we will use 1.Project Manager -Groups.
A look at interrupts What are interrupts and why are they needed.
Microcomputer Systems 1
Lab6 – Debug Assembly Language Lab
V EX C OACHES ' T RAINING October 12, Agenda for Today 9 – 10 AM : Tina Reeves and the Engineering Notebook 10 – Noon : Finish Building, Basic Robot.
All About Android Introduction to Android 1. Creating a New App “These aren’t the droids we’re looking for.” Obi-wan Kenobi 1. Bring up Eclipse. 2. Click.
TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.
A look at interrupts What are interrupts and why are they needed in an embedded system? Equally as important – how are these ideas handled on the Blackfin.
A look at interrupts What are interrupts and why are they needed.
This is your desktop. Open a browser and Click on this link.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
Laboratory 1 – ENCM415 Familiarization with the Analog Devices’ VisualDSP++ Integrated Development Environment.
LAUNCHXL2-RM57L – Project 0
Just enough information to program a Blackfin Familiarization assignment for the Analog Devices’ VisualDSP++ Integrated Development Environment.
7/14/20151 Introduction toVisual DSP Kernel VDK for Multi-threaded environment ENCM491 – Real Time (in 1 hour) M. Smith, Electrical and Computer Engineering,
1 Introduction to Programming Environment Using MetroWerks CodeWarrior and Palm Emulator.
Portable Software. This program will explain what portable software is, how it can be used, and where it can be found. This is an advanced level technology.
Embedded Programming and Robotics Lesson 2 C Programming Refresher C Programming1.
LAMAD Symbian Qt install and deploy Installing Qt SDK and deploying Qt applications.
Introduction Purpose Objectives Content Learning Time
Label production Solution with Label Gallery programs Label Gallery is used for general label design and print GalleryForm is used to create data entry.
System Resources INFO1119 (Fall 2012).
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
MDK-ARM Microcontroller Development Kit MDK: Microcontroller Development Kit.
How to download video using a USB or analog connection.
Silicon Labs ToolStick Development Platform
The World Leader in High Performance Signal Processing Solutions Low Cost JTAG Emulator for Blackfin® Processors.
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Spring 2014 SILICON VALLEY UNIVERSITY CONFIDENTIAL 1 Introduction to Embedded Systems Dr. Jerry Shiao, Silicon Valley University.
U-Boot Debug using CCSv5 In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot on an EVM platform.
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
Tutorial 11 Installing, Updating, and Configuring Software
SLC 500 Ethernet Processor Communications Configuration
Assembly Language Review Being able to repeat on the Blackfin the things we were able to do on the MIPS 9/19/2015 Review of 50% OF ENCM369 in 50 minutes1.
ECE Department: University of Massachusetts, Amherst Using Altera CAD tools for NIOS Development.
How to create a Splash Screen in MS Access Carlos Coronel.
BIT115 Downloading & Installing the BIT115 Software & Programs.
Debugging an Application Lab. Build/Debug Process A start Load Closest Sample “debug” into MULTI editor Cut and Paste Changes into Sample Build Modified.
Operating Systems. Definition An operating system is a collection of programs that manage the resources of the system, and provides a interface between.
TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.
How to upgrade Nymi Band firmware. Step 1 Go to and download the firmware update file. *N.B. The.
Support Across The Board ™ Visual DSP Kernel (VDK)
Lab. 2 Overview. Echo Switches to LED Lab1 Task 7 12/4/2015 TDD-Core Timer Library, Copyright M. Smith, ECE, University of Calgary, Canada 2 / 28.
ECE 3551 MICROCOMPUTER SYSTEMS 1 Introduction to Visual DSP++
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
By Kanjimana B. Nawezi.  Installing iTunes  Setting up Your iPod  Importing songs from CDs into iTunes  Downloading songs from a website into iTunes.
Teaching Digital Logic courses with Altera Technology
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
“Lab. 5” – Updating Lab. 3 to use DMA Test we understand DMA by using some simple memory to memory DMA Make life more interesting, since hardware is involved,
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
Using Zappers in a Common Learning Space A guide for tutors Created by Adam Warren Learning and Teaching Enhancement Unit.
Matthew Locke November 2007 A Linux Power Management Architecture.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
VDK Concepts and Features How to Create a Project with VDK support
PRU-ICSS Programming with CCS
Microcomputer Systems 1
Microcomputer Systems 1
TigerSHARC processor and evaluation board
Moving Arrays -- 2 Completion of ideas needed for a general and complete program Final concepts needed for Final DMA.
ECE 3567 Microcontroller Lab
Single Value Processing Multi-Threaded Process
Concept of TDD Test Driven Development
Lab. 2 Overview Move the tasks you developed in Lab. 1 into the more controllable TTCOS operating system.
Overview of SHARC processor ADSP-2106X Memory Operations
VDK Concepts and Features How to Create a Project with VDK support
Embedded Development Tools
Presentation transcript:

Background Telemetry Channel (BTC) on the BlackFin Presented by Alan Martin Winter ENCM 515

What is it? BTC is a method of communication between an embedded processor (the Blackfin in this case) and the host (your computer). This communication occurs in the background, not interfering with other tasks that the processor may be performing at the time

How does it work? BTC uses shared registers that both the host and target application have read/write access to during program run-time BTC is designed for use over a JTAG connection through an emulator USB works, but to a limited extent

Why do I care? You can view data without having to stop the processor first. You can view data that is constantly changing, and watch it change You can change data values while the program is running, and the program will immediately use these new values without having to recompile

WOW! How do I use it? You need to include a library file with your project – libbtc532.dlb on the Blackfin 533 You should also include btc.h with your project, unless you know all the macros you’ll need and define them yourself (this is a waste of time in my opinion, since the header file is easy to use)

Is that it? Not entirely. You still need to define some BTC channels in your program You also need to initialize BTC Finally, you need to set the priority of BTC

Channels? Like CNN? You need to define a name for each channel (basically a label for some data you will read) You also need to define the starting address and the length of the channel, much like a circular buffer

Initialize? Priority? What? BTC priority is determined by where you put the btc_poll function call. For example: Placing it in a high-priority interrupt effectively makes it high priority Placing it in a low-priority interrupt gives it low priority Placing it in a loop in the main body of the function can have different effects depending on how interrupts on your system work

Are you quite finished? Well… no. BTC is now setup and ready for use, but you have to setup the BTC window in VisualDSP++ to read/write the values. You also need to do a couple things in order to view a plot being updated by BTC as you go.

BTC memory? The BTC memory window is a debug window, much like Plot. It can be accessed through the same menu Double-click on a number to edit it (if possible).

Plot windows with BTC? How? Open a plot window as normal Right click on the window and select Auto Refresh Settings… and then select the settings you need Don’t forget to set the refresh rate and activate the Auto Refresh

Now are you finished? Yes. BTC is now ready to use! Build the program, run it, and you’ll see BTC in action!

You lied! This doesn’t work! The simulator does not currently support BTC Using the USB connection will give you a much more limited amount of BTC. You can still view arrays, but only one plot at a time can be updated. (There may be other limits as well, but those are what I have found)

Are there any examples? There are a few sample programs available that use BTC. Timer run using C code Timer run using Assembly code FFT code, which updates a plot Audio example, where you can modify a value using BTC for volume control

Did you say Assembly code? Yes, I did. BTC can be run in Assembly code as well as C/C++. The code is only slightly more complicated.

Now I can use BTC? Now you can use BTC. For best learning, download one of the examples and run it. The examples come with a readme.txt file that explains how to operate BTC in VisualDSP++. There’s no better way to learn than by doing

Who told you what to say? (aka References) “VisualDSP++ Development Environment for Analog Devices Embedded Processors for Digital Signal Processing”, Analog Devices, 2003 “VisualDSP++ Getting Started Guide for 16-bit Processors”, Analog Devices, n.d. Examples programs of BTC operation from sample programs installed with VDSP 3.5