Helpful ReplyHot!RN4870 %Unknown Device% meaning

Page: 123 > Showing page 1 of 3 - Powered by APG vNext Trial
Author
kotkis
Starting Member
  • Total Posts : 83
  • Reward points : 0
  • Joined: 2004/09/25 06:32:28
  • Location: Bulgaria
  • Status: offline
2016/10/20 23:53:16 (permalink)
0

RN4870 %Unknown Device% meaning

Hi all,
 
Just saw this message after rebooting the module and entering command mode:
%REBOOT%
$$$
%Unknown Device%
CMD>
 
The modules are two and they are working for at least 3 months - never got the message till now.
This is the first time i see this message(only on the one of the modules, even they are backed with exactly the same firmware).
The message appears on every reboot - not just once, but the device is fully functional.
 
There is nothing mentioned for %Unknown Device% in the docs - if someone knows why i got this - please post.
 
Thanks in advance
 
#1
aabreu
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2016/05/20 02:23:40
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2016/11/23 04:43:32 (permalink)
0
I have the same problem, but in my case I just receive %REBOOT%%Unkown Device% without even attempting to enter command mode. Did you find out why it is/was happening?
Also, I noticed that the module doesn't always send the %REBOOT% message after rebooting, and when it doesn't, it doesn't respond to commands. Have you had this issue as well?
#2
kotkis
Starting Member
  • Total Posts : 83
  • Reward points : 0
  • Joined: 2004/09/25 06:32:28
  • Location: Bulgaria
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2016/11/24 05:36:20 (permalink)
0
Still there is no information about "Unknown Device" message.
As for the other case - i noticed several times a reboot without "Reboot" message and in order to prevent it I'm reseting again the module using the RST pin if there is no "reboot" message in several seconds.
 
#3
hbr
Starting Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2016/12/20 03:14:39
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/01/02 04:25:00 (permalink)
0
I see the same message from one of my three RN4871 modules "%Unknown Device%" always after reboot.
The other modules don't show this behaviour. Difference: The incorrect module has a BTA=000000000000...
 
#4
RISC
Super Member
  • Total Posts : 5240
  • Reward points : 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/01/02 15:13:38 (permalink)
0
Hi,
What is the meaning of "BTA". Is it the BT (MAC) Address ?
If so it should not be 0... You should contact Microchip technical support to check about this.
Regards
#5
hbr
Starting Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2016/12/20 03:14:39
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/01/02 23:56:14 (permalink)
0
Hello,
i think it's the BlueToothAddress viewable by the "D" command. ("BTA" still not found in my docs...)
How can i change this address to be valid again ?
thx
 
#6
RISC
Super Member
  • Total Posts : 5240
  • Reward points : 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/01/08 10:36:52 (permalink)
0
Hi,
I don't know how to fix this...I recommend that you contact Microchip technical support (webticket) to know how to handle this issue .
Regards
#7
DPerez
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2014/01/15 00:26:02
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/03/14 02:22:05 (permalink)
0
Hello everyone,
I have the same problem in an RN4871 module, someone found a solution.
Regards
#8
hbr
Starting Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2016/12/20 03:14:39
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/03/14 07:21:05 (permalink)
5 (1)
Hi,
if the MAC is 0 then you have also %Unknown Device% as a boot-message.
BTA can be set by command "S:,0000,<your 6 Bytes MAC>". 
But if you do a SF,1 the addr. will be lost=zero again. (?)
uC support says the cause could be a bad power supply (need 10uF CAP at the Vbat-line and a well defined reset).
--> results in a corrupted internal memory area / defective device....  8(
I'm still testing on this issue.
#9
JuliaDee
Super Member
  • Total Posts : 173
  • Reward points : 0
  • Joined: 2009/05/04 13:51:40
  • Location: Connecticut
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/03/14 08:18:20 (permalink)
3 (1)
I have been in contact with Microchip support on this issue. They believe it is caused by memory corruption during power down or brownout or low battery voltage. At present their recommendation is to add a reset controller IC such as the MCP111 to hold the module in reset when Vdd is below the specified operating voltage.

"Given one hour in which to chop down a tree, I'd spend the first 30 minutes sharpening my axe" - Abraham Lincoln
#10
JuliaDee
Super Member
  • Total Posts : 173
  • Reward points : 0
  • Joined: 2009/05/04 13:51:40
  • Location: Connecticut
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/03/25 16:24:11 (permalink)
0
Hm. Added the MCP111 reset controller to my PCB, as recommended by Microchip. Enjoyed a few days of pleasant module configuration and communication, until today, when - "%Unknown Device% and no more MAC address. Sad.

"Given one hour in which to chop down a tree, I'd spend the first 30 minutes sharpening my axe" - Abraham Lincoln
#11
hbr
Starting Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2016/12/20 03:14:39
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/03/27 00:19:44 (permalink)
0
As a workaround I'm testing a fixed 470R pulldown from RES_N of the module to GND. No other pullup or cap to this pin anymore. Tank cap on Vdd (22u) still present.
--> RES_N pin only controlled by my host MCU: Leaving the pin down until host is up und running stable after seconds, than putting active HI to RES_N  (driving/wasting 7mA via the 470R ...sigh..) and waiting a fews seconds until BLE-module has rebooted. Seems to be stable until now...(PIC 16Fxxxx host MCU)
 
#12
JuliaDee
Super Member
  • Total Posts : 173
  • Reward points : 0
  • Joined: 2009/05/04 13:51:40
  • Location: Connecticut
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/03/27 06:36:10 (permalink)
5 (1)
This time it definitely was not a power event. I believe it was caused by sending a command before the previous command's response had been completely sent by the module. It's critical to wait until the module's complete response, including delimiters, trailing spaces, etc. has been received. There can be long gaps between the characters of the responses, you have to wait for them all.

"Given one hour in which to chop down a tree, I'd spend the first 30 minutes sharpening my axe" - Abraham Lincoln
#13
traversjames
Starting Member
  • Total Posts : 21
  • Reward points : 0
  • Joined: 2017/04/26 15:06:38
  • Location: Ireland
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/04/27 12:23:49 (permalink)
0
Bit late to this one but I also saw the %Unknown Device% message from a RN4871 part.  I was doing a lot of probing and power-cycling on a first build of the host PCB so not sure what caused it.  What may be interesting, though, is that it does really become "Unknown" as a device - see output compared to the non-corrupted RN4871 below:
RN4870 V1.18.3 4/14/2016 (c)Microchip Technology Inc
BTA=000000000000
Name=RN_BLE
Connected=no
Authen=2
Features=0000
Services=00
AOK> SW,0A,00
Err> SW,0C,04
AOK> SW,09,04
CMD> RN4871 V1.18.3 4/14/2016 (c)Microchip Technology Inc
CMD> BTA=D88039F0E830
Name=RN_BLE
Connected=no
Authen=2
Features=0000
Services=00
Both devices have been reloaded with the firmware, but the top one which was showing the message now advertises itself as an RN4870 and also behaves as such - attempting to configure the 0C pin present on the '71 fails, but the 09 pin which is on the '70 but not the '71 succeeds.  The 0A pin is common to both.
 
My guess is that an area of NVM which holds device information has been corrupted.  It may be possible to reload this using the firmware update tool but I haven't tried this option yet. This tool has come in handy in restoring a couple of devices which I had otherwise bricked, though.  May be useful to someone.
#14
JuliaDee
Super Member
  • Total Posts : 173
  • Reward points : 0
  • Joined: 2009/05/04 13:51:40
  • Location: Connecticut
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/04/27 15:52:46 (permalink)
0
Which tool are you referring to and how can I get it? Thanks.

"Given one hour in which to chop down a tree, I'd spend the first 30 minutes sharpening my axe" - Abraham Lincoln
#15
traversjames
Starting Member
  • Total Posts : 21
  • Reward points : 0
  • Joined: 2017/04/26 15:06:38
  • Location: Ireland
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/04/28 03:43:55 (permalink) ☄ Helpfulby JuliaDee 2017/06/20 18:12:29
5 (1)
 
It's the firmware update tool on the product page under Documentation, you will also need to grab the firmware files:
Firmware update tool
Firmware
Instructions for performing the update are given in the Pictail User Guide, page 43.  Note, you do not need the Pictail setup to do this - just pull down the System Configuration pin (P2_0) and connect TX,RX to a low-voltage serial interface.  Be aware though that P2_0 seems to be sampled coming out of reset so needs to be low when RST_N is released. 
 
Let me know how it goes but as I said it didn't fix the %Unknown Device% issue, just other locked-up configurations.
 
#16
Zona
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2014/12/30 21:30:09
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/06/22 02:00:48 (permalink)
0
I met the %%reboot% Unknown device % problem too.
And I downloaded the update tool and the firmware as up.
I connected successfully ,but faild in update, It said "erashFlash failed".
Any comments are welcome!
I am a little confused and think maybe the choose of RN4871 is a mistake.... :(
#17
Zona
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2014/12/30 21:30:09
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/06/22 03:00:24 (permalink)
0
after serival hours study and thinking, I thinks the RN4870/1 chip's fw is not as stable as MCP said. I hope i have a chance to help update the source code , though it is somekind impossible.  :(
How this module pass the test? mad: mad
#18
JuliaDee
Super Member
  • Total Posts : 173
  • Reward points : 0
  • Joined: 2009/05/04 13:51:40
  • Location: Connecticut
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/06/22 06:18:00 (permalink) ☄ Helpfulby Zona 2017/06/22 17:38:44
0
I've been told that revised documentation is imminent, but nothing about new firmware :( These modules were not developed by Microchip, they were acquired from ISSC in Taiwan. Very frustrating.

"Given one hour in which to chop down a tree, I'd spend the first 30 minutes sharpening my axe" - Abraham Lincoln
#19
Zona
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2014/12/30 21:30:09
  • Location: 0
  • Status: offline
Re: RN4870 %Unknown Device% meaning 2017/06/22 17:41:08 (permalink)
0
JuliaDee
I've been told that revised documentation is imminent, but nothing about new firmware :( These modules were not developed by Microchip, they were acquired from ISSC in Taiwan. Very frustrating.


thanks for your info.  And, I have emailed tech-support to mcp, I hope the feedback is positive.
Also I think maybe I have to text sillab's product. frustrating too.
 
post edited by Zona - 2017/06/22 17:46:11
#20
Page: 123 > Showing page 1 of 3 - Powered by APG vNext Trial
Jump to:
© 2018 APG vNext Trial Version 4.5