Radio Bridge RBM101H-345 User Manual Download Page 17

 

 

R

ADIO 

B

RIDGE 

RBM101

U

SER 

G

UIDE

 

 

 

C

OPYRIGHT 

©

 

2017,

 

R

ADIO 

B

RIDGE 

I

NC

.

                                             

R

ADIO 

B

RIDGE 

RBM101

U

SER 

G

UIDE

  P

AGE 

16

 OF 

19

 

 

5.

 

C

ONFIGURATION

 

5.1.

 

Bootloader 

The module contains a bootloader to allow for firmware upgrades. The configuration utility 
provides an easy to use interface for the bootloader and programming the module with new 
firmware  images  and  is  recommended  above  using  any  terminal  emulators  or  manual 
methods of upgrading the image. 

5.1.1.

 

Using Terminal Emulators 

When  usage  of  the  configuration  utility  is  not  possible,  the  bootloader  can  also  be  used 
through  a  simple  terminal  program  such  as  Tera  Term  via  AT  commands  or  through  an 
external microcontroller.  

If the serial port is connected to a terminal program, the following will be displayed after it 
receives the BL AT command: 

Press <DEL> to enter Bootloader 

The bootloader then waits a period of 3 seconds (by default) for the <DEL> character (ASCII 
character  127)  and  re-enters  the  program  if  it  is  not  received.  The  same  prompt  appears 
anytime the device is reset which allows the user to program a new image even if the current 
image has become corrupt.  

When running a terminal program, the following is displayed when the bootloader is entered: 

Radio Bridge Bootloader v1.0.0 

1.

 

Upload Image 

2.

 

Run Application 

3.

 

Menu  

Sending ASCII ‘1’ starts a 60 second timer and provides a window for the new image to be 

transferred via XMODEM protocol. The XMODEM protocol is a standard file transfer protocol 
and is described in other references. If the firmware image transfers properly the menu will 
re-

appear and sending ASCII ‘2’ will re

-enter the main application.  

The time that the bootloader waits for the <DEL> input key is configurable through the BT 
(Bootloader Timeout) AT command. The maximum wait time is 3 seconds (default) but the 
delay can be reduced to reduce the amount of time it takes to enter the main application. If 
the bootloader timeout is set to zero, the bootloader is skipped completely at reset and the 
main application is entered directly. 

As  a  failsafe  measure,  there  are  two  pads  on  the  top  side  of  the  module  with  the  label 

“Bootloader”.  If  these  pads  are  shorted  together  during  reset,  the  bootloader  will  enter 

automatically.  

Summary of Contents for RBM101H-345

Page 1: ...Wireless Receiver For 319MHz Sensors RBM101i 319 User Guide VERSION 0 1 APRIL 2017...

Page 2: ...2 Messages from the Module 6 3 2 1 CMD Command Response 7 3 2 2 ERR Error Message 7 3 2 3 STA Status Message 7 3 2 4 SEN Sensor Message 8 3 3 AT Command Reference 9 3 3 1 AT Commands 9 3 3 1 1 AT Att...

Page 3: ...USER GUIDE PAGE 2 OF 19 4 3 Error Messages 14 5 CONFIGURATION 16 5 1 Bootloader 16 5 1 1 Using Terminal Emulators 16 6 MECHANICAL DRAWINGS 18 7 TRADEMARKS AND COPYRIGHT 19 8 DISCLAIMERS WARRANTY AND...

Page 4: ...tallations home automation systems life safety products and more The RBM101i 319 compatibility list includes but is not limited to 319MHz sensors from the following manufacturers UTC Interlogix ITI Qo...

Page 5: ...ATIONS 2 1 General Specifications The following table provides the general specifications for the RBM101i Table 2 RBM101i General Specifications Specification Value Operating Frequency 319 508MHz Chan...

Page 6: ...1 Vcc Power supply 2 UART_TX Out UART data out 3 UART_RX In UART data in 4 N C Not connected 5 nReset In Device is reset when held low 6 N C Not connected 7 N C Not connected 8 N C Not connected 9 N C...

Page 7: ...ed as the ASCII string 12 which allows for convenient control through a terminal emulator Host processors communicating to the module through a UART must convert values to ASCII coded values 3 1 Comma...

Page 8: ...1 01 the response would be CMD 0101 3 2 2 ERR Error Message This is an error message from the module that sends a 4 digit error code as ASCII coded hex characters For instance error code 0x0000 would...

Page 9: ...yte 1 byte 1 byte 3 bytes 1 byte Sensor ID This is the unique 24 bit sensor ID that is usually printed on a sticker on the enclosure of the sensor Message Count With every new sensor event this field...

Page 10: ...ng process where a bootloader delay is used to determine if the device is ready 3 3 1 1 AT Attention This is the basic standalone command to determine if a device is available out of reset boot loadin...

Page 11: ...eout This command changes the time that the bootloader waits for the DEL character prior to booting the application The parameter is a 4 digit ASCII coded hex value and is in units of milliseconds Def...

Page 12: ...ble 9 Baud Rate Parameter Baud Rate 0 1 200 1 2 400 2 4 800 3 9 600 4 19 200 5 38 400 6 57 600 7 115 200 8 230 400 If the baud rate setting is successful the module will respond with a CMD OK at the o...

Page 13: ...er is a 16 bit value in units of 10ms Default 01F5 5 seconds This does not block new events from the same sensor that fall within this window Each new event should contain an updated message count whi...

Page 14: ...provided here to give the user basic functionality It is highly recommended to test all boundary conditions for each sensor to be used in an end application and verify the tables for that use case In...

Page 15: ...aracters ERR as defined in the Serial Commands section This error codes are defined in the following table Table 12 Error Messages Code Error Description 0003 Not Ready for new commands The host is at...

Page 16: ...carrier or test packets failed 001f Write to flash failed An attempted write to flash failed 0020 Radio receive config failed The configuration of the radio receiver failed 0021 Radio transmit data lo...

Page 17: ...ytime the device is reset which allows the user to program a new image even if the current image has become corrupt When running a terminal program the following is displayed when the bootloader is en...

Page 18: ...ded by Radio Bridge are signed and encrypted meaning that they cannot be loaded on other hardware and no other firmware images can be loaded on the module through the bootloader Note that the bootload...

Page 19: ...RADIO BRIDGE RBM101I USER GUIDE COPYRIGHT 2017 RADIO BRIDGE INC RADIO BRIDGE RBM101I USER GUIDE PAGE 18 OF 19 6 MECHANICAL DRAWINGS...

Page 20: ...warranty of any kind expressed or implied including but not limited to the implied warranties of fitness or merchantability for a particular purpose Radio Bridge may make improvements and or changes...

Reviews: