Thursday, December 20, 2018

Come to visit Raytac at Embedded World #Hall 3 / 3-520

With over 1,000 exhibitors gathering in Nuremberg, Germany on 26 Feb.~29 Feb., 2019 , Embedded World has become one of  the biggest trade fair among the IoT Technologies.

Raytac is pleased to be in attendance and present our full range of module family based on Nordic nRF51822, nRF52832 and nRF52840.

Meanwhile, the latest product, MDBT50Q-RX, a multi protocol nRF52840 dongle will first time open to public which power up the most advanced IoT and Mesh network implements.



We welcome all developers come to meet us and look forward to seeing you there.


Raytac Corporation 勁達國際電子有限公司
A BT5 & BT 4.2 & BTv4.1 module maker based on Nordic nRF51 & nRF52 solution 
(nRF51822 & nRF51422 & nRF52832 & nRF52810 & nRF52840)

www.raytac.com          email: cs@raytac.com          Tel: +886.2.3234.0208

Wednesday, December 19, 2018

Raytac Released nRF52840 USB Dongle "MDBT50Q-RX"

Raytac released nRF52840 USB Dongle which deployed MDBT50Q-P1M module offer a Bluetooth 5 specification granted, FCC/IC/Telec(MIC)/KC/SRRC/NCC/WPC certified, CE/RCM compliant solution.





Tuesday, December 18, 2018

Bluetooth Project: How to program your firmware to module

After setup been done, here comes the next question: How to program the firmware in to the module. We are using some simple instruction in below for reader's quick reference.

Hardware
You will need a Nordic nRF5X DK or a Segger J-link as programmer to load the firmware. To use Nordic nRF5X DK to debug the SoC as well, you will need to order corresponding nRF5X DK to match the SoC number. For example, order nRF52840 DK to debug nRF52840 SoC or order nRF52 DK to debug nRF52832/52810 SoC. But if you are only using it as programmer, any version of nRF5X DK will work as we only use the J-link on this board.

Software
Please download Nordic nRFGo Studio or Nordic nRF Connect for Desktop for programming. Remember to install nRF5X Command Line Tools if the board was not detected by nRFGo Studio. Once they are all connected, you can then start programming. Please make sure to “erase all” every time before programming.


For more tutorials and demo of sample code, please visit Nordic’s DevZone and Infocenter where have ample resources to utilize. 

Programing 
Case A. SoftDevice + Application

1. If Softdevice and Application code separately
Erase all first. Then program Softdevice and follow by Application code.
   
2. If Softdevice and Application combined code is available (Recommend)
Erase all first. Then program the combined code
   
 **Raytac module comes with testing code programmed. Please erase the testing code as the first step and then start the programming.

Case B. SoftDevice + Bootloader+ Application

1. Softdevice+Bootloader 
Erase all first. Program the Softdevice and follow by Bootloader. Then use DFU to update the application code.

2. Softdevice+Application+Bootloader combined code is available (Recommend)
Erase all First and follow by programming the combined code.

 **Raytac module comes with testing code programmed. Please erase the testing code as the first step and then start the programming.

*Remark
Bootloader is needed for DFU (OTA) Function.
SDK 11 (included) and before - a legacy DFU method, which is simple but less security
SDK 12 (Included) and after - a latest DFU method, which has higher security.



To easy customer's IoT device mass production, Raytac provide code pre-program service into module before shipment.  There are requirements listed in below for customers who need the service!

1. A single, combined hex file is required. Please combine softdevice and application or/and bootloader (depending on your firmware design) together before programming. This will shorten programming time and help to manage your code easier.
2. Need a simple method to check programming status. The easiest way is to check the device name if device will broadcast device name after programming is done; or use I/O to trigger LED and its behavior. This does not aim to test any or full function of your device, only a simple method for the operator to know programming status.


Raytac Corporation 勁達國際電子有限公司
A BT5 & BT 4.2 & BTv4.1 module maker based on Nordic nRF51 & nRF52 solution 
(nRF51822 & nRF51422 & nRF52832 & nRF52810 & nRF52840)
www.raytac.com          email: cs@raytac.com          Tel: +886.2.3234.0208

Monday, December 17, 2018

nRF52832 Module MDBT42Q Reel Package Now Is Available!

Raytac Corporation, a recommended 3rd-party module maker by Nordic Semiconductor, announced that MDBT42Q series module now provide a Reel Package option for customers' selection.


Wednesday, December 5, 2018

BLE Module Firmware Development Q&A: NFC pins creates “Error 404 – signal not found” (technically)

When you start developing your firmware for your Nordic nRF52832 solution-based Raytac BLE module, you will (like on most other projects) bump into some difficulties.
The other day, we had yet another case where a simple thing caused major difficulties for even some of the brightest people – a customer couldn’t get their GPIO direction bit to work.
Although not too difficult to solve, it’s a common error that most customers end up having on our modules and that is because Pin 0.09 & 0.10 are set to NFC per Nordic’s default settings. In order to be able to use these pins as normal GPIOs, you will have to change those settings.
The two pins I am talking about are the ones linked to the NFC-part to the far left in the circuit example below:
So, to convert these two pins to normal GPIOs, here’s what you need to do:
In SES, you’ll need to add CONFIG_NFCT_PINS_AS_GPIOS.






Pic 1
Right-click on the project and click “Edit Options”
Pic 2
Select “Common”, click on “Preprocessor” under “Code” and then click “CONFIG_NFCT_PINS_AS_GPIOS”

Check out the link below for a reference example on Nordic’s DevZone.
Reference link: Nordic DevZone – NFC pins into GPIOs




Raytac Corporation


A Bluetooth Low Energy module maker based on Nordic Solutions!

www.raytac.com          email: cs@raytac.com          


Friday, November 30, 2018

Bluetooth Project: How to get your Nordic solution firmware development started

Setting up Nordic's IDE (Integrated Development Environment) is the first step into Bluetooth product development, and it's also where most developers need support.
In order for developers to be able to smoothly set up their IDE, Raytac hereby provide you with a few easy steps.

First and foremost - In terms of IDEs, there are currently four different ones that are all viable; Segger Embedded Studio (SES), Keil C, IAR and GCC. Among these, SES and GCC are IDEs free of charge while Keil C and IAR both require the developer to pay a license fee to their respective company.

We at Raytac generally recommend SES, as it is an IDE brought forth by both Nordic and Segger together and it uses Segger J-Link. Although GCC is a free IDE, it only builds code and is impractical editting make file or debugging firmware. Thus, it's not our primary choice.

Therefore, we will hereby provide you a step-by-step guide on how to set up your IDE when using SES.

1. Where to download SES?


2. Where to Nordic SDK ( Use SDK v15.0.0 as an example)





3. Install SES V3.34 and unzip SDK v15.0.0

After SES installed, you may find "Non-Commercial License" 



4. SES License Key?

5. How to get free License Key?

Key in Name, Company name, Address and PC's MAC address. Then press "Request License", the "License key" will send to your mail box automatically.



Tips: How look up PC's Mac address: Pls enter DOS mode, 
Key in ipconfig/all,
The Mac address will be found in Ethernet card.


6. Copy the license key from mail


7. Execute SES and find out the "License Manager" in "Tools" option


8. Select "Activate Embedded Studio", Paste the "License Key", Click "Install License"


9. When completed, click "Manage Activation", shown "License key" well installed.



CMSIS Configuration Wizard,




10. Select "Open Solution" in SES's File option to open SDK v15.0.0 project
..\examples\ble_peripheral\ble_app_uart\pca10040\s132\ses\ble_app_uart_pca10040_s132.emProject 




11. Select "Open Studio Folder" in SES's File option, then select "External Tools Configuration". You may find the display as below screen shot. Pls paste the below command. (The command can also be found in below link)

11. Please save the "tools.xml". Afterward, developers may able start over build code and debug works. 

Build Code & Debug




Raytac Corporation


A Bluetooth Low Energy module maker based on Nordic Solutions!

www.raytac.com          email: cs@raytac.com