Hello,
I followed the installation procedure on UM-B-014 document. In step 4.4.1.4, when I click the Settings button (Debug tab), Keil will crash.
Note:
- I tried this with Keil-v5 and Keil-v4, no difference, both the same problem.
- I am using Windows XP but I also tired on another PC with Windows 7 (the same problem).
- If I try to start debug session, then I get this error ("No Cortex-M Device found in JTAG chain. Please check ...").
- If I select the "Use Simulator" radio button in the Debug tab, then I would be able to start the debug session.
- I tried some other comments from before (ex: in Utilites tab, selected "Use External Tool for Flash Programming"; or in Device tab, selected "Cortex-M0"; or deleted the "Out" directory; but neither helped).
Thanks,
Hossein
Hello,
I am experiencing the same issue. I work with the SDHv3 on Keil v5.10 (edit: I moved back to Keil 5.1, and it works again).
Does someone know from where comes thie behavior?
Thanks,
Matt
Hi Matthieu, Hossein,
We have found that on some PC’s Keil 5 IDE crashes when setting / using the debugger.
There is no good explanation why the Keil 5.x IDE crashes on some PC's. To 'fix' this problem you can do the following:
1/ Start Keil IDE
2/ Press Alt-F7 (Options for target)
3/ Select the Tab 'Device'
4/ Select ARM -> ARM Cortex M0 -> ARMCM0 and press 'OK'
5/ Go to TAB 'Utilities' and check the line : 'Use External Tool for Flash programming'
6/ Close
Thanks & BR
John
Hi John,
谢谢你的回复。我试着你的脚步,我走了t the same error. Here are more details:
In Keil 5.1.0.0.2:
1- I don't see any option to select ARM Cortex M0 in the Device tab. There is just one already selected option ("Cortex-M0 based Microcontroller") and there are no other options.
2- In Utilities tab, "Use External Tool ..." is selected.
3- After the above steps I got the same error.
In Keil 4.7.4.0.22:
1- In Device tab there are some options, I selected ARM > Cortex-M0 > [Cortex-M0 based Microcontroller]
2- In Utilities tab, "Use External Tool ..." is selected.
3- Same problem.
Any other suggestion? Is there anyway to make sure that it is not a hardware/JLink problem?
Regards,
Hossein
Hi Hossein, we are working on a resolution to this : we're aware of some customers who have had issues here and we've just verifying a workaround and will communicate that out shortly. Best regards John
Thanks to Mikael (Dialog's local rep in Bay Area) my problem is fixed.
Thank you,
Hossein
More info can be found in document UM-B-014_DA14580_Development_Kit.pdf (Chapter 4.2).
This document is available on this website :http://support.dialog-semiconductor.com/system/files/UM-B-014_DA14580_De...
Dialog Support Team.
Any progress on this? I have the same problem in that Keil 4 and 5 always crash when I select settings on the J-link. If I select a different processor source such as an STM then it doesn't crash, but that is obviously of no use to me!
I got the same problem. Interesting is that if I load a example project Atmel samD20 and go to debug - settings, the next screen appears as it should. When I go back to the Dialog project if fails.
HI There,
there is an issue with the Keil too. RIght now the only way around this is to manually select the device as below... then , should be fine when you open up the JLINK settings. We're investigating what has changed in latest KEIL release that creates this issue.
BR JE_DIalog
If you look in the device selection list there is the option Dialog Semiconductor - DA14580 available. Should this not be the device to select ? (Keil V5.11.0.0) Note that with the Dialog device selected, uVision also crashes after selecting settings.
Hello Ruud,
I would suggest to keep with the one shown : that works just fine - we have informed Keil of the issue and await a resolution, but for now, the one higlighted works .
BR JE_Dialog
I am in the same situation explained over here. I am currently using
IDE-Version:
µVision V5.11.1.0
Copyright (C) 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.
Tool Version Numbers:
Toolchain: MDK-Lite Version: 5.11.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\bin\
C Compiler: Armcc.Exe V5.04.0.49 [Evaluation]
Assembler: Armasm.Exe V5.04.0.49 [Evaluation]
Linker/Locator: ArmLink.Exe V5.04.0.49 [Evaluation]
Librarian: ArmAr.Exe V5.04.0.49 [Evaluation]
Hex Converter: FromElf.Exe V5.04.0.49 [Evaluation]
CPU DLL: SARMCM3.DLL V5.11.0.0
Dialog DLL: DARMCM1.DLL V1.11.00.0
Target DLL: Segger\JL2CM3.dll
Dialog DLL: TARMCM1.DLL V1.08.00.0
Done these process :
# Select ARM -> ARM Cortex M0 -> ARMCM0 and press 'OK'
#选项卡“公用事业”nd check the line : 'Use External Tool for Flash programming'
But then again if selecting Debug>JLink>Settings uVision is crashing.
Please let me know if any solution is there for correcting this. It will be great if you are suggesting an older version of the uVison that is working, so that i can use that.
I followed the UM-B-003 Appendix A to solve the problem. Now it is working properly.
Hi Arun,
Pleased to hear that you got the tools working. We have no control over Keil uVision updates, and the 5.11.x caused all sorts of issues.
Thanks for the update.