Reply by Todd Schoepflin June 23, 20062006-06-23
You have to set the "output file type" to "LOADER" in the first tab of the
Project Options dialog box. This is the fourth of 5 options. It's probably
set to "DSP Executable."
Also watch your options in the "Loader" tab of the Project Options dialog
box. You must type in the actual output filename that you want. I've had
the best luck with examples like

.\Release\MyOutputLoader.LDR
.\Debug\MyOutputLoader.LDR

Make sure you appropriately choose ASCII or BINARY output.

-Todd

-----Original Message-----
From: a... [mailto:a...]On Behalf Of Leon
Heller
Sent: Wednesday, June 14, 2006 8:58 AM
To: a...
Subject: [adsp] Creating hex file from VisualDSP++?
I've downloaded an evaluation copy of VisualDSP++ and can assemble and
debug
a simple assembler program for the ADSP-21262 without any problems, but
can't seem to get it to output a hex (LDR) file. The file name (including
path) has been added to the project options: Load: Processor dialogue box,
but the file doesn't get created when I rebuild the project.

Leon
--
Leon Heller, G1HSM
l...@bulldoghome.com
http://www.geocities.com/leon_heller
Reply by Bob Kruse June 23, 20062006-06-23
Leon,

We compile from the IDE.
To make a loader file:
Choose Project->Project Options->Project->Type->Loader file
Choose Project->Project Options->Load->Boot Type

and then re-compile.

Bob Kruse
Control Gaging, Inc.
5200 Venture Dr.
Ann Arbor, MI 48108
Reply by djthurin June 21, 20062006-06-21
Good question. I called ADI support on a similar question a while back.

Here are the commands I use

elfloader ..\lst\control.dxe -bspislave -fascii -l
..\..\ldr\lst\ldr.dxe -proc ADSP-21262 -o ..\lst\control.ldr

echo off
rem BitReverse is an undocumented command that ADI told me about.
rem The -p0xFA00 puts the bootloader earlier, so the hex build process
can strip it off
echo on

elfloader ..\lst\control.dxe -bspislave -fhex -HostWidth8 -BitReverse
-l ..\..\ldr\lst\ldr.dxe -p0xFA00 -proc ADSP-21262 -o ..\lst\control.hex

I don't use the gui for compiling, so I couldn't tell you how to do it
in there. The .hex file that I generate is a standard intel Hex
file that I can program with a standard IC programmer.

--- In a..., "Leon Heller" wrote:
>
> I've downloaded an evaluation copy of VisualDSP++ and can assemble
and debug
> a simple assembler program for the ADSP-21262 without any problems, but
> can't seem to get it to output a hex (LDR) file. The file name
(including
> path) has been added to the project options: Load: Processor
dialogue box,
> but the file doesn't get created when I rebuild the project.
>
> Leon
> --
> Leon Heller, G1HSM
> leon.heller@...
> http://www.geocities.com/leon_heller
>
Reply by Leon Heller June 21, 20062006-06-21
I've downloaded an evaluation copy of VisualDSP++ and can assemble and debug
a simple assembler program for the ADSP-21262 without any problems, but
can't seem to get it to output a hex (LDR) file. The file name (including
path) has been added to the project options: Load: Processor dialogue box,
but the file doesn't get created when I rebuild the project.

Leon
--
Leon Heller, G1HSM
l...@bulldoghome.com
http://www.geocities.com/leon_heller