During debug got the exception

I'm using BF-609 in one of our Hardware.

After Power ON,the JTAG has been connected to the Hardware and passed the jtag configuration test (scan path) but during debug we got the exception (as attached) at the very first at adi_initComponents() and the application has been halted.
I have tried the following options i.e

1.  Cleaned and re-built the project.
2.  Created new project in the new workspace with default settings of BF609 ,built and loaded using ICE-2000 emulator.

I had tried with new project with empty code(just c code with simple for loop) as well as with the available examples provided in the CCES IDE (1.1.0) with our Hardware Card in different workspaces  but the code is generating the same exception at the very first at adi_initComponents().

Please post the solution to this exception.

Parents
  • 0
    •  Analog Employees 
    on Aug 3, 2018 12:51 PM over 2 years ago

    Hello,

    This issue is handled through private support. To avoid duplication of efforts, you can continue the discussions through private support and we will post the final resolution here.

    Best Regards,
    Jithul

  • Hi

    Hope you're doing fantastic.

    Is there any final resolution for this kind of issue? Perhaps that might help me in troubleshooting my problem.

    I'm also  getting exception when I attempt to launch the debug perspective.

    In my case exception no is 0x21.

    Thanks & Regards

    -Siddhant

  • 0
    •  Analog Employees 
    on Jun 8, 2019 9:30 AM over 1 year ago in reply to siddh4nt

    Hi Siddhant,

    Could you please provide more information on below points to assist you better on this.

    1) Could you please confirm whether any instructions placed in the SDRAM.
    For instance,
    #pragma section("seg_ext_data"),
    void foo_fun ();

    If yes, could you please try moving these functions into the internal memory and check if that works without giving any exception?

    2) What have you confirmed using the memtest?  Whether you do read and write to all SDRAM memory with different data pattern and frequencies and that got pass. If 'No', could you please do the same and confirm the basic SDRAM access is correct.

    3) You mentioned in the previous mail that, "changing the SDRAM chip with one from an older batch solves the issue". Could you please confirm what is the the difference between replaced SDRAM part and the one fails.

    Also, can you please check once your SDRAM initialization as per the memory device. The Excel-Sheet available in the below link will help to calculate the correct SDR-/DDR1-/DDR2-SDRAM Controller settings for the Blackfin processors External Bus Interface Unit (EBIU), as well as for the DDR2-SDRAM controller (DMC) for the latest generation Blackfin processors. Additionally, there are few comments inside the document which should be read as well.

    Excel sheet can be found in the below mentioned link.
    https://ez.analog.com/dsp/blackfin-processors/m/file-uploads/359

    Regards,
    Lalitha.S

Reply
  • 0
    •  Analog Employees 
    on Jun 8, 2019 9:30 AM over 1 year ago in reply to siddh4nt

    Hi Siddhant,

    Could you please provide more information on below points to assist you better on this.

    1) Could you please confirm whether any instructions placed in the SDRAM.
    For instance,
    #pragma section("seg_ext_data"),
    void foo_fun ();

    If yes, could you please try moving these functions into the internal memory and check if that works without giving any exception?

    2) What have you confirmed using the memtest?  Whether you do read and write to all SDRAM memory with different data pattern and frequencies and that got pass. If 'No', could you please do the same and confirm the basic SDRAM access is correct.

    3) You mentioned in the previous mail that, "changing the SDRAM chip with one from an older batch solves the issue". Could you please confirm what is the the difference between replaced SDRAM part and the one fails.

    Also, can you please check once your SDRAM initialization as per the memory device. The Excel-Sheet available in the below link will help to calculate the correct SDR-/DDR1-/DDR2-SDRAM Controller settings for the Blackfin processors External Bus Interface Unit (EBIU), as well as for the DDR2-SDRAM controller (DMC) for the latest generation Blackfin processors. Additionally, there are few comments inside the document which should be read as well.

    Excel sheet can be found in the below mentioned link.
    https://ez.analog.com/dsp/blackfin-processors/m/file-uploads/359

    Regards,
    Lalitha.S

Children
No Data