Hi, I use ADuC and LPC2138 at work but this is a first attempt at using the STM32, with a prototyping board from Olimex. I am using an evaluation copy of the Real View MDK (V3.11) and a ULink as a JTAG programmer. When I try to upload to flash I get the message box "Error flash download failed - Target DLL has been cancelled" and the message "JTAG Communication Failure". The device is visible to the JTAG port, see a screenshot here:
www.mark-ju.net/keil1.jpg
Tis clearly some communication. What is the second JTAG device? The processor is a STM32F103RBT6 and this is what I have selected when I created my project. I have tried different speeds and changing the setting for whether the ULink drivers are externally or self powered.
Thanks in advance for any help,
Mark
The problem seems to be the device U2. It may prevent ULINK2 from issuing a proper reset signal. What exactly is behind this device?
Hello, I have the same Problem. I use uV3 + ULINK1 + Olimex STM32-P103 and get "Error flash download failed - Target DLL has been cancelled". Must I activate the JTAG Interface on the Board over the serial?
ULINK1 is setting to 3.3V and is alone on an USB 2.0 Interface under Windows XP.
Philipp
I removed R1,13,5,3, because in the ST Manual there are no resistors at the JTAG Interface. No change, same error.
In my JTAG Device Chain exist two Devices. ARM CoreSight JTAG-DP and a Unknown JTAG device. Do I need a Firmwareupgrade for my ULINK1 (HW-V2.10, FW-V2.02, Cortex-M) ?
R6 -> 22K, max. Clock 5kHz ... unchange.
Now ULINK1 tested with a ATMEL Board 7S-EK and it is OK. It seems to be the ULINK does not recognize the new STM32F103RBT6.
The Board works fine with OLIMEX ARM-USB-OCD and Rowley. ULINK does not recognize the new ST Cortex-M3. I hope, this would be fixed this Year :-)
In the meantime I must work with "NO KEIL" Products ...
You can always use a ULink2, I found that worked ok.