Firmware Upload Errors - Mediatek Labs LinkIt Connect 7681 Developer's Manual

Table of Contents

Advertisement

6.1.2.2.
Missing variable
A missing variable error will be identified in the log file as shown in this example:
cust/iot_custom.c:187: error: 'curr_time_2' undeclared (first use in this
function)
cust/iot_custom.c:187: error: (Each undeclared identifier is reported only
once
cust/iot_custom.c:187: error: for each function it appears in.)
The root cause is either an undeclared variable or a miss spelt variable name.
6.1.2.3.
Undefined reference to 'xxxxx'
An undefined reference (API not found) error will be identified in the log file as shown in this
example:
obj/sta/iot_custom.o: In function `iot_cust_subtask1':
(.text.iot_cust_subtask1+0x6): undefined reference to `iot_get_ms__time'
obj/sta/iot_custom.o: In function `iot_cust_subtask1':
(.text.iot_cust_subtask1+0xa): undefined reference to `iot_get_ms__time'
Makefile:284: recipe for target 'out/sta/MT7681_sta.elf' failed
make: *** [out/sta/MT7681_sta.elf] Error 1
The root cause is a spelling error in the function name, correct the function spelling (remembering
that function names are case sensitive).
6.2.

Firmware upload errors

Uploading firmware may not work as expected occasionally. This may be indicated by:
the firmware uploader displaying the message Failed to enter 'Recovery Mode'
automatically, please press reset key manually.
the board not responding as expected after a firmware update.
In these cases, use the reset switch to put the LinkIt Connect 7681 development board into
recovery mode, as shown in Figure 25. The board should restart and run the firmware as expected.
If the board still isn't behaving as expected, consult section 6.4, "Unresponsive board".
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
MediaTek LinkIt™ Connect 7681 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 51 of 65

Advertisement

Table of Contents
loading

Table of Contents