完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我有两个RN48模块都有完全相同的问题。我有一个RS232电平转换到我的PCI上的串行端口,在两个行上的一个微光镜在模块蓝色跟踪=数据进入模块红色跟踪=来自模块的数据也有终端应用程序集T0 115200 WHIC。H也可以在启动时执行脚本,我从模块中获得%ReBOOT %1,在我与Android设备配对时,我看到了这个系列调试,在终端RX窗口中,如果使用MyANDR连接,则得到%7Connect、1771F29 A6BB3D、%0ConnIn PARAM、9000600、01F4%%安全的%%绑定%%ConnIn PARAM、9002600、01F4%。OID设备和串行蓝牙应用程序使用默认串行配置文件,我得到%Connect,1,51 D439 17903A%%断开%,但是在应用程序中说:连接失败:没有发现串行配置文件&使用长时间点击设备来定义自定义配置文件。因此,我在RN470/RN861用户的GU中找到了一些UUID设置。和IDE并定制了一个自定义配置文件,如Service EnService 49353FA99FAFD2055E55Read 4953533-841-43F4-A8D4-ECEB34 729 BB3WORTE495 3533-1EDD 4BD1-BA61-24C64 7249616,然后得到:连接失败:自定义服务未找到。要做到这一点,使用UART,但无论我做什么,我似乎没有得到响应。我已经尝试过:$(110毫秒延迟)SouthEndoStidAdSouthSturial$+全部没有模块的响应…当我期待看到“CMD & GT”时,我也尝试了更新工具连接[COM1,115200,默认/默认0000 ]和点击连接..它发出1,5,16,0(DEC)01,05,1000(HEX),我看到的范围(见附图),但没有从模块回来。ISUPDATE工具RX窗口说“连接失败”,我真的把我的头发拔出来,正如我所说的,我有两个模块都做同样的事情,两个新的法尼尔。我做错了什么?我知道模块输出数据,因为当我与手机连接时,我得到了电源重启%和所有其他数据,所以它有电源,工作良好,我看到数据从它出来。它只是忽略了一件事。我连接到正确的PIN,它像TX PIN一样被拉起来(见我的范围屏幕截图),我可以看到数据正在进入范围内的PIN(也见蓝色的痕迹)。我想我只是命令模式请求错误,但它不响应使用ISUpUT工具!如果你有一个这样的工作,那么我很乐意听到你的任何想法。谢谢。
以上来自于百度翻译 以下为原文 Hi, I have two RN4871 modules both of which seem to have exactly the same issue. I have an RS232 level shift to the serial port on my PC I have a picoscope on both lines at the module Blue trace = Data going in to Module Red trace = data coming out of module I also have terminal app set t0 115,200 which can also do scripting On startup I get %REBOOT% out of the module, I see this serial debugging on the scope and in the terminal RX window When I pair with my android device I get %CONNECT,1,771F29A6BB3D%%CONN_PARAM,0006,0000,01F4%%SECURED%%BONDED%%CONN_PARAM,0026,0000,01F4% If I connect using my android device and a serial Bluetooth app using the default serial profile I get %CONNECT,1,51D43917903A%%DISCONNECT% However in the app is says: Connection failed: no serial profile found -> use long click on device to define custom profile. So I found some UUID settings in the RN4870/RN4871 User's Guide and made a custom profile as follows Service 49535343-FE7D-4AE5-8FA9-9FAFD205E455 Read 49535343-8841-43F4-A8D4-ECBE34729BB3 Write 49535343-1E4D-4BD9-BA61-23C647249616 Then I get: COnnection Failed: Custom service not found. I can only assume that is because It's not been set up on the module and I need to do this using the UART but no matter what I do I don't seem to get a response. I have tried this: $(110ms delay)$$ $$$ $$$+ All with no response from the module... when I expect to see "CMD>" Also I tried the update tool connected [COM1, 115,200, default/default 0000] and hit connect.. It sends out 1,5,16,0 (Dec) 01,05,10,00 (Hex) which I see on the scope (see attached images) but nothing comes back from the module.. IsUpdate tool RX window says "Connect Failed" I am literally pulling my hair out here and as I've said, I have two modules both do exactly the same thing both new from Farnell. What am I doing wrong? I know the module outputs data because I get %REBOOT% on power up and all the other data when I connect with the phone so it has power, works fine and I see data coming out of it. It's just ignoring anthing going in to it.. I am connected to the right pin, it is pulled up like the TX pin (See my scope screen shots) and I can see that data is going in to the pin on the scope (Also see blue traces). I would like to think that I just have the command mode request wrong but it doesn't respond using the IsUpdate tool! If you've got one of these working then I'd love to hear from you with any ideas. Thanks Attached Image(s) |
|
相关推荐
4个回答
|
|
|
我想我刚刚在另一个POST CTS(P0Y0/PIN 11)中找到了答案,需要拉低以让模块回复,有人能确认吗?它在任何数据表中什么地方都没说,真的有点垃圾!
以上来自于百度翻译 以下为原文 I think I've just found the answer in another post. CTS (P0_0/Pin 11) needs to be pulled low to get the module to reply, can anyone confirm this? It says nothing anywhere in any datasheet, it's a bit rubbish really! |
|
|
|
|
|
不幸的是,这对解决这个问题毫无帮助,UART似乎对任何事情都没有反应。
以上来自于百度翻译 以下为原文 Unfortunately that does nothing to resolve the problem, the UART seems not to respond to anything. Any help here would be much appreciated. |
|
|
|
|
|
结果显示RS232电平移位器并没有很快地拉高PIN,模块没有正确地看到数据,即使终端应用程序正在读取它。我有CMD & Gt!哦,为什么微芯片不能启动一个默认的波特率低的东西像9600,让你设置它更高,每一个设备可以做9600,为什么要启动的地方很多PIC的无法达到高速运行?
以上来自于百度翻译 以下为原文 Turned out that the RS232 level shifter wasn't pulling the pin high quite quick enough, the module wasn't seeing the data correctly even though the terminal app was reading it ok. I have CMD>!! Why oh why Microchip couldn't start with a default baud rate of something low like 9600 and let you set it higher, every device can do 9600 so why start up where a lot of PIC's can't get to without running at high speed? |
|
|
|
|
|
每当我试图从我的自定义应用程序CMD & Gt;%Connect,0,B4D5BDAD9DEA %%安全%写入我的蓝牙时,我就要获取这个消息。
以上来自于百度翻译 以下为原文 I am gettting this message anytime i tried to write to my bluetooth from my custom application CMD> %CONNECT,0,B4D5BDAD9DEA%%SECURED% Please do you know why i keep getting this ? |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
508 浏览 0 评论
5813 浏览 9 评论
2351 浏览 8 评论
2238 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3545 浏览 3 评论
1161浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1122浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
890浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
508浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-14 18:59 , Processed in 1.975548 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2162