DA16200 Thing Plus Hookup Guide
Troubleshooting Tips
We have also included some troubleshooting tips, below, for issues that users may come across.
- One of our employees compiled a great list of troubleshooting tips based on the most common customer issues. This is the perfect place to start.
- Users looking for support on general FreeRTOS questions, can click on this link. There users can get started with posting a topic in FreeRTOS forum.
- Users looking for support with the DA16200 SDK specifically, should post their topic on RenesasRulz forum.
Sleep Mode Current
The DA16200 module can be put into various sleep modes to reduce the power consumption of the module. However, when measuring the current draw with the MEAS
jumper, users may notice a current consumption up to 10 mA. This is largely attributed to the 7 mA operational current for the CH340 UART-to-Serial converter IC. The remaining 2-3 mA are consumed by the pull-up/down resistors and LEDs.
Serial Terminal Frozen
We have found that users could accidentally upload code, which may not function properly and potentially bog down the serial terminal; impeding it from taking inputs. If this occurs, users will need to use the J-Link programmer to program the module (with "known good" code) through the JTAG pins.
Reset
The reset button on this board doesn't cause the module to restart the firmware operation; it is used to reset the DA16200 module to the factory setting/configuration (when held down for +5 seconds). In order to reset the firmware, users can use the following commands in the serial debug interface:
reboot
- This command will cause the module to restart the firmware execution.reset
/boot
reset
- This command will take users to theMaskROM
mode.boot
- From theMaskROM
command mode, this command will cause the module to restart the firmware execution.
OTA Update Example
With the OTA firmware update example, users may need to erase the firmware or swap which firmware image is currently running.
Erase the Firmware
When utilizing the OTA example, users may need to erase the firmware. This can be performed through the Net
command mode.
- From the
[/DA16200] #
prompt, enternet
to enter the NET command mode. - From the
[/DA16200/NET] #
prompt, enter theota_update info
command to display the firmware information from the SFLASH memory - Users can then use the
ota_update erase_sflash <start> <size>
command to erase a section of the 4MB SFLASH memory.- Example: To remove the firmware operating in the
RTOS #1
section (0x1e2000) with 117268 bytes of memory, users will use the commandota_update erase_sflash 0x1e2000 117268
- Example: To remove the firmware operating in the
Boot Index
There are two slots, in which the main firmware image FRTOS
can be stored in the SFLASH memory. These locations are at RTOS #0
(0x23000) and RTOS #1
(0x1e2000). Through the serial debug interface, users can specify which firmware image that the board boots up with.
- From the command console, the boot index can be changed using the
boot_idx
commandboot_idx 0
- setsRTOS #0
as the firmware to bootboot_idx 1
- setsRTOS #1
as the firmware to boot
- After running the
boot_idx
command, run thereboot
command to boot the firmware that was selected.
Boot Failures
During the development process, there may be times when there is an error in the code or a problem downloading the firmware which could cause the DA16200/600 to fail to boot properly.
Please refer to Appendix D of the DA16200 FreeRTOS Getting Started Guide.