完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我使用RN1471.它工作良好,它响应所有命令,也成功地通过透明的UART通信,这是没有H/W流量控制的。我设置它使用H/W流量控制与SR,8000,设备停止响应,我检查了我的连接,并且PIN CONF有错误。成熟。我错误地交换了2个引脚Pin 11(CTS)和Pin 16(系统配置输入)。我把这2个引脚交换回正确的位置,但是我的设备好像被破坏了,它没有响应任何命令,没有“$$”的回答,不管有没有H/W流量控制。ORE只使用PIN配置重置设备,没有任何命令(因为它不接受任何命令)。
以上来自于百度翻译 以下为原文 I am using RN4871 it was working good, it responded to all commands and also successfully communicated over transparent uart, this was without h/w flow control. I set it up to use h/w flow control with SR,8000 and the device stopped responding, I checked my connection and there was error in pin configuration. I had mistakenly swapped 2 pins Pin11(CTS) and Pin16(system configuration input). I swapped back these 2 pins to correct position but still my device seems broken, it is not responding to any command, no reply for "$$$" with or without h/w flow control. My questions is. *** is there any way I can factory reset the device using pin configuration only, without any commands (as it is not taking any commands). |
|
相关推荐
5个回答
|
|
我不相信你能用PIN配置来重置设备,虽然如果你可以的话,它会为我节省很多的痛苦。我已经通过一个标准的FTDI板重新加载固件来恢复无响应的单元。在THNN7070/71 PICTROW附件中的附录/ PICTWORD子板用户指南分类描述了如何做到这一点。这有点棘手,如果你需要帮助,请告诉我。
以上来自于百度翻译 以下为原文 I don't believe you can factory reset the device using pin configuration only, though it would have saved me a lot of grief if you could. I've been able to revive unresponsive units by re-loading the firmware through a standard FTDI board. The appendix in the RN4870/71 PICtail™/PICtail PLUS DAUGHTER BOARD USER’S GUIDE sort of describes how to do this. It's a bit tricky, let me know if you need some help. |
|
|
|
Hislach,谢谢你的回复,我没有PIC尾子板,我正在与独立的RN48 71模块连接到我的项目。事情是,在过去的时候,我已经发送了SR,8000命令来设置H/W流量控制。现在,如果我检查CTS(RN878)PIN,它总是高后,我刚刚。模块(或者按顺序拉SCI(Pin 16)和RST(Pin 10)),换句话说,它还没有准备好接收任何命令。
以上来自于百度翻译 以下为原文 Hi slach, Thanks for reply, I do not have PIC TAIL DAUGHTER BOARD I am working with stand alone RN4871 module connected to my project. The thing is, in past when it was working I had sent SR,8000 command to set H/W flow control on. now if I check CTS (of RN4871) pin it is always high after I have just power up the module (or pulled SCI(pin16) and RST(pin10) high - in that order), in other words it is not yet ready to receive any command. |
|
|
|
如果你的单位没有回应你所能做的就是尝试重新加载固件。如果你有一个独立的单元,你需要一个3.3V的FTDI板和访问引脚2(GND),7(RX),8(TX),13(GND),14(3.3V)和16(2200)来重新加载固件。加上来自微芯片的Windows ISUPDATE.EXE程序和固件文件
以上来自于百度翻译 以下为原文 If your unit doesn't respond about all you can do is try to reload the firmware. If you have a stand alone unit you'd need a 3.3v FTDI board and access to pins 2 (gnd), 7 (rx), 8 (tx), 13 (gnd), 14 (3.3v) & 16 (P2_0) to reload the firmware. Plus the Windows isupdate.exe program and firmware files from MicroChip |
|
|
|
解决方法:RN48的RTS引脚上需要下拉电阻(1KOHM)----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------打开MCU中的H/W流量控制,这个引脚不是完全在0V(或0.00 nV作为另一个流量控制线),它是0.180 +V,我怀疑它不够低。因为我的模块已经放在电路(我的项目)中,而不是断开所有的引脚,我只是操纵双方的CTS,所以Y随时准备接收。这暂时解决了我的问题,现在我可以通信到RN861(当然H/W流量控制不要紧,因为CTS的低)“$$“工作精细”SR R”和“SSR”“工作完成并通过透明UART通信现在我尝试工厂复位,我尝试工厂复位”。使用“2”作为ARG,它没有工作……“SF,2 R”“Err”,但“SF,1 R”运行好,设备工厂重新设置(回复重新启动……)再次检查没有任何流量控制一切都很好,但打开H/W流量控制每件事停止工作……正如我提到的,我把一个1K下拉在RTS(FRO)M RN48 71),现在它的工作与H/W流量控制。
以上来自于百度翻译 以下为原文 Solved: All it needed was pull down resistor (1kOhm) on RTS pin of RN4871 ---------------------------------------------------------------------------------------------------------------------- I mentioned CTS on RN4871 side was always high, that was mistake RTS on Bluetooth side remain high, even if I turned on H/W flow control in MCU this pin was not completely at 0v(or 0.00nV as the other flow control line) it was 0.180+V, which I doubt was not low enough. As my module is already placed in circuit(of my project) instead of disconnecting all the pins I just manipulated CTS of both sides, so they are always ready to receive. This solved my problem temporarily, now I can communicate to RN4871 (of course H/W flow control is does not matter as CTS's are low) "$$$" worked fine "SRr" and "SSr" worked fine and communicated over transparent UART Now I tried to Factory reset, I tried to factory reset using "2" as arg it did not work... "SF,2r" "ERR" But "SF,1r" worked ok, device factory reseted (replied rebooting...) again checking without any flow control everything worked fine but turning on h/w flow control every thing stopped working.... as I mentioned after I put a pull-down of 1K at RTS(from RN4871) and now its working with H/W flow control. |
|
|
|
我怀疑当你没有仪表连接时,电压会更高。
以上来自于百度翻译 以下为原文 I suspect the voltage was much higher when you did not have a meter connected to it. |
|
|
|
只有小组成员才能发言,加入小组>>
5244 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3214 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2261 浏览 5 评论
779浏览 1评论
675浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
601浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
683浏览 0评论
580浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 00:00 , Processed in 2.019873 second(s), Total 86, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号