Post Go back to editing

CCLK for ADSP-21489 is not manipulated as per PMCTL config in my target board.

Dear Sir,

Please provide me guidance on the above subject, I tried to evaluate the target board with small application code. It is working fine as per application requirement when I port in evaluation board for ADSP-21489. But the same thing is not working on target board. The reason what I found during preliminary check is its not generating the CCLK as per requirement.

please suggest any additional check up to do and guide to sort this problem.

regards

satya

  • Hi Satya,

    Before I comment regarding the issue I would like to know what kind of application are you trying to run on the target board?

    Also in your code have you initialized the PLL and the SDRAM which will ensure that the CCLK generated is in accordance to your requirement?

    You would like to go through any of the example codes given in the following path:

    …\Program Files (x86)\Analog Devices\VisualDSP 5.0\214xx\Examples\ADSP-21489 EZ-Board

    All these example codes have PLL initialization code, which will program the PMCTL register corresponding to maximum Core clock frequency of 400MHz. You can use this code in your application and can check if you still face the issue in your target board or not.

    Please let me know your observation for the same.

    Thanks,

    Harshit

  • Dear Sir,

    Please provide Flash programmer .dxe file for 0.2 target, since what we received with software supports for 0.1.

    We are trying to load the ldr file in the Flash on target board. It shows load error help me in this regard.

    regards

    satya

  • Hi Satya,

    The Flash programmer .dxe is available in the following directory:

    …\Program Files (x86)\Analog Devices\VisualDSP 5.0\214xx\Examples\ADSP-21489 EZ-Board\Flash Programmer

    As you can see in the ‘readme.txt’ file, these dxe’s can be used for 0.1 and later versions of the silicon.

    As far as your issue is concerned I would request you to kindly elaborate on the steps that you have done to load the loader file in to the flash. What kind of load errors do you get ?

    Apart from this I would also suggest you to go through the Application Note EE-355, which  provides a simple and modular C code for interfacing both serial and parallel Flash devices to different SHARC processors. The link for the Application note is given below:

    http://www.analog.com/en/processors-dsp/sharc/products/application-notes/resources/index.html

    Please let us know more details so that we can assist you better with the issue.

    Thanks,

    Harshit

  • Dear Harshit,

    As per readme.txt file in POST, I followed procedure and successfully executed in evaluation board. But when I try to download in Flash in custom board it shows

    Driver Error: Unknown Commands

    Error: Driver load Failed.

    when I run the flash-programmer project in custom board it is not reading the ManId and DevId because of it it generating "Driver Error: Unknown Commands".

    Please help me in this regard as early as possible.

    regards

    satya

  • Hi Satya,

    I request you to please reply for the following:

    1. Could you please let me know how are you setting up the VDSP session on the custom board?
    2. Also since it’s a custom board, are you sure that all the connections are similar to that of the EZ-Kit board?
    3. Are you using the same flash device as used in the EZ-KIT Board or is it different one?
    4. I request you to kindly send us the screen shot showing what kind of error you are getting and how you are programming the custom board using VDSP?
    5. Is this is issue while programming the parallel flash or serial flash?

    Kindly provide us more details regarding the setup so that we can have a proper understanding of the issue.

    Thanks,

    Harshit

  • Dear Harshit,

    Could you please let me know how are you setting up the VDSP session on the custom board?Reply: Through Emulator

    Also since it’s a custom board, are you sure that all the connections are similar to that of the EZ-Kit board?Reply: Custom design is 1:1 similar to EZ-Kit board related to processor and Flash

    Are you using the same flash device as used in the EZ-KIT Board or is it different one?Reply: Same part no except make Numonyx

    I

    request you to kindly send us the screen shot showing what kind of

    error you are getting and how you are programming the custom board using

    VDSP?Reply: Same error Driver error : Unknown Command. I will place screen shot in short time

    Is this is issue while programming the parallel flash or serial flash?Reply: Parallel flash

    regardssatya

     

  • Hi Harshit,

    please find the Screenshot for the Flash programmer.

    1. In first screen shot, driver is loaded from the E drive which has modified PMCTL to PLLM8 instead PLLM18 except that there is no change in .dxe

    2. In second screen shot, driver is loaded from the C drive which was supplied by Analog Devices. It doesnt show any error but is in "Running" you can see in screen shot.

    regards

    satya

  • Hi Satya,

    Debugging the flash programmer code for your custom board will be little tricky.

    I tried to replicate the issue by copying the flash programmer code and changing the PLLM value to 8 and generating the DXE file for it. Then using the same in Flash programmer utility to program the flash , and I can see that driver loads successfully for the EZ-Kit board.

    Thus, I would suggest you to try able to write and read the FLASH Device using a simple C code first for debugging purpose. This will ensure that all the connection on the custom board is correct and enable you to have a better understanding in terms of FLASH devices programming.

    While programming the FLASH device you will come across Flash commands , Device ID and Manufacture ID etc., which are used in the Flash Driver code. You can also refer to Application Note EE-355, which provides a C-code for programming the flash devices. The link for it is given below:

    http://search.analog.com/search/ProductSearch.aspx?query=EE-355&locale=en

    You can use this as a reference to write or own C code.

    Hope this helps.

    Thanks,

    Harshit

  • Hi Harshit,

    please clarify me one thing that the drivers suits for same part number M29W320EB with different make "Numonyx" in custom board to  where in Ez kit it has M29W320EB make " STmicroelectronics".

    regards

    satya

  • Hi Satya,

    Practically there should not be any limitation in programming the M29W320EB parts , irrespective of the fact whether they are manufactured by ST Micro-electronics or Numonyx.

    But since you are facing this issue only on the custom board, so in order to confirm if all connections are correct or not, I would suggest you to first try with simple code programming the sectors of the flash and check if you are able to do so.

    Without this, we cannot be sure if custom board has connectivity issues or not.

    Have you tried programming the flash using the codes given on EE-355 ?

    Kindly let me know your observation for trying the simple code on the custom board.

    Thanks,

    Harshit