FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-25-2006, 06:53 PM
mallu....
Guest
 
Posts: n/a
Default TMS320F2812 not working on flash

Thanks to the inputs from you folks, i have been able to compile and
link the RAM code in the Flash.The application logic developed works
well with both serial ports fully functional and also the PID loop
works well on RAM.Howerver after porting it on the Flash using the SD
flash loader ..the serial interrupts dont seem to work, and no data is
transmitted or recieved on the serial ports.I checked using the Load
symbols options and put a break point in the Recieve interrupt but it
was not getting interrupted.This was doneby running the code from the
flash and using the Emulator for checking.
However if i compile and run the same code in RAM it works clockwork..

Kindly revert with your suggestions

Looking forward for your reply.

Thanks

Reply With Quote
  #2 (permalink)  
Old 11-26-2006, 03:54 AM
Jack Klein
Guest
 
Posts: n/a
Default Re: TMS320F2812 not working on flash

On 25 Nov 2006 09:53:40 -0800, "mallu...." <[email protected]>
wrote in comp.dsp:

> Thanks to the inputs from you folks, i have been able to compile and
> link the RAM code in the Flash.The application logic developed works
> well with both serial ports fully functional and also the PID loop
> works well on RAM.Howerver after porting it on the Flash using the SD
> flash loader ..the serial interrupts dont seem to work, and no data is
> transmitted or recieved on the serial ports.I checked using the Load
> symbols options and put a break point in the Recieve interrupt but it
> was not getting interrupted.This was doneby running the code from the
> flash and using the Emulator for checking.
> However if i compile and run the same code in RAM it works clockwork..
>
> Kindly revert with your suggestions
>
> Looking forward for your reply.
>
> Thanks


You are doing something wrong, but you are not really giving us the
information we need to figure out what it is you are doing wrong. The
2812 certainly executes from flash if you do it properly, we've been
doing it for more than 3 years now.

Have you read and followed the instructions TI's application note,
which you can find here:

http://focus.ti.com/dsp/docs/dspsupp...tName=spra958f

There are both an application note and some sample source code files
available on that page.

You seem to be going way too far, when you have a problem of this
nature. Try writing a much simpler program, one with a long software
delay loop that toggles a single GPIO pin set as an output, so you can
see on a scope whether it works or not. Set a break point on the
first instruction of main(), to see if execution even reaches that
point. Or even reset the processor with CCS and the JTAG debugger and
single step from the reset vector to see where it goes.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TMS320F2812 Running application from Flash mallu.... DSP 4 11-22-2006 02:59 PM
burn flash TMS320F2812 from Serial Port shush DSP 0 03-29-2006 02:34 PM
Urgent Help needed for Programming Flash for TMS320F2812 rohithcs DSP 3 09-19-2005 01:48 PM
TMS320F2812 ADC Ajay DSP 10 08-05-2005 08:33 PM
flash TMS320F2812 Yvo DSP 4 07-01-2005 02:37 PM


All times are GMT +1. The time now is 02:23 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved