cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect to STM32F103T4 using ulink2

georgej
Associate
Posted on July 09, 2009 at 15:11

Cannot connect to STM32F103T4 using ulink2

1 REPLY 1
georgej
Associate
Posted on May 17, 2011 at 13:17

Hello,

Someone please help,

I have not been able to program or debug the STM32F103T4 with KEIL. 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.

note that on the first attempt, ''Cannot enter debug mode'' is display in the text output window but not on subsequent attempts.....

I have checked and rechecked the setting for flash and memory locations and they are correct per the data sheets.

Another odd behavior is if I pull PA0/WKUP pin to gnd, all jtag communications is terminated and all pins appear floating like power was removed, even the pull-up resistors on the jtag pins disappear.

My board has multiple of these chips, and they all do the exact same thing.

Also please note that The debugger works fine with the development PCB.