完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我试图使用Cclipse控件.EXE在20706上下载和*.HCD文件到RAM。我正在与20706和4线FTDI电缆接口。20706由主机供电,但与主机隔离。
我在更新波特率方面出错了。通过逻辑分析器,我已经验证了20706没有响应更新BUDREAT命令,而它响应于RESET命令。 CeleTrime.EXE似乎没有改变它的行为基于“升级到3M波特率”按钮。 这20706个从来没有被编程过。 思想? 以上来自于百度翻译 以下为原文 I'm trying to use ClientControl.exe to download and *.hcd file to RAM on a 20706. I'm interfacing with the 20706 with and 4-wire FTDI cable. The 20706 is powered by a host, but otherwise isolated from the host. I'm getting an error regarding updating the baudrate. With a logic analyzer, I've verified that the 20706 is not responding to the update baudrate command, whereas it is responding to the reset command. ClientControl.exe doesn't seem to change it's behavior based on the "Upgrade to 3M baudrate" button. The 20706 has never been programmed. Thoughts? |
|
相关推荐
10个回答
|
|
更新:CeleTrime.EXE确实基于“升级到3M波特率”按钮来改变它的行为,但是它仍然发布一个波特率升级命令。例如,如果串行端口设置为115200,并且按钮未选中,则Cclipse控件.EXE将请求将波特率升级为115200。这是没有意义的,但是无论如何,20706不响应命令。
思想? 以上来自于百度翻译 以下为原文 Update: ClientControl.exe does change it's behaviour based on the "Upgrade to 3M Baudrate" button, but it still issues an baudrate upgrade command. For example, if the serial port is set to 115200, and the button is unchecked, ClientControl.exe will request to upgrade the baudrate to 115200. This doesn't make sense, but regardless, the 20706 does not respond to the command. Thoughts? |
|
|
|
recoltd 发表于 2018-10-29 18:24 在波特率升级尝试之后,ClientControl还提出: 19 08 00 00 02 00 01 01 19 09 00 01 00 01αf 我不确定这个命令是什么 以上来自于百度翻译 以下为原文 After the baudrate upgrade attempt, ClientControl also issues: 19 08 00 02 00 01 01 19 09 00 01 00 01 19 02 FF 00 00 I'm not sure what this command is |
|
|
|
recoltd 发表于 2018-10-29 18:37 它看起来几乎像三个命令的HCI命令: 19、08、00、02、00、01、01、01能见度(可发现和可连接) 19、09、00、01、00、01对配对模式 19 02 FF 00 00 - MISC命令,获取版本 同样,ClientControl在HCI重置后升级这些命令,升级BoDutter命令,然后放弃下载并报告错误。 以上来自于百度翻译 以下为原文 It almost looks like three Wiced HCI commands: 19 08 00 02 00 01 01 - Set visibility (Discoverable and Connectable) 19 09 00 01 00 01 - Set pairing mode 19 02 FF 00 00 - Misc command, get version Again, ClientControl issues these commands after an HCI reset, upgrade baudrate command, before giving up on the download and reporting an error. |
|
|
|
recoltd 发表于 2018-10-29 18:54 我还尝试了用MbT.EXE代替ClientControl.exe,发现MbT.EXE也试图改变波特率,并且没有从20706中得到响应。 然后,我重新编译了MbT.EXE,注释了对ExeCueTeExchange EbEubRead的调用,并发现下载是成功的。 关于工厂IC为什么不应对波特率变化的解释? 以上来自于百度翻译 以下为原文 I also tried this with mbt.exe instead of ClientControl.exe and found the mbt.exe is also trying to change the baudrate and getting no response from the 20706. I then recompiled mbt.exe, commenting out the call to execute_change_baudrate, and found that the download was successful. Any explanation as to why a factory IC does not respond to change baudrate? |
|
|
|
recoltd 发表于 2018-10-29 19:13 实际上下载收益,但在0x247FA6上卡住发送记录 思想? 以上来自于百度翻译 以下为原文 Actually download proceeds, but gets stuck sending record at 0x247fa6 Thoughts? |
|
|
|
使用DojtTyLoad=1生成编译 补丁开始于0x000 0D200(RAM地址) 补丁结束在0x000 0DC520(RAM地址) 应用程序开始于0x00 217A38(RAM地址) 应用程序结束于0x00 226d44(RAM地址) 但是第一个HCI记录被写入0x240518 M.T.EXE也加载Min River。这不是外部闪光灯吗? 以上来自于百度翻译 以下为原文 Compilation with DIRECT_LOAD=1 build gives Patches start at 0x000D0200 (RAM address) Patches end at 0x000DC520 (RAM address) Application starts at 0x00217A38 (RAM address) Application ends at 0x00226D44 (RAM address) but first HCI record being written to 0x240518 mbt.exe is also loading a mindriver. Isn't that for external flash? |
|
|
|
所以我的同事告诉我,我的代码太大了。但我只是编译了带有DemtJoLoad=1构建的耳机演示应用程序。 补丁开始于0x000 0D200(RAM地址) 补丁结束在0x000 0DC520(RAM地址) 应用程序开始于0x00 217A38(RAM地址) 应用程序结束于0x00 226d44(RAM地址) 补丁大小49952字节 应用程序大小62220字节 ------ 总内存占用112172字节(105.5kIb) 以上来自于百度翻译 以下为原文 So my colleague tells me that my code is too big. But I simply compiled the headset demo app with DIRECT_LOAD=1 build Patches start at 0x000D0200 (RAM address) Patches end at 0x000DC520 (RAM address) Application starts at 0x00217A38 (RAM address) Application ends at 0x00226D44 (RAM address) Patch size 49952 bytes Application size 62220 bytes ------ Total RAM footprint 112172 bytes (109.5kiB) |
|
|
|
recoltd 发表于 2018-10-29 19:56 在平台MaFILE文件中,有一个0x2404F0的DojtLoad基库ADDR。也许这会影响事情吗????? 芯片:=20703 ChIPa ReV:= A2 辣椒酱:=20706 BASE?= ROM 斯帕洛克?=内存 工具链?WICE 平台?= Sflash 平台: PrimFixBooP:= $(PrimFixPask)$ $(PrimFixNV)。 平台: 平台: PielFixIdFix:= CYW20706A2AID IDFIL.TXT 波特率:=汽车 PrimeFieldToLoad BaseBaseADDR:= 0x2404F0 AppthPaCHCHYDIR:= BRCM/WICEDEUTUART MimIdRiver下载:= 使用256kk扇形尺寸 CONTIOSDSJOLLYOXORIDLE:= -O DLCONTVIVSITHOL:0x8000 -O DLCONTIVILLIGHSIZE:0x4000 -O配置位置:0x100000 BTPyOrdReDydL:= O DLSectorEraseMode:“只写扇区” 菊苣 Mini IDRiver下载:= -Mini Diver $(SooSuxRoad)平台/$(PrimFixFulm)/$(PrimFixMini Diver) 以上来自于百度翻译 以下为原文 in the platform makefile, there's a direct_load_base addr of 0x2404f0. Perhaps that is affecting things???? CHIP := 20703 CHIP_REV := A2 CHIP_FLAVOR := 20706 BASE_LOC ?= rom SPAR_LOC ?= ram TOOLCHAIN ?= Wiced PLATFORM_NV ?= SFLASH PLATFORM_STORAGE_BASE_ADDR := 0xFF000000 PLATFORM_BOOTP := $(PLATFORM_MAKE)_$(PLATFORM_NV).btp PLATFORM_MINIDRIVER := uart.hex PLATFORM_CONFIGS := $(PLATFORM_MAKE).cgs PLATFORM_IDFILE := CYW20706A2_IDFILE.txt PLATFORM_BAUDRATE := AUTO PLATFORM_DIRECT_LOAD_BASE_ADDR := 0x2404F0 APP_PATCH_DIR := brcm/wiced_uart MINIDRIVER_DOWNLOAD := ifdef USE_256K_SECTOR_SIZE CONFIG_DS_LOC_OVERRIDE := -O DLConfigVSLocation:0x80000 -O DLConfigVSLength:0x40000 -O ConfigDSLocation:0x100000 BTP_OVERRIDE_DL := -O DLSectorEraseMode:"Written sectors only" endif MINIDRIVER_DOWNLOAD := -MINIDRIVER $(SOURCE_ROOT)Platforms/$(PLATFORM_FULL)/$(PLATFORM_MINIDRIVER) |
|
|
|
recoltd 发表于 2018-10-29 20:03 较小的HeloLoCo客户端应用程序直接加载。最终记录写入0x216CD4 以上来自于百度翻译 以下为原文 The smaller hello_client app works with direct load. Final record written to 0x216cd4 |
|
|
|
固定在Wice 6.1中。我用的是6。看来ClientControl的串行编程代码已经有了一些改进: 以上来自于百度翻译 以下为原文 Fixed in WICED 6.1. I was using 6.0.1. Looks like there's been some improvements to the serial programming code in ClientControl: |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2075 浏览 1 评论
1829 浏览 1 评论
3645 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1766 浏览 6 评论
1517 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
517浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
371浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
413浏览 2评论
360浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
868浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 01:11 , Processed in 1.066808 second(s), Total 96, Slave 80 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号