This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil ARM MDK 5 remote debugging with Proteus VSM

Description : I would like to program and debug STM32F103C8 using a simple schematic from Proteus and Keil ARM MDK 5.

Followed steps :

1. used vdmagdi.exe to make required changes in Tools.ini

2. Compiled and built a test software LED Blink in Keil ARM

3. Started Proteus with valid STM32F103C8 schematic

4. Enabled remote debugging

5. Started uVision and started debugging

After sometime the message pops up -->

1. VDMAPI dialogue box saying : "Connection lost with target".

2. VDMARM dialogue box: "Failed to start the Proteus VSM Simulation. Please ensure that you have loaded the correct design into ISIS"

I am attaching the Tools.ini and some screen shots..

3. uVision Dialogue box : " Error : Flash download failed - Target DLL has been cancelled"

I have tested the schematic separately with .hex file and it's working independently.

Am I missing something..? Kindly help..

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[UV2]
ORGANIZATION="z"
NAME="y", "x"
EMAIL="abc"
ARMSEL=1
USERTE=1
TOOL_VARIANT=mdk_std
RTEPATH="C:\Users\ramuk\AppData\Local\Arm\Packs"
[ARM]
PATH="C:\Keil_v5\ARM\"
VERSION=5.30
PATH1="C:\Program Files (x86)\GNU Tools ARM Embedded\9 2019-q4-major\"
TOOLPREFIX=arm-none-eabi-
CPUDLL0=SARM.DLL(TDRV0,TDRV16,TDRV17,TDRV18) # Drivers for ARM7/9 devices
CPUDLL1=SARMCM3.DLL(TDRV0,TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV6,TDRV7,TDRV8,TDRV9,TDRV10,TDRV11) # Drivers for Cortex-M devices
CPUDLL2=SARMCR4.DLL(TDRV0,TDRV4) # Drivers for Cortex-R4 devices
CPUDLL3=SARMV8M.DLL(TDRV0,TDRV2,TDRV4,TDRV6,TDRV7,TDRV8,TDRV12,TDRV13,TDRV14,TDRV15)
# CPUDLL0=SARM.DLL(TDRV16,TDRV17,TDRV18) # Drivers for ARM7/9 devices
# CPUDLL1=SARMCM3.DLL(TDRV0,TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV6,TDRV7,TDRV8,TDRV9,TDRV10,TDRV11) # Drivers for Cortex-M devices
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

0