Hardware requirements

  • Micro USB cable

  • RD-RW61X-BGA board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J7) on the board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the example.

Running the demo

When the demo runs successfully, the log would be seen on the Terminal like:

This is cJSON example.
This example constructs a JSON stucture using cJSON, print it to string and then parses the string as JSON and checks the info.
JSON created successfully:
{
	"sdk version":	2,
	"cJSON version":	"x.y.z",
	"example info":	{
		"category":	"demo_apps",
		"name":	"cjson"
	},
	"demo strings":	["This", "is", "cJSON", "demo"]
}
JSON parsed successfully.