Overview
The ROM API project is a simple demonstration program of the SDK ROM API driver.
The ROM API supports In-application-programming functionality by the IAP API, via the unified memory interface or the Sbloader API.
Hardware requirements
Micro USB cable
RD-RW61X-BGA board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the PC host and the MCU-Link USB port (J7) on the board
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Launch the debugger in your IDE to begin running the demo.
Running the demo
Example will print version, perform various memory interface operations (program, erase, flush). When the example runs successfully, the following message is displayed in the terminal.
INFO: IAP driver version [I-v1.0.0]
INFO: Starting Example test_iap_mem_operation
INFO: Finished Example test_iap_mem_operation
INFO: Starting Example test_iap_mem_operation_user_managed_encrypted_flash
INFO: Finished Example test_iap_mem_operation_user_managed_encrypted_flash
INFO: Starting Example test_sb_loader_examples
INFO: Finished Example test_sb_loader_examples
ALL IAP Examples completed successfully!