Post Go back to editing

Problems with ADSP21262 JTAG interface and Building

My configurations are: Visual DSP++ 5.0, ADSP-21262SBBC-150 and ADZS-HPUSB-ICE.

The target board design has been confirmed with ADSP21262 EZ-KIT-Lite design reference and the appendix A in EE-68.

Question 1: Confirming with EE-175, ICE TEST was successful, but the JTAG frequency selection ‘Test’ couldn’t pass ‘Memory verification’.

Why?

Question 2: the CLK_CFG1:CLK_CFG0=1:0, which means CCLK:CLKIN = 8:1. When CLKIN is 10MHz or 13.3MHz, there are both ERROR

(0x80048008): Opcode scan: Do scan error.

JTAG scan failed-Check target power and emulator connection

DSP could not generate emulator interrupt

Why does this happen?

Question 3: BUT the target could be connected when CLKIN is 40MHz or 20MHz (also CCLK:CLKIN = 8:1)!

Why?

Question 4: Connect the target with 40MHz or 20MHz CLKIN(CCLK:CLKIN = 8:1), When I build any File, it’s OK. But when building the Project, there is always

‘Failed to set automatic breakpoint at ‘main’ ’!

Even building the ADSP21262 example in Visual DSP++ 5.0, there is the same error!

Why does this happen?

Please help me!

Thanks very much!

Parents
  • Hi,

    As I can see in the datasheet on Table 16 of the datasheet  , it shows that the CLK period of 160ns (i.e. 6.25MHz) is valid only for condition where CLK_CFG= 01.

    So I understand that for lower CLKIN values it is good to have CLK_CFG of 01, as it means that when the processor comes out of reset then the CCLK:CLKIN ratio of 16:1 will bring the CCLK to be in the range of 100MHz to 150MHz.

    Considering your case for a CLKIN of 10 and CLK_CFG = 10 (8:1), the CCLK will be 80MHz , which is less than what is specified in the datasheet.

    So you need to take care that when processor comes out of power on reset, the CLK_CFG pins makes the CCLK to be somewhere in the range supported as mentioned in the datasheet, otherwise unpredictable behavior will be observed on processor.

    Also if you are initializing PLL inside the code, make sure that the CCLK range is in accordance with the datasheet.

    The link for the datasheet is given below:

    http://www.analog.com/static/imported-files/data_sheets/ADSP-21261_21262_21266.pdf

    Hope this helps.

    Please let me know in case you have any further queries/doubts.

    Thanks,

    Harshit

Reply
  • Hi,

    As I can see in the datasheet on Table 16 of the datasheet  , it shows that the CLK period of 160ns (i.e. 6.25MHz) is valid only for condition where CLK_CFG= 01.

    So I understand that for lower CLKIN values it is good to have CLK_CFG of 01, as it means that when the processor comes out of reset then the CCLK:CLKIN ratio of 16:1 will bring the CCLK to be in the range of 100MHz to 150MHz.

    Considering your case for a CLKIN of 10 and CLK_CFG = 10 (8:1), the CCLK will be 80MHz , which is less than what is specified in the datasheet.

    So you need to take care that when processor comes out of power on reset, the CLK_CFG pins makes the CCLK to be somewhere in the range supported as mentioned in the datasheet, otherwise unpredictable behavior will be observed on processor.

    Also if you are initializing PLL inside the code, make sure that the CCLK range is in accordance with the datasheet.

    The link for the datasheet is given below:

    http://www.analog.com/static/imported-files/data_sheets/ADSP-21261_21262_21266.pdf

    Hope this helps.

    Please let me know in case you have any further queries/doubts.

    Thanks,

    Harshit

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.