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.
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.