I have the output file after compiling with the extension ldr.
i need a binary file. how can I do it?
*.bin is what i need.
The VisualDSP++ output loader files as .ldr files. These files can be formatted as Intel Hex, Binary and ASCII, S-record but they are always .ldr files. They do not output loader files as .bin files.
Thanks for the answer. I got it.
But I need to know something else.
In the binary file, can I change the endianness of the data (big endian to little endian and vice versa)?, cause I’m using extra software to do it before programming the flash memory.
I have this warning ea2501 in visualdsp++, and I'm afraid that this is causing some issues in my project.
the whole warning message is as follows:
" [Warning ea2501] ".\Release\n_hfilter.s":1077 Due to a hardware anomaly,
This multiply instruction may give incorrect result due to missing
sequencer stall if the preceding memory access is to IOP or DMA is
operating in the same block."
how can I solve this warning?
and do you have an idea of the reason of this warning?
i'm using VisualDSP5.0++ for the uP 21363
Below is the details about the warning which we hope would be of help:
[Warning ea2501] "<filename>":<line> Due to hardware anomaly, This multiply instruction may give incorrect result due to missing sequencer stall if the preceding memory access is to IOP or DMA is operating in the same block
This message indicates a multiply instruction that may give an incorrect result due to IC anomaly 07000009, "Some Core Stalls not executed properly". The message indicates only a potential instance of this anomaly, as there are run-time conditions required that cannot be evaluated by the assembler. Consult the anomaly list for further information.
For the SHARC assembler:
R10 = R10 * R12 (SSF), R12 = DM(I0,M0);
R11 = R10 * R10 (SSF);
The assembler will produce:
[Warning ea2501] ".\...:31 Due to hardware anomaly, This multiply instruction may give incorrect result due to missing sequencer stall if the preceding memory access is to IOP or DMA is operating in the same block.
How to fix:
Determine whether the sequence is indeed subject to the anomaly, considering the information from the anomaly list and the application context. Modify the code sequence, or disable the anomaly check or the message as appropriate to the situation.
The anomalous behavior depends on the insertion of a sequencer stall between the instructions; the anomaly can be avoided by changing the sequence to eliminate the need for the stall.
The IC Anomaly lists for ADSP-21362, ADSP-21364, ADSP-21365, and ADSP-21366 describe this anomaly. The SHARC IC anomaly lists are available at:
The VisualDSP++ Assembler and Preprocessor Manual documents the command-lines switches to control anomaly checks and the switches and directives to control message display. The ADSP-2136x SHARC Processor Programming Reference describes the conditions in which the sequencer will insert stalls.
To download VisualDSP++ Assembler and Preprocessor Manual , please refer the below link:
To download ADSP-2136x SHARC Processor Programming Reference , please refer the below link:
I have another question,
I need the Bit to be Reversed in the ldr file in the VDSP compiler. I see this message after the linker Creating loader file...
C:\Program Files (x86)\Analog Devices\VisualDSP 5.0\elfloader.exe -proc ADSP-21363 -bSPI -fBINARY -HostWidth 8 -NoBitReverse -l C:\Program Files (x86)\Analog Devices\VisualDSP 5.0\213xx\ldr\36x_spi.dxe -t65530 -o .\Release\xxxxxx.ldr -NoInitialWord -v
the option -NoBitReverse makes me feel that it is possible!!
Changing the -NoBitReverse option to -BitReverse will do bit reversal, reversing them in chunks as specified with -HostWidth. So with -HostWidth 8 as in your example, bits will be reversed byte-by-byte. However, the option is undocumented and unsupported, so use at your own risk.
Retrieving data ...