LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2007, 10:57 AM   #1
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
ti dsp interrupt programming


Does anyone here know how to program the TI 320C6416 DSP? I'm integrating it with a SBC running Linux for an embedded radar application, and while I have the entire Linux side of the interface working, the interrupt structure of the DSP is giving me fits. All I have to work with is an executive (with very limited capability, as befits an embedded system) and the TI Code Composer development suite.

I have mountains of reference material on this chip, but no HowTos, so sorting this out is becoming a very painful process (and expensive for my client).

Basically, I need to have my Linux host generate an interrupt on the DSP, and the interrupt handler on the DSP then wakes up a task that does a DMA transfer to the host as a bus master. At this point, I seem to be unable to get the interrupt handler on the DSP to actually respond to the interrupt.

This is driving me nuts, and I sure would appreciate it if someone could steer me appropriately.
 
Old 10-21-2007, 03:19 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 116Reputation: 116
Well...I have it figured out now. My major problem turned out to be something that Code Composer Studio does...
 
Old 10-24-2007, 11:35 AM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 116Reputation: 116
...and actually, now I REALLY have it figured out.

The development board I am using has a hardware fault in the memory address/refresh logic. Makes debugging really, really hard when you get random changes in program code (which can't be accounted for by wild pointers). But when you finally manage to instrument in a fashion where you see it happen...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DSP Video Processing Without DSP Programming via Open Source APIs LXer Syndicated Linux News 0 11-07-2006 05:21 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
control is not going to interrupt handler when interrupt comes in serial driver sateeshalla Linux - Kernel 1 05-04-2006 09:43 AM
<0>Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing mrb Linux - Newbie 2 01-09-2005 09:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration