我在DA14583DEVKT-B板上使用SDK 5.0.3软件。
我拍摄了“BLE_APP_PERITELAL”(给出了BLE示例项目)。
在执行函数“app_dis_init()”时,控件将在“hardfault_handlerc()”中“。
在“app_dis_init()”中只有“返回”指令。
I am not able to identify the reason why it is going to exception handler while executing the "app_dis_init()" function.
If I am commenting the "app_dis_init()" function, it is not going the exception handler and I am able to see the device name on the mobile.
请帮我解决这个问题。
请找到附加的屏幕镜头供您参考
设备:
嗨premkumar.,
您是否对App_dis_init()进行了任何更改?请尝试下载示例项目,以检查是否发生相同的事件?
谢谢mt_dialog.
你好,
我已经参加了示例项目(“blinky”和“ble_app_peripheral”)。这两个项目正在Keil工作。
I have done set up for eclipse by using the makefile and GCC. It is working for "Blinky" project.
但对于“BLE_APP_PERITERALAL”,它显示在链接与内存相关的错误以及附加文档以供参考。
1. __exe/Dialog_DA14583.axf section `.constdata' will not fit in region `RAM_IROM4'
2.在[20000440,2000552F]中加载的部分ER_IROM5重叠部分.CONSTDATA,加载在[200003E4,200005EB]
3. Region `RAM_IROM4' overflowed by 428 bytes.
Memory sections in the Linker script file:
OTP(R):源= 0x00040000,长度= 0x8000
RETENTION_RAM2 (rw) : ORIGIN = 0x00080768, LENGTH = 0x2968
RAM_IROM1 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x0160
RAM_IROM2(RWX):源= 0x20000160,长度= 0x0160
RAM_IROM3 (rwx) : ORIGIN = 0x200002C0, LENGTH = 0x0080
RAM_IROM4 (rwx) : ORIGIN = 0x20000340, LENGTH = 0x0100
RAM_IROM5(RWX):源= 0x20000440,长度= 0x7ac0
RAM_RW_IRAM51 (rw) : ORIGIN = (0x20009000 - (1024 + 12)), LENGTH = (1024 + 12)
RAM_RW_IRAM52(R):源= 0x20009000,长度= 0x0020
RAM_RW_IRAM53 (rw) : ORIGIN = 0x20009020, LENGTH = 0x01E0
RAM_RW_IRAM54(RW):源= 0x20009200,长度= 0x0600
我正在使用da14583devkt-b。如果我在链接器脚本中更改内存范围(如下所示),则能够生成目标文件,但代码不起作用。
OTP(R):源= 0x00040000,长度= 0x8000
RETENTION_RAM2 (rw) : ORIGIN = 0x00080768, LENGTH = 0x2968
RAM_IROM1 (rwx) : ORIGIN = 0x20000000, LENGTH = 0x0160
RAM_IROM2(RWX):源= 0x20000160,长度= 0x0160
RAM_IROM3 (rwx) : ORIGIN = 0x200002C0, LENGTH = 0x0080
RAM_IROM4(RWX):源= 0x20000340,长度= 0x0300
RAM_IROM5(RWX):源= 0x20000640,长度= 0x7ac0
RAM_RW_IRAM51 (rw) : ORIGIN = (0x20009000 - (1024 + 12)), LENGTH = (1024 + 12)
RAM_RW_IRAM52(R):源= 0x20009000,长度= 0x0020
RAM_RW_IRAM53 (rw) : ORIGIN = 0x20009020, LENGTH = 0x01E0
RAM_RW_IRAM54(RW):源= 0x20009200,长度= 0x0600
请帮我解决这个问题。
I have seen the "sysram_case23.ini" in the keil, what is the significance of this .ini file.
任何支持文档,它都将帮助我解决内存问题并设置Eclipse。
嗨premkumar.
我想做同样的事情,面对类似的东西。我能够结束它,但现在面对其他问题。您对比较笔记有兴趣吗?它可能有助于我们俩都取得了成本,让所有东西都奔跑
说啥 ?
嗨premkumar.,
Sorry, but currently we support only keil and not eclipse on the da14580. Please check the doc AN-B-024.pdf maybe you will find it usefull.
Thansk mt_dialog.
你好,
I have taken example BLE peripheral code in keil uVision. I couldn't identify, where application code needs to be changed to send the data (i.e. some bytes of information) from DA14583DEVKT-B to mobile app. Could you please provide any document to understand how to change the application. Presently, I am using SDK 5.0.3 software on DA14583DEVKT-B board.
请为SDK 5.0.3提供软件指南文档。
嗨premkumar.,
app_ble_peripheral,使用自定义配置文件才能与移动应用程序交互。如果要从外围设备发送数据,则会从您的手机中指示它(含义读取特征,或者写入要发送通知或指示的特征的配置)。在适当的特性指示时被调用的所有处理程序都位于User_custs1_impl.c中。例如,在指定的项目中,如果写入CUST1_IDX_CONTROL_POINT_VAL特性(由中央发送)除了0,则在写入CUST1_IDX_CONTROL_POINT_VAL特性时调用函数user_custs1_ctrl_wr_ind_handler()。固件启动软件计时器。当计时器经过发送通知(更新Cust1_DX_ADC_VAL_VAL_1_VAL的值)时,才会在中央启用通知时由中心接收通知。有关SDK5的更多信息和示例可以在UM-B-050.PDF中找到。
谢谢mt_dialog.
你好,
我在“jump_table.c”文件中观察了Jump_Table_Base [](数组)。此阵列的使用是什么(即jump_table_base [])。
编译app_ble_peripheral项目时创建的临时文件。为什么它正在创建这些临时文件。
Please find the screen shot of map file as an attachment, where it is showing the temporary files.
请提供有关跳跃表概念的目的和“rom_symdef.txt”的信息
你好,
我无法访问um-b-050.pdf的链接,该网站在论坛中可用。
Please help me to access the UM-B-050.pdf.
嗨premkumar.,
关于跳跃表请看看这篇文章http://support.dialog-semicondiondiondum/jumptableBase88.also regarding the jump table, its usage is mainly to overide functions in ROM, if you want for instance the ROM code not to use the default function (the one located in the jump table), you can implement your own function in RAM and overide the function in ROM through the jump table, the rom_sym_def.txt file includes all the symbols from functions that are located in the ROM memory. I am not aware for the files that are created in eclipse.
If you have tried to access the document then you should have accepted and submitted the terms and conditions for using the software and the documents. It takes a couple of days for the admin to grand your access to the documents. Just be a bit patient and your access will be granded.
谢谢mt_dialog.
你好,
我无法访问UM-B-050.PDF。请提供访问它的链接。
请提供DA14583用户手册的链接。
嗨premkumar.,
Have you accepted the terms and conditions when you 've tried to donwload the SDK and the user manuals in order for access to be granted ?
谢谢mt_dialog.
你好,
我已访问对话框中的某些链接。雷竞技电竞平台我在导航时没有找到任何条款和条件。只是我找到了左侧的订阅按钮。我已经订阅了这一点。请找到附件供您参考。
我可能无法访问正确的链接。请向我提供访问UM-B-050.PDF和DA14583(即参考手册)的用户手册的链接。请简要介绍访问文件的程序。
嗨premkumar.,
程序非常简单,只需单击要访问的链接,如果授予您的访问权限,则可以看到文档,如果您的访问权限授予,则应出现术语和条件对话框。接受此后,您的请求通过管理员进行,以便宏伟访问门户(该程序需要几天)。请检查以下文件的链接。我们目前在我们的系统中没有请求。尝试访问我提供的链接,并检查您是否可以下载文档。
http://support.dialog-semicondiondiondum/resource/um-b-050-da1458x-softwa ...
http://support.dialog-semicondiondiondiondumenta.com/resource/da14583-datasheet.
谢谢mt_dialog.
你好,
在第二个链接中,我可以看到数据表.pdf链接,也能打开pdf。但单击第1号链路后,它将显示页面作为附件中的页面。它没有显示任何条款和条件。
Please help me to get the access to the 1st link as well.
嗨premkumar,你能去吗?the DA14580 product, Software & Tools and click on padlock icon next to the SDK or its release notes (top items). This should open up the SDK access request.
BR JE_Dialog
你好,
我正在使用Keil UVision(MDK-Lite,评估版)在DA14583DEVKT-B板上工作。调试时,我无法在调试窗口中看到外围设备和所有特殊功能寄存器(包括I2C)。并且还无法使用逻辑分析器来查看端口引脚上的逻辑变化。
Please give the information, how I can use the special function registers to debug the I2C.
嗨premukar,
We do not provide an .srf file for the 580 with register map/system viewer. But i suppose that you can watch your registers througn the memory window.
谢谢mt_dialog.
你好,
我能够通过内存窗口看到寄存器。我想写i2c驱动程序。从现在的EEPROM驱动程序可用,但需要编辑与其他IC(即IC具有I2C接口)的接口。
I am able to send the slave address and write bit on the I2C lines. But I am not able to send any data bytes on the I2C lines.
以下说明未对“I2C_DATA_CMD_REG”寄存器显示任何影响(即位置0x50001310)
send_i2c_command(0x01aa);//将R / W位设置为1(读取访问)
or
send_i2c_command(0xd0);
执行上面的指令后,我不是ble see any change in the "I2C_DATA_CMD_REG" register value
请帮我解决这个问题。如果有关Dailog(用于读写操作),请分享任何通用I2C驱动程序。
请在对话框中了解I2C以了解FIFO的任何文档。
嗨premkumar,
There isn't any other official I2C driver for the 580 other than the eeprom driver but there is extensive explanation of how the driver operates on some related i2c posts on the forum. Please check the following links.
http://support.dialog-seminile.com/multiple-byte-read-i2c.
http://support.dialog-semicondiondiond.com/documentation
谢谢mt_dialog.
你好,
I am not able use the flash to keep my application code.
目前,“scatterfile_common.sct”仅包含有限的内存范围。我认为只映射到RAM区域(42KB,从0x20000000开始)。
Please provide the information about the base addresses of different memory areas (ROM, OTP, System SRAM, Retention RAMs and Flash)
任何事情我需要改变文件或分散memory section addresses in keil, to use the ROM and Flash (i.e. 1 Mbit) areas.
请指导我根据要求使用不同的内存部分。
嗨premkumar.,
You can find the needed information about the base addresses in the 580 and scatter file info in the document UM-B-011: User Manual - DA14580 Memory map and scatter file.
谢谢mt_dialog.
你好,
我已经完成了UM-B-011的文档,但没有关于如何在DA14583中使用的1 Mbit闪存和OTP的信息。
DA1458x的数据表中未提供引导序列。请分享文档以了解引导序列。
Please give help me to use the flash to write my application and OTP.
嗨premukar,
You can see the booting sequence of the 14583 in the UM-B-012 Creation of a secondary bootloader section 5. The example projects are compatible with using the da14583, you just have to build them by using the 583 option. You can use Smart Snippets with the 14583 as well and burn the Flash, just make sure to select the proper configuration of the SPI pins (selecting 14583 should choose the right pins but you can also check the selected pins from the board setup). If you want to interact with the flash you can have a look at the proximity example where it uses the SUOTA profile in order to initialize, to enable and interact with the internal flash. Using the internal flash on 14583 doesn't require a special driver just the right pins.
谢谢mt_dialog.
你好,
我试图使用智能片段工具将Blinky.hex加载到嵌入式SPI Flash中。我能够连接,但无法将应用程序代码加载到嵌入式SPI闪光灯中。
连接时我正在收到以下消息:
[info @ 16-02-18 17:12:36]开始下载程序...
[动作@ 16-02-18 17:12:37]请按电路板上的硬件重置按钮开始下载过程。
[INFO @16-02-18 17:12:40] Reset detected
[信息@ 16-02-18 17:12:42]从COM12端口已成功断开连接。
[info @ 16-02-18 17:12:42]与COM12端口的连接已成功打开。
[信息@ 16-02-18 17:12:42]从COM12端口已成功断开连接。
[INFO @16-02-18 17:12:42] Successfully downloaded firmware file to the board.
[INFO @16-02-18 17:12:42] Successfully configured SPI Flash ports and pins.
Please give the procedural step need to follow to down load the application Image into Embedded SPI flash.
I am not able to do any operations like burn and erase of Flash. Smart Snippet showing error messages while initiating the burn and erase operations.
在向下将应用程序图像加载到嵌入式SPI闪光之前,我是否需要加载任何二进制文件(辅助引导加载程序或Flash_Programmer)。
请通过步骤过程提供有关步骤的信息,以便在正常模式下工作(即从闪存运行应用程序)。此问题阻止我们而不会进一步进步。
我们是否可以再次重新编程OTP区域以覆盖OTP区域中的现有辅助引导加载程序代码。
请找到附件供您参考。
嗨premukar,
确保连接正确的UART引脚以使智能片段将Flash程序员下载到您的设备。还要确保从电路板设置部分中选择正确的SPI引脚。打开智能片段后,您应该选择14583版本的芯片,这应选择相应的SPI引脚(尽管您应该明确检查电路板设置中的引脚)。选择SPI选项卡后,按Connect(为了在芯片中下载闪存程序员),然后擦除SPI闪存(最可能的原因无法擦除或燃烧闪光灯是引脚选择 - 2_0应在电路板设置中选择2_3,2_4,2_9)。没有必要下载任何用于刻录Flash智能片段的二进制文件下载它在连接过程中。
谢谢mt_dialog.
你好,
我们是否可以多次编写OTP区域。
嗨premkumar.,
You can't burn the OTP multiple times, OTP stands for One Time Programmable, you can only flip the bits from 0 to 1.
谢谢mt_dialog.