Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
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. |
|
|
|
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 |
|
|
|
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 |
|
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 |
|
|
|
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 |
|
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?? Jaime Andrés Aranguren Cardona |