SIM800 Series Embedded at Compiling Environment V1.02
SIM800 Series Embedded at Compiling Environment V1.02
_Compiling Environment_V1.02
Smart Machine Smart Decision
Version 1.02
Date 2015-08-10
Status Released
General Notes
Simcom offers this information as a service to its customers, to support application and
engineering efforts that use the products designed by Simcom. The information provided is based
upon requirements specifically provided to Simcom by the customers. Simcom has not undertaken
any independent search for additional relevant information, including any information that may be
in the customer’s possession. Furthermore, system validation of this product designed by Simcom
within a larger electronic system remains the responsibility of the customer or the customer’s
system integrator. All specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information which is the property of SIMCOM
Limited., copying of this document and giving it to others and the using or communication of the
contents thereof, are forbidden without express authority. Offenders are liable to the payment of
damages. All rights reserved in the event of grant of a patent or the registration of a utility model
or design. All specification supplied herein are subject to change without notice at any time.
Content
2 Compiling................................................................................................................................. 6
3 Download ................................................................................................................................. 9
4 Debug ..................................................................................................................................... 10
Version History
Scope
This document describes the development guide of Embedded AT and relative notes.
Folder list:
2 Compiling
Once RVCT compiler installed successfully, armcc command will show you correct version
info as following.
SIM800H32.bat
build/user.mak
build/Makefile
build/option.mak
Go to SRC_OPEN_MODE_NAME
folder to compile case
Here, we add a new test case, for example sms case, source cdoe includes main.c, app_sms.c
and app_sms.h.
Note: case source should include main.c file for app entrance.
*Note, we recommend main.c file for app entrance in EAT project. If there has no mail.c but
different source file only, should modify following info to link to main.o file.
MAIN_SRC := app_demo_uart.c
MAIN_OBJ := main.o
3 Download
Objective file includes two sections. One is core file for simcom module; another is app file for
EAT case.
Normally, core is here, just update app file. But if need new core version to build project, should
download these two sections together. Make sure app file is compiled based on this new core file.
Note:
1. If SIMCom offer new CORE files to customers, CORE must be upgraded. Besides, APP has
to be compiled again with new CORE and be downloaded.
2. Download tools will be different according to different requirements.
4 Debug
Three methods are available to view logs.
eat_uart_write() interface to print log info
Configure DEBUG port as EAT_UART_DEBUG_MODE_UART mode, and eat_trace()
interface print log info which could be visible with hyperterminal
Configure DEBUG port as EAT_UART_DEBUG_MODE_TRACE mode, and eat_trace()
interface prints log info which only be visible with Catcher tool provided by SIMCom.
app_func_ext1 ():
EatUartConfig_st cfg =
{
EAT_UART_BAUD_115200,
EAT_UART_DATA_BITS_8,
EAT_UART_STOP_BITS_1,
EAT_UART_PARITY_NONE
};
// configue EAT_UART_2 as debug
eat_uart_set_debug(EAT_UART_2);
void app_func_ext1(void*data)
{
eat_uart_set_debug(EAT_UART_2);
……
}
4) Configure port
Pick up correct COM port, choose 460800 baud rate.
6) Configure filter.
7) Ready to catch log info. Hit “View-> PS Integrated”, log trace will be visible.
Contact us:
SIMCom Wireless Solutions Co.,Ltd.
Address: Building A, SIM Technology Building, No. 633, Jinzhong Road, Shanghai,
P. R. China 200335
Tel: +86 21 3252 3300
Fax: +86 21 3252 3020
URL: www.sim.com/wm