Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | download programme in c for 21060

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

download programme in c for 21060 - thota nageshwar - May 20 7:43:00 2003



dear friends
help in writing the download programme in c for adsp
21060 so that i can download my application programme
to the target board give the details of the serial
port initialization etc.





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: download programme in c for 21060 - Mike Rosing - May 20 13:36:00 2003

On Tue, 20 May 2003, thota nageshwar wrote:

> dear friends
> help in writing the download programme in c for adsp
> 21060 so that i can download my application programme
> to the target board give the details of the serial
> port initialization etc.

That kind of thing should be on the ADI web site. Look at the EZ-KIT
code. They have UART's and examples in both C and assembler.

Patience, persistence, truth,
Dr. mike





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: download programme in c for 21060 - Bhaskar Das - May 20 13:40:00 2003

Hi T_Nageshwar,

> help in writing the download programme in c for adsp
> 21060 so that i can download my application programme
> to the target board give the details of the serial
> port initialization etc.

In case you are relying on the in-built serial port of adsp 21060, then
chapter 10 of adsp manual is the right place to refer to.
Also you need to adhere to the protocol as per the output file format
generated by the visual dsp compiler. For application download over a
monitor code the BYTE STACKED FORMAT is the easiest one. The BYTE STACKED
FILE FORMAT is the least complicated one where a header is followed by a
data stream. The linker manual under visual dsp 3.0 compiler gives you every
detail of the BYTE STACK FORMAT.
For visual dsp 2.0 compiler, you may need to refer to the linker manual.
Also don't forget to activate to HOST PACKING MODE BIT in the MODE1
register. To load a 32-bit wide opcode onto the internal/external memory a
pointer based operation would do the needful. However, to load a 48-bit wide
opcode, onto the internal/external memory, you have to rely on the px
registers. Be careful on that part for it has something to do with the ADSP
data allingment. Chapter 5 of adsp manual gives a proper explanation for px
register data transfer procedures.

Regards,
Bhaskar Das ______________________________________
Scanned and protected by Email scanner




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: download programme in c for 21060 - Jens Michaelsen - May 23 6:57:00 2003

UART code in the EZ-KIT??
Software or Hardware UART??
Should I find it in my 065L EZ-KIT too??

Did someone implement a proper
RS232 software receiver??

Jens Michaelsen

----- Original Message -----
From: "Mike Rosing" <>
To: "thota nageshwar" <>
Cc: <>
Sent: Tuesday, May 20, 2003 3:36 PM
Subject: Re: [adsp] download programme in c for 21060 > On Tue, 20 May 2003, thota nageshwar wrote:
>
> > dear friends
> > help in writing the download programme in c for adsp
> > 21060 so that i can download my application programme
> > to the target board give the details of the serial
> > port initialization etc.
>
> That kind of thing should be on the ADI web site. Look at the EZ-KIT
> code. They have UART's and examples in both C and assembler.
>
> Patience, persistence, truth,
> Dr. mike >
> _____________________________________
> /groups.php3





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: download programme in c for 21060 - Mike Rosing - May 23 13:18:00 2003

On Fri, 23 May 2003, Jens Michaelsen wrote:

> UART code in the EZ-KIT??
> Software or Hardware UART??
> Should I find it in my 065L EZ-KIT too??
>
> Did someone implement a proper
> RS232 software receiver??

I don't have the 065L kit, but on the 061 kit there is a hardware
uart that is memory mapped. I would think there's one on the 065L kit
too. The code must be on the ADI web site, or in your 065L manuals
on the CD that came with the kit.

Patience, persistence, truth,
Dr. mike




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: download programme in c for 21060 - Jaime Andres Aranguren Cardona - May 23 20:26:00 2003

Use the UART as a simple peripheral of the 065L. It will interrupt the DSP everytime it has a data value. Then you can read it. So, hardware UART, 16550 I think.
 
JaaC

Jens Michaelsen <j...@web.de> wrote:
UART code in the EZ-KIT??
Software or Hardware UART??
Should I find it in my 065L EZ-KIT too??

Did someone implement a proper
RS232 software receiver??

Jens Michaelsen

----- Original Message -----
From: "Mike Rosing"
To: "thota nageshwar"
Cc:
Sent: Tuesday, May 20, 2003 3:36 PM
Subject: Re: [adsp] download programme in c for 21060> On Tue, 20 May 2003, thota nageshwar wrote:
>
> > dear friends
> > help in writing the download programme in c for adsp
> > 21060 so that i can download my application programme
> > to the target board give the details of the serial
> > port initialization etc.
>
> That kind of thing should be on the ADI web site. Look at the EZ-KIT
> code. They have UART's and examples in both C and assembler.
>
> Patience, persistence, truth,
> Dr. mike>
> _____________________________________
> /groups.php3_____________________________________
/groups.php3



Jaime Andrés Aranguren Cardona
j...@ieee.org
jaime.arangure...@computer.org





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )