DSPRelated.com
Forums

Simulator Error - BF533

Started by dp161282 June 2, 2006
Hello All,

I would highly appreciate any help regarding the following issue.

I have a code written in C, which I intend to test on the Visual DSP++ 4.0 Simulator(Licenced version).
The code is working fine when I select BF535 simulator as target but when I select BF533 simulator as target (which is the processor which I intend to use at later stage)the simulator gives the following error and stops the execution of the program.

" [Error si1007] EMUEXCPT opcode is not simulated
Halting for standard error. "

The above error occured while running the program. No error was generated while compiling or Loading. Also the same error is generated when I use the ADSP-BF533 EZ KIT LITE as target.

I could not find much details about this error, also I could not find at which place in the source code this error is occuring. Normally if u double click on any error it displays the statement in the source code which generated the error .. but this error does not give such indication as well.

Is there anyone who have faced this problem or know the cause / solution of this problem. Please help me regarding this.

Thank you all in advance.

Regards,
Dhaval P.
Hi Gabriel,

Thanks for the reply. I read your reply which says that the instruction "EMUEXCPT" is not simulated in BF533... but the problem is, the code which I am running is in C and even after looking at the disassembly of the code I could not find any such instruction..
Apparently this is an exception which is unknown to the simulator. Also I have taken enough care to change the session as well as target so that there is no problem at that level.
Can you please guide me any further as to how to avoid such exceptions or where exactly should I look to remove this error.

Thanks again for the reply,

Regards,
Bhavik.

Gabriel Abreo wrote:
Here is what is in the help system for the error you listed

si1007
[Error si1007] opcode is not simulated
Description
This simulator does not handle the instruction named in place of the "". For example, EMUEXCPT instructions are not simulated. If your program executes an EMUEXCPT instruction, the message text would be:
[Error si1007] "EMUEXCPT opcode is not simulated"
Note: Those run-time libraries that use EMUEXCPT in their unknown exception handler issue this error when your program encounters an unknown exception in the simulator.
Severity
Error
Cycle-Accurate Simulators
ADSP-BF531, ADSP-BF532, ADSP-BF533, ADSP-BF534, ADSP-BF536, ADSP-BF537, ADSP-BF538, ADSP-BF539, and ADSP-BF561
Default Actions
Print and Halt

Are you changing sessions to work for the BF533 EZ-Kit hardware when you attach it?

I believe you need to change the session configuration and not just the target.

dp161282 wrote:
Hello All,

I would highly appreciate any help regarding the following issue.

I have a code written in C, which I intend to test on the Visual DSP++ 4.0 Simulator(Licenced version).
The code is working fine when I select BF535 simulator as target but when I select BF533 simulator as target (which is the processor which I intend to use at later stage)the simulator gives the following error and stops the execution of the program.

" [Error si1007] EMUEXCPT opcode is not simulated
Halting for standard error. "

The above error occured while running the program. No error was generated while compiling or Loading. Also the same error is generated when I use the ADSP-BF533 EZ KIT LITE as target.

I could not find much details about this error, also I could not find at which place in the source code this error is occuring. Normally if u double click on any error it displays the statement in the source code which generated the error .. but this error does not give such indication as well.

Is there anyone who have faced this problem or know the cause / solution of this problem. Please help me regarding this.

Thank you all in advance.

Regards,
Dhaval P.
Hi.

There are some checkpoint.

- Did you apply newest update? Most recent one was 2005 April update.
- Are you sure you change the target processor of project from BF535 to
BF533? It is not simulation session list. It is in the project option.
- While compiler has not generated emuexcpt, that may be a part of
longer instruction. Check the bit pattern of emuexcpt and compare with
your memory image.

Regards,
Suikan

dp161282 wrote:
> Hi Gabriel,
>
> Thanks for the reply. I read your reply which says that the instruction "EMUEXCPT" is not simulated in BF533... but the problem is, the code which I am running is in C and even after looking at the disassembly of the code I could not find any such instruction..
> Apparently this is an exception which is unknown to the simulator. Also I have taken enough care to change the session as well as target so that there is no problem at that level.
> Can you please guide me any further as to how to avoid such exceptions or where exactly should I look to remove this error.
>
> Thanks again for the reply,
>
> Regards,
> Bhavik.
>
>
> Gabriel Abreo wrote:
> Here is what is in the help system for the error you listed
>
> si1007
> [Error si1007] opcode is not simulated
> Description
> This simulator does not handle the instruction named in place of the "". For example, EMUEXCPT instructions are not simulated. If your program executes an EMUEXCPT instruction, the message text would be:
> [Error si1007] "EMUEXCPT opcode is not simulated"
> Note: Those run-time libraries that use EMUEXCPT in their unknown exception handler issue this error when your program encounters an unknown exception in the simulator.
> Severity
> Error
> Cycle-Accurate Simulators
> ADSP-BF531, ADSP-BF532, ADSP-BF533, ADSP-BF534, ADSP-BF536, ADSP-BF537, ADSP-BF538, ADSP-BF539, and ADSP-BF561
> Default Actions
> Print and Halt
>
> Are you changing sessions to work for the BF533 EZ-Kit hardware when you attach it?
>
> I believe you need to change the session configuration and not just the target.
>
>
> dp161282 wrote:
> Hello All,
>
> I would highly appreciate any help regarding the following issue.
>
> I have a code written in C, which I intend to test on the Visual DSP++ 4.0 Simulator(Licenced version).
> The code is working fine when I select BF535 simulator as target but when I select BF533 simulator as target (which is the processor which I intend to use at later stage)the simulator gives the following error and stops the execution of the program.
>
> " [Error si1007] EMUEXCPT opcode is not simulated
> Halting for standard error. "
>
> The above error occured while running the program. No error was generated while compiling or Loading. Also the same error is generated when I use the ADSP-BF533 EZ KIT LITE as target.
>
> I could not find much details about this error, also I could not find at which place in the source code this error is occuring. Normally if u double click on any error it displays the statement in the source code which generated the error .. but this error does not give such indication as well.
>
> Is there anyone who have faced this problem or know the cause / solution of this problem. Please help me regarding this.
>
> Thank you all in advance.
>
> Regards,
> Dhaval P.
>
>

--
Let's start Yahoo! Auction - Free Campaign Now!
http://pr.mail.yahoo.co.jp/auction/
Try to increase your stack and heap size (you can place your stack and heap
in external RAM if internal memory is not enough to accomodate it).

Regards
Ranjeeta
On 6/2/06, dp161282 wrote:
>
> Hello All,
>
> I would highly appreciate any help regarding the following issue.
>
> I have a code written in C, which I intend to test on the Visual DSP++ 4.0 Simulator(Licenced
> version).
> The code is working fine when I select BF535 simulator as target but when
> I select BF533 simulator as target (which is the processor which I intend to
> use at later stage)the simulator gives the following error and stops the
> execution of the program.
>
> " [Error si1007] EMUEXCPT opcode is not simulated
> Halting for standard error. "
>
> The above error occured while running the program. No error was generated
> while compiling or Loading. Also the same error is generated when I use the
> ADSP-BF533 EZ KIT LITE as target.
>
> I could not find much details about this error, also I could not find at
> which place in the source code this error is occuring. Normally if u double
> click on any error it displays the statement in the source code which
> generated the error .. but this error does not give such indication as well.
>
> Is there anyone who have faced this problem or know the cause / solution
> of this problem. Please help me regarding this.
>
> Thank you all in advance.
>
> Regards,
> Dhaval P.