Post Go back to editing

JTAG not working on ADuC7023 Microcontroller Evaluation Board

Category: Hardware
Product Number: ADuC7023

My setup is the ADI ADuC7023 Evaluation Board interfaced through mIDAS-Link for JTAG. The code and the JTAG is controlled through Keil uVision as instructed in the Getting started Guide for the Evaluation Board as provided by ADI. The first attempt to flash a simple code worked without errors, however further attempts have been met with an error: 'Error: Cannot stop ARM Device'. The chain between JTAG and the ADuC7023 is essentially cut and we are unable to flash new code or erase existing code. The I2CWSD tool for flashing without JTAG is met with the error of No Devices found. The Getting started Guide mentions that if the I2CWSD version corresponding to ADuC7023 is used, then an additional dongle is not required. This is true for our setup but still the error is there. Guidance requested on how to debug the issue and potential fixes. 

  • Hi,

    Did you flash a custom code or one of the examples included in the installer?

    Could you try the options below, and let me know if you are able to erase the part?

    Option 1:

    You can use the J-Link Commander to connect to ADuC7023 then write the following command in sequence to execute a mass erase. There are details in the datasheet on page 42 of 98, Rev. H regarding the registers below.

    w2 0xFFFFF80C 0x3CFF
    w2 0xFFFFF810 0xFFC3
    w1 0xFFFFF804 0x08
    w1 0xFFFFF808 0x06

    Option 2:

    You can use I2CFTWSD from this link: I2CFTWSD. This is use for more recent versions of Windows.

    Regarding the error of No Devices found when using the I2CWSD tool, did you enter the download mode entry?

    In Figure 4 of the user guide UG-176 (Rev. 0), it shows how to enter the download mode entry sequence.

    Let me know if you encounter any issues with either option.

    Regards,

    Karl