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

uvision 5, Application Note 196 and interrupts

Following Application Note 196, I can get a running simulation with the ADC simulated however the interrupts are not generated even thought its "DONE" flag is set. I set a break point in the interrupt handler and it is never reached. I checked that if I trigger the interrupt from the system viewer by manually setting the pending bit in the NVIC then the break point is hit. So it seems that the simulated ADC is not able to generate interrupts.

In the simulator settings, the app note says to use DLM.DLL instead of the default DCM.DLL. I tried both with the same result.

This app note is rather old, could this be a version compatibility issue ?

IDE-Version:
µVision V5.28.0.0
Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.

Tool Version Numbers:
Toolchain: MDK-Lite Version: 5.28.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 6 (build 750)
Assembler: Armasm.exe V5.06 update 6 (build 750)
Linker/Locator: ArmLink.exe V5.06 update 6 (build 750)
Library Manager: ArmAr.exe V5.06 update 6 (build 750)
Hex Converter: FromElf.exe V5.06 update 6 (build 750)
CPU DLL: SARMCM3.DLL V5.28.0.0
Dialog DLL: DCM.DLL V1.17.3.0
Target DLL: UL2CM3.DLL V1.162.16.0
Dialog DLL: TCM.DLL V1.36.2.0