Hello,
Someone please help,
I have not been able to program or debug the STM32F103T4. I can correctly detect the part with the "Cortex-M Target driver setup" but when I go to connect for programming, I get the following error : "Cannot Access Memory", but only the first time , every time after that, I get "Cannot enter debug mode". If I cycle the power on my board, the above error sequence repeats itself.
I have checked and rechecked the setting for flash and memory locations and they are correct per the data sheets.
My board has multiple of these chips, and they all do the same thing. Also The debugger works fine with the development PCB.
Hello!
I solved the problem which was mine fault. The problem vas with signal nJTRST which I connect to ULINK RESET. But nJTRST is not sistem reset but JTAG reset so ULINK couldn't reset the CORTEX Problem can be solved width SYSRESETREQ option in "Target driver setup" This is software sistem reset thrue JTAG command.
Actually my problem was caused by my mistake on my pcb schematic.
Analog VDD was not connected to anything. this left the internal oscillator not functioning, which resulted in the strange behaviour I was having.