Hi,
I'm new for developing the DA14580devkt-b.
安装UVISION + J-LINK后,我始终无法将代码加载到设备
以下是我想评论的一些问题:
1. while opening the sample project provided in SDK 'DA14580_581_SDK_3.0.8.0', it prompts for the conversion choice, which one shall I select? I choose 'Migrate to Device Pack', it will then convert project file from version 4 to 5. But it turned out an error report 'Device(s) not found' which showing that 'ARM:Cortex-M0' is not found in available Device Family Packs. I choose 'Yes' to confirm the migration to Pack device(s). Then I choose 'ARM Cortex M0' in the selection tab of CPU.
2.在UVISION的“目标”设置的“选项”中,选项卡“目标”不一致到文档'UM-B-025 - DA14580_581Bluetooth®Smart开发套件 - Basic V2.0',IROM1和IRAM1寻址是不一样。此外,CPU的XTAL设置为12.0,但16.0位于文档中提供的屏幕截图。
新UVISION有任何指导或手册吗?
Keywords:
Hello Hardy.chen,
您安装了哪个版本的UVISION?我们与Keil工具进行了一些挑战 - 一旦设置正确,它就能很好地运行,但可能是一个挑战来实现这一点。
BR JE_Dialog
Hi,
我正在使用UVISION 5,可以从这里下载'http://www2.keil.com/mdk5/install.'
I'm presuming you're running 5.14 ? I have 5.11 . Later tongiht, i will upgrade to 5.14 and see if i can replicate the problem.
br je_dialog。
Hi,
我刚下载5.14,安装了,让它更新所有丢失的包,然后启动。它发现DA14580很好。Question 2 will not be solved until you have the right device, so we need to focus on that first.
Have you manually tried to update all of the device packs ?
BR JE_Dialog
我想重新焕发of the device packs is referring to 'Pack Installer'.
在“Pack Installer”中,Pack'Arm:CMSIS'是“最新”,在右侧面板上的“设备”选项卡,我没有看到呈现任何“对话半导体”。雷竞技电竞平台
(Sorry, I can't find a way to upload the snapshot to this post.)
然后,我从“文件 - >设备数据库”检查了设备数据库,我可以看到“对话半导体”中显示的DA14580雷竞技电竞平台
描述如下:
Cortex M-0 based Bluetooth Low Energy (BTLE) controller
32 kByte OTP memory, 42 kByte System rAM, 4 kByte retention RAM, 82 kByte ROM
CPU=CLOCK(16000000) CPUTYPE("Cortex-M0") ESEL ELITTLE
MON=SARMCM3.DLL("") TARMCM1.DLL("-pCM0")
sim = sarmcm3.dll(“”)darmcm1.dll(“ - pcm0”)
SVD=SFD\Dialog\DA14580\DA14580.sfr
无论如何,我仍然无法从“目标选项”中选择合适的设备,其中禁用了设备数据库选择栏。
When I open the sample 'proxy_reporter' from SDK, the uVision will prompt to ask for the migration with 2 options 1) Migrate to Device Pack, 2) Install Legacy Support. If I choose option 1), it will turn to the error message 'The following Device(s) could not be found in available Device Family Packs: -ARM:Cortex-M0, Do you want to migrate to use Pack device(s)?
我是同一个问题,有关这一点的任何想法吗?
Hi,
我对我的da14580devkt有同样的问题。我遵循了pdf的所有步骤“um_b_025 da14580_581_bluetooth_smart_development_kit-basic v2.2”。
我正在使用KeilμVision5.14。在Pack Installer中,我选择了ARM - > ARM Cortex M0 - > ARMCM0和我已安装ARM :: CMSI和Keil :: MDK-中间件。
Now the ARMCM0 is in green.
I try to use the "Blinky_UART_code" example. As hardy.chen explains, when I open the project for the first time, Keil asks me to convert it.
Now in "Options for Target" I'm able to select the JLINK for debugging and I see the right SN.
我可以构建项目,但是当我尝试启动调试会话或下载代码时,我有一个错误:
没有找到算法:00000000H - 00000447H
擦除跳过!
Error: Flash Download failed - "Cortex-M0"
I assume this problem occurs because I'm not able to select the right device in the pack installer ?
你好MBIRON,
I assume that you clicked the "Download" button which is to download code to flash memory. you may need press the button of "start/stop debug session" or CTRL+F5 to enter debug mode and run the project.
BR,MH_DIALOG.
Hi,
谢谢你们的快速响应。
启动调试会话时,我有相同的错误。当我点击“下载”或“开始调试会话”时似乎μVision做了同样的事情。
EDIT: I'm able to launch the "blinky_arrived" demo using SmartSnippets (Booter section). But this example still doesn't work with µVision Debug Mode :
No Algorithm found for: 20000000H - 200012EBH
擦除跳过!
Error: Flash Download failed - "Cortex-M0"
我刚下载5.14,安装了,让它更新所有丢失的包,然后启动。它发现DA14580很好。
您如何设法在Pack Installer中选择“对话半导体”?雷竞技电竞平台
This is mine :http://www.hostingpics.net/viewer.php?id=970250Sanstitre.jpg
I have the same as yours. How did you add "Dialog Semiconductor" in your Pack Installer ?
Thanks for your answer...
Hi again,
I finally found the solution in the "UM-B-014_DA14580_581 Bluetooth Smart Development Kit - Expert_v1.5_0.pdf". Because µVision selects "Use Target Driver for flash programming" by default, it tries to flash the target when you start a Debug session.
此选项位于目标/实用程序的选项中。
You just need to select "Use External Tool for Flash Programming" and don't specify any command and that's it!
I don't know why this information is missing in the basic development kit user guide.
thakns for letting us know you got it to work : I'll ask the documentation team to update the docs. BR JE_Dialog
使用错误消息调试对话框座μVision项目时,我正在面临问题:
No Cortex-M SW Device Found.
如目标的选项下的目标>> Debug >>使用J-Link / J-Trace Cortex >>设置>> SW设备>>无法添加/删除/更新选项灰色
Base on the UM-B-034 User Manual, Page 25 Section 6.17 the SW Device listed are 0x0BB11477 ARM Core Sight SW-DP.
请帮助建议添加SW设备?
Hi ngchinping,
Your device should be recognized automatically by keil when you switch the from JTAG to SW option. For some reason keil doesn't seems that isn't able to "see" the dev kit. Can you please connect the dev kit and issue a reset to the board, also you might want to check your jlink drivers installation.
Thanks MT_dialog