Debug Connection Error in ARM development studio

Hi, I am using ULINKpro D and JTAG connection to program a Cortex M7 baremetal device. 
Although ULINKpro D seems to be installed correctly (device manager - USB) and the connection between ULINKpro D and my DU seems okay, I cannot connect the debugger and this page shows up;


Also I get an error in Console:

Unable to connect to device ARMCS-DP



I tried a couple of changes and I have this error as well:

Detected number of devices = 136, maximum allowed = 128. This problem is usually a result of the scanchain not acting correctly when using JTAG scans to count the number of devices.


Does anyone know how to solve it?
The only thing that has to be mentioned is that I am using 20 to 20 pin adaptor provided in the package of ULINKpro D.

Thanks & regards 

Parents
  • Thanks Ronan,
    This is already fixed!

    I have another question.
    I am writing a simple C code and run it through ARM DS.
    Although I can change the memory (Ex. memory set <verify=1>:0x2000ffff 0 0x0000BBBB) I cannot see any changes after the program runs.
    I tried it in Reset, Running and Privileged modes when the JTAG is connected.

    Here is my code:

    #include <stdint.h>
    #include <stdio.h>

    int main(void) {

    *((volatile uint32_t *)0x2000FFFF) = 0x0000BBBB;


    return 0;
    }

    Worth mentioning that the base address is set 0x0 and the Cortex M7 that I have is a bare-metal and has no ROM.

Reply
  • Thanks Ronan,
    This is already fixed!

    I have another question.
    I am writing a simple C code and run it through ARM DS.
    Although I can change the memory (Ex. memory set <verify=1>:0x2000ffff 0 0x0000BBBB) I cannot see any changes after the program runs.
    I tried it in Reset, Running and Privileged modes when the JTAG is connected.

    Here is my code:

    #include <stdint.h>
    #include <stdio.h>

    int main(void) {

    *((volatile uint32_t *)0x2000FFFF) = 0x0000BBBB;


    return 0;
    }

    Worth mentioning that the base address is set 0x0 and the Cortex M7 that I have is a bare-metal and has no ROM.

Children