2009-07-09 06:11 AM
Cannot connect to STM32F103T4 using ulink2
2011-05-17 04:17 AM
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.