我正试图对Keil Verson5的DA14581进行编程,但它在在设备数据库中,它不会显示在包安装程序中,也不会在启动项目文件时为我提供该选项。我该怎么解决这个问题?
Hi Dialog team,
I am using Keil uVision V5.17.0.0 and I don't seem to be able to get code completion and dynamic syntax checking working. I have activated the relevant options under "Edit -> Configuration -> Text Completion", with no effect though.
Any ideas?
Cheers!
Hi,
I just received the DA14580 Development Kit - Pro (motherboard+daughterboard QFN40) and worked through the User Manual "DA14580/581/583 Bluetooth Smart development Kit – Pro" PDF. I was able to open and build the sample projekt "blinky" on Keil uVision5. After I started the debug session the program started succesfully. However, when I do a reset (ether via Keil or button) I get the following log and the program crashs.
*** Restricted Version with 32768 Byte Code Size Limit
*** Currently used: 3276 Bytes (9%)
SP = _RDWORD (0x20000000)
$ = _RDWORD (0x20000004)
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ E00FF000
* JLink Info: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
**JLink Warning: CPU could not be halted
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 0 (R0) while CPU is running
***JLink Error: Can not read register 1 (R1) while CPU is running
***JLink Error: Can not read register 2 (R2) while CPU is running
***JLink Error: Can not read register 3 (R3) while CPU is running
***JLink Error: Can not read register 4 (R4) while CPU is running
***JLink Error: Can not read register 5 (R5) while CPU is running
***JLink Error: Can not read register 6 (R6) while CPU is running
***JLink Error: Can not read register 7 (R7) while CPU is running
***JLink Error: Can not read register 8 (R8) while CPU is running
***JLink Error: Can not read register 9 (R9) while CPU is running
***JLink Error: Can not read register 10 (R10) while CPU is running
***JLink Error: Can not read register 11 (R11) while CPU is running
***JLink Error: Can not read register 12 (R12) while CPU is running
***JLink Error: Can not read register 13 (R13) while CPU is running
***JLink Error: Can not read register 14 (R14) while CPU is running
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 17 (MSP) while CPU is running
***JLink Error: Can not read register 18 (PSP) while CPU is running
***JLink Error: Can not read register 20 (CFBP) while CPU is running
The board is powered over USB and I have already removed R84 of the motherboard according to the User Manual "DA14580/581/583 Bluetooth Smart development Kit – Pro".
Any ideas or solutions?
Regards
OK,
I did see this posted back in early part of 2004, and the solution was to drop to an earlier version of Keil. Given that it is nice to keep things up to date, I'm not sure I am happy with that solution. I see that the User Manual for the Dialog part has not been updated to reflect some of the changes. For example, It tells you to install Keil::ARMCortex_DFP but this has been superseded by the ARM::CMSIS of which I am using version 4.3. The documentation also requested you Target -> Device: Arm Cortex M0 (ARMCM0), which I was not able to locate though I did locate a generic Arm Cortex M0 and Arm Cortex M0 SDK, but noticed that there were no corresponding .svd files on the target page. I did notice that there is a Dialog Semiconductor DA14580 entry and this references a .sfr file, but running this project did not allow communication over the UART. Can anyone point me to more current documentation, or at least point me in the right direction. I'm kind of running blind since the documentation is obsolete.
Much thanks