I am using SDK 5.0.3 software on DA14583DEVKT-B board.
I have taken the "ble_app_peripheral" (BLE example projects given).
当执行函数“app\u dis\u init()”时,控件将转到“HardFault\u HandlerC()”。
Only "return" instruction is there inside the "app_dis_init()".
我无法确定它在执行“app_dis_init()”函数时它将进入异常处理程序的原因。
如果我正在评论“app_dis_init()”函数,则不会进入异常处理程序,我能够在手机上看到设备名称。
请帮我解决这个问题。
请查看附件中的屏幕截图,以供参考
设备:

嗨premkumar,
Have you made any changes to the app_dis_init() ? Can you please try to download the example projects as is, in order to check if the same incident occurs?
谢谢你的对话
Hi,
I have taken example projects (both "Blinky" and "ble_app_peripheral"). These two projects are working in Keil.
我使用Makefile和GCC完成了Eclipse。它正在为“Blinky”项目工作。
但对于“ble\ u app\ u peripheral”,它显示了以下与内存相关的链接错误,并附上了供您参考的文档。
1. __exe / dialog_da14583.axf部分`.constdata'不适合区域`ram_irom4'
2. Section ER_IROM5 loaded at [20000440,2000552f] overlaps section .constdata loaded at [200003e4,200005eb]
3.区域`ram_irom4'溢出428字节。
链接器脚本文件中的内存部分:
OTP(r):原点=0x00040000,长度=0x8000
Retention_ram2(RW):源= 0x00080768,长度= 0x2968
RAM_IROM1(RWX):源= 0x20000000,长度= 0x0160
RAM_IROM2(rwx):原点=0x20000160,长度=0x0160
RAM_IROM3(RWX):源= 0x200002C0,长度= 0x0080
RAM_IROM4(RWX):源= 0x20000340,长度= 0x0100
RAM\ IROM5(rwx):原点=0x20000440,长度=0x7AC0
RAM_RW_IRAM51(RW):源=(0x20009000 - (1024 + 12)),长度=(1024 + 12)
RAM\u RW\u IRAM52(r):原点=0x20009000,长度=0x0020
RAM_RW_IRAM53(RW):源= 0x20009020,长度= 0x01e0
RAM_RW_IRAM54 (rw) : ORIGIN = 0x20009200, LENGTH = 0x0600
我用DA14583DEVKT-B。如果我改变了我mory range in the linker script (as show in below), able to generate the target files but code is not working.
OTP(r):原点=0x00040000,长度=0x8000
Retention_ram2(RW):源= 0x00080768,长度= 0x2968
RAM_IROM1(RWX):源= 0x20000000,长度= 0x0160
RAM_IROM2(rwx):原点=0x20000160,长度=0x0160
RAM_IROM3(RWX):源= 0x200002C0,长度= 0x0080
RAM_IROM4(rwx):原点=0x20000340,长度=0x0300
RAM\ IROM5(rwx):原点=0x20000640,长度=0x7AC0
RAM_RW_IRAM51(RW):源=(0x20009000 - (1024 + 12)),长度=(1024 + 12)
RAM\u RW\u IRAM52(r):原点=0x20009000,长度=0x0020
RAM_RW_IRAM53(RW):源= 0x20009020,长度= 0x01e0
RAM_RW_IRAM54 (rw) : ORIGIN = 0x20009200, LENGTH = 0x0600
请帮我解决这个问题。
我在Keil中看到了“sysram_case23.ini”,这个.ini文件的重要性是什么。
任何支持文档,这将帮助我解决内存问题和设置eclipse。
你好,普雷姆库马尔
我也在尝试着做同样的事情,面对着类似的事情。我能克服它,但现在面临其他问题。你对比较笔记感兴趣吗?它可能会帮助我们两个取得进展,让一切都开始运行
What say ?
嗨premkumar,
对不起,但目前我们只支持Keil而不是DA14580上的Eclipse。请检查doc an-b-024.pdf,也许您会发现它有用。
Thansk MT_dialog
Hi,
我在Keil Uvision中使用了示例性外围代码。我无法识别,其中需要更改应用程序代码以将数据(即一些字节的信息)从DA14583DEVKT-B发送到移动应用程序。您能否提供任何文档来了解如何更改应用程序。目前,我在DA14583DEVKT-B板上使用SDK 5.0.3软件。
Please provide software guide document for SDK 5.0.3.
嗨premkumar,
应用程序的外围设备使用自定义配置文件与移动应用程序进行交互。如果您想从外设发送数据,您必须从手机发出指令(即读取特征,或将特征的配置写入已发送的通知或指示)。在适当的特征指示下调用的所有处理程序都位于user\u custs1\u impl.c中。例如,在指定的项目中,当写入CUST1\u IDX\u CONTROL\u POINT\u VAL特性时调用函数user\u custs1\u ctrl\u wr\u ind\u handler()。如果写入的值(由中心发送)不是0,则固件启动软件计时器。当计时器发出通知(更新CUST1\u IDX\u ADC\u VAL\u 1\u VAL的值)时,只有在中央计算机启用通知时,中央计算机才会接收到通知。有关SDK5和示例的更多信息,请参阅UM-B-050.pdf。
谢谢你的对话
Hi,
I have observed jump_table_base[ ] (array) in "jump_table.c" file. What is the use of this array (i.e. jump_table_base[ ]).
Temporary files getting created while compiling app_ble_peripheral project. Why it is creating these temp files.
请找到屏幕截图作为附件的地图文件,在那里显示临时文件。
Please give information about the purpose of jump table concept and "rom_symdef.txt"
Hi,
I couldn't access the link for UM-B-050.pdf, which is available in the forums.
请帮助我访问UM-B-050.pdf。
嗨premkumar,
About the jump table please have a look at this posthttp://support.dialog-semiconductor.com/jumptablebase88还关于跳转表,它的用法主要是在ROM中的函数覆盖,如果要例如ROM代码不使用默认功能(位于跳转表中的一个),则可以在RAM和覆盖中实现自己的函数ROM通过跳转表中的函数,rom_sym_def.txt文件包括来自ROM内存中的函数的所有符号。我不知道在Eclipse中创建的文件。
如果您尝试访问该文档,那么您应该已接受并提交使用软件和文档的条款和条件。管理员需要几天的时间来隆重您对文档的访问权限。只是有点患者,您的访问权限将隆重。
谢谢你的对话
Hi,
我无法访问UM-B-050.pdf。请提供访问它的链接。
同时请提供DA14583用户手册的链接。
嗨premkumar,
您是否接受了当您试图DonvoLoal授予访问权限的SDK和用户手册时接受了条款和条件?
谢谢你的对话
Hi,
我访问了Dialog Semiconductor网站的一些链雷竞技电竞平台接。我在导航时没有找到任何条款和条件。只是我在左边找到了订阅按钮。我已经订阅了。请查收随附文件以供参考。
我可能无法访问正确的链接。请提供访问UM-B-050.pdf和DA14583用户手册(即参考手册)的链接。请简要告诉我查阅这些文件的程序。
嗨premkumar,
The procedure is quite simple you just click on the link you want to access and if your access is granted then you can see the document, if your access isn't granted then the terms and conditions dialog should appear. After accepting this your request goes through the admin in order to grand you access to the portal (the procedure takes a couple of days). Please check the links of the documents below. We dont have a request in our system at the moment. Try to access the links i provided, and check if you can download the documents.
http://support.dialog-semiconductor.com/resource/um-b-050-da1458x-softwa...
http://support.dialog-semiconductor.com/resource/da14583-datasheet
谢谢你的对话
Hi,
In the 2nd link, I can able to see the Datasheet.pdf link and also able to open the pdf. But after clicking the 1st link, it showing the page as in attachment. It is not showing any terms and conditions.
请帮助我进入第一个链接。
嗨Premkumar,您可以转到DA14580产品,软件和工具,然后单击SDK旁边的挂锁图标或其发行说明(顶部项目)。这应该打开SDK访问请求。
BR JE_DIALOG.
Hi,
我使用Keil-uVision(MDK-Lite,评估版)在DA14583DEVKT-B板上工作。调试时,我无法在调试窗口中看到外设和所有特殊功能寄存器(包括I2C)。也无法使用逻辑分析仪查看端口引脚上的逻辑变化。
请提供信息,如何使用特殊功能寄存器来调试I2C。
Hi Premukar,
我们没有为580提供带寄存器地图/系统查看器的.srf文件。但我想你可以通过内存窗口观看你的寄存器。
谢谢你的对话
Hi,
我可以通过记忆窗口看到寄存器。我想写I2C驱动程序。到目前为止,EEPROM驱动程序可用,但需要编辑以与其他IC(即具有I2C接口的IC)接口。
我能够在I2C行上发送从地址和写入位。但我无法在I2C行上发送任何数据字节。
The following instructions not showing any effect on the "I2C_DATA_CMD_REG" register (i.e. location 0x50001310)
SEND_I2C_COMMAND(0x01AA); // Set R/W bit to 1 (read access)
或者
发送\ I2C \ U命令(0xD0);
执行上述说明后,我无法看到“i2c_data_cmd_reg”寄存器值中的任何更改
Please help me to resolve this issue. Please share if any generic I2C driver is available for dailog (for read and write operations).
Please give any document to know I2C working in the Dialog to understand the FIFO.
Hi premkumar,
除EEPROM驱动程序外,还没有其他任何其他官方I2C驱动程序,但有广泛的解释驾驶员在论坛上的某些相关I2C帖子上运行。请检查以下链接。
http://support.dialog-semiconductor.com/multiple-byte-read-i2c
http://support.dialog-semiconductor.com/documentation
谢谢你的对话
Hi,
我无法使用闪光来保留我的应用程序代码。
目前,“scatterfile\u common.sct”只包含有限的内存范围。我认为它只映射到RAM区域(42KB,从0x20000000开始)。
请提供有关不同内存区域的基本地址的信息(ROM,OTP,系统SRAM,保留RAM和闪存)
我需要在keil中的分散文件或内存部分地址中更改的任何事情,以使用ROM和Flash(即1 Mbit)区域。
请根据需要指导我使用不同的记忆区。
嗨premkumar,
您可以在文档UM-B-011中找到有关580中的基本地址的所需信息:用户手册 - DA14580内存映射和分散文件。
谢谢你的对话
Hi,
I have gone through the document UM-B-011, but there is no information about how to use 1 Mbit Flash memory and OTP available in the DA14583.
Booting sequence is not provided in the datasheet of the DA1458x. Please share the document to understand the booting sequence.
请帮助我使用闪光来编写我的应用程序和OTP。
Hi Premukar,
您可以在UM-B-012的创建中看到14583的引导序列,辅助引导程序部分5.示例项目与使用DA14583兼容,您只需使用583选项构建它们。您可以使用带有14583的智能片段并刻录闪光灯,只需确保选择SPI引脚的正确配置(选择14583应选择正确的引脚,但您也可以从电路板设置中检查所选引脚)。如果您想与Flash进行交互,您可以查看它使用Suota配置文件以初始化的接近示例,以启用和与内部闪存进行交互。在14583上使用内部闪光灯不需要特殊的驱动程序只是正确的针脚。
谢谢你的对话
Hi,
我尝试使用智能代码段工具将blinky.hex下载到嵌入式SPI Flash中。我可以连接,但不能下载到嵌入式SPI闪存应用程序代码。
连接时收到以下消息:
[INFO@16-02-18 17:12:36]已开始下载过程。。。
[ACTION @16-02-18 17:12:37] Please press the hardware reset button on the board to start the download process.
[info @ 16-02-18 17:12:40]重置检测到
[INFO @16-02-18 17:12:42] Successfully disconnected from port COM12.
[INFO@16-02-18 17:12:42]与COM12端口的连接已成功打开。
[INFO @16-02-18 17:12:42] Successfully disconnected from port COM12.
[info @ 16-02-18 17:12:42]成功下载了固件文件到电路板。
[信息@ 16-02-18 17:12:42]成功配置了SPI闪存端口和引脚。
请给出程序步骤需要遵循将应用程序映像加载到嵌入式SPI闪光灯中。
我无法做任何像燃烧和抹掉的操作。智能代码段显示错误消息,同时启动刻录和擦除操作。
在将应用程序映像下载到嵌入式SPI flash之前,是否需要下载任何二进制文件(辅助引导加载程序或flash\u程序员)。
请提供有关使其在正常模式下工作(即从闪存运行应用程序)的逐步过程的信息。这个问题阻碍了我们取得进一步进展。
我们是否可以重新编程OTP区域以覆盖OTP区域中现有的辅助引导加载程序代码。
请查收随附文件以供参考。
Hi Premukar,
Make sure that the proper UART pins are connected in order for the Smart Snippets to download the flash programmer to your device. Also make sure that the correct SPI pins are selected from the Board Setup section. After opening the Smart Snippets you should choose the 14583 version of the chip, this should select the appropriate SPI pins (although you should explicitly check the pins in the board setup). After that choose the SPI tab, press connect (in order for the flash programmer to be downloaded in the chip) and then erase the SPI flash (the most probable reason for not be able to erase or burn the flash is the pin selection - 2_0, 2_3, 2_4, 2_9 should be selected in board setup). There is no need to download any binaries for burning the flash Smart Snippets downloads it on the connection procedure.
谢谢你的对话
Hi,
whether we can write OTP region multiple times.
嗨premkumar,
您无法多次刻录OTP,OTP代表一个时间可编程,您只能将位点从0翻转到1。
谢谢你的对话