ADuC7020 Serial Download problem

I am having problem getting the ADuC7020 to perform serial download using UART.  I believe I have properly set the processor into the serial download mode by holding the BM pin low, then reseting the processor, then releasing the BM pin to High.  After that, I sent 0x08 from the host PC, but I am not getting the ID string responded back from the processor.

I know the physical serial connection between the processor and the host PC is good and functional.  This is because I downloaded a UART firmware driver into the processor via JTAG, and this firmware driver is able to echo characters that I enter from the Host Hyperterminal.  Therefore I know my serial connection is good and functional.

After that, I set the the processor to serial download mode as described earlier.  Then I no-longer see characters echoed back to Hyper Terminal.  This suggests that I was successful in placing the processor into the serial download mode.  I also did necessary probing(i.e, probing the RESET and BM pins)  in order to make sure I did the correct steps in placing the processor into serial download mode.

Any idea why I am not getting the ID string back?  Is it because my parts are not for UART serial downloading?  How do I tell whether my parts are for UART downloading or I2C downloading, or do not support serial downloading at all?

Thank you for your inputs.

  • 0
    •  Analog Employees 
    on Jun 23, 2011 5:56 AM over 9 years ago

    If it is a I2C boot-loader part you can see it on the part itself - as per ordering code in the data-sheet this parts have additional "I" in the marking "ADuC7020BCPZ62I"

  • 0
    •  Analog Employees 
    on Jun 23, 2011 7:25 AM over 9 years ago

    If you have an I2C part marked as described by MMA you can do downloads via the adapter USB-I2C/LIN-CONV-Z available through your normal purchasing channels.  This product uses the application I2CWSD.exe to download via I2C while ARMWSD is used for download via UART.  The most sraightforward way to check whether your setup is correct is to connect via Hyperterminal.  Then press the buttons as you described.  The send a backspace from Hyperterminal.  You should see the ID string on Hyperterminal and see the communications on the Rx and Tx pins using a scope.

  • 0
    •  Analog Employees 
    on Jun 23, 2011 1:57 PM over 9 years ago

    A quick confirmation that the part is indeed meant for download via UART.  The 3 in I31 is additional confirmation.  Unfortunately I have no quick answer on your original problem.

  • Thank you for both of your answers MMA and EckartH.

    As a matter of fact, I had already examined the part number (and should have posted it in my original question), and here it is:

    aduc7020 bcpz62  i31 #0752

    From what you have described, this part number does not seem to contain the "I" character which identifies itself as an I2C serial-download device.

    I am willing to try to the USB/I2C adapter, but I am concerned that if the part is not I2C, then I would fail too.

    Any additional ideas you could provide?  Is it possible that a part could be neither UART nor I2C ?  (By the way, I tried multiple processors we have, and all of them have the same problems)

    Thank you.

  • Have you got SIN & SOUT physically connected to P1.0 & P1.1 and not to P0.7 and/or P2.0 as the bootloader doesn't work when connected to the latter.