0% found this document useful (0 votes)
690 views

ALiEditor User Manual

This document summarizes the ALiEditor user manual. It describes how to (1) open various file types and select databases, (2) browse satellite, TP, and program information, and (3) edit elements like adding satellites and programs. Screenshots illustrate functions for opening files, browsing data trees, and editing database elements. The manual also provides information on saving, exporting, downloading, and uploading files between the editor and STB flash memory.

Uploaded by

j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
690 views

ALiEditor User Manual

This document summarizes the ALiEditor user manual. It describes how to (1) open various file types and select databases, (2) browse satellite, TP, and program information, and (3) edit elements like adding satellites and programs. Screenshots illustrate functions for opening files, browsing data trees, and editing database elements. The manual also provides information on saving, exporting, downloading, and uploading files between the editor and STB flash memory.

Uploaded by

j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 15

ALiEditor User Manual

1.3

2011-07-10

THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTY


OF ALI CORPORATION AND SHALL NOT BE DISCLOSED TO OTHERS IN WHOLE OR IN PART,
REPRODUCED, COPIED, OR USED AS THE BASIS FOR DESIGN, MANUFACTURING, OR SALE OF
APPARATUS WITHOUT WRITTEN PERMISSION OF ALI CORPORATION

ALiEditor User Manual


Change History

Revision Issue Date Comments


1.0 2006-12-7 First Release for ALiEditor v1.0.2
1.1 2007-3-19 AliEditor v1.0.7_TF,add upload
.udf/.ddf
1.2 2009-4-10 AliEditor DB4 2.1.0a 2008-11-22,
support M3602 module
1.3 2011-7-10 AliEditor v3.0.1 2011-07-12, support
M3606 combo ui
1.4 2011-7-20 AliEditor v3.0.2 2011-07-20, modify
script.ini user guide

ALiEditor User Manual


Contents
1 Introduction....................................................................................................................................................................1
1.1 Summary............................................................................................................................................................1
1.2 Files.....................................................................................................................................................................1
2 Operation........................................................................................................................................................................2
2.1 Open...................................................................................................................................................................2
2.2 Browse................................................................................................................................................................4
2.3 Edit......................................................................................................................................................................4
2.3.1 Satellite...................................................................................................................................................4
2.3.2 TP............................................................................................................................................................5
2.3.3 Program..................................................................................................................................................6
2.3.4 Favorite Group......................................................................................................................................7
2.4 Save....................................................................................................................................................................8
2.5 Export..................................................................................................................................................................9
2.6 Download File....................................................................................................................................................9
2.7 Download.........................................................................................................................................................10
2.8 Upload...............................................................................................................................................................10
3. How to configurate the template head file?................................................................................................................11

ALiEditor User Manual


1 Introduction

1.1 Summary
ALi Editor is designed for updating the Default Database of STB Flash. It can also update the User
Database because user is very troubled to use remote to edit the User Database.
The ALi Editor data source can be from *.abs/*.ddf file or *.sdx/*.txt. User can create the data source by
Manually Edit the ALi Editor or Auto Scan using STB device to get the User Database, also can
download the Satcodx data from the web. User can expediently select the Default Database or User
Database to download to STB.

Pic. (I-1)

1.2 Files
.abs:The data file created by IDE Tool. Or the data file uploaded from STB Flash to PC.
.ddf:The data file only include Default Database. It can be merged with other data using certain tool.
.udf:The data file only include User Database. It can be merged with other data using certain tool.
.sdx:The file with Satcodx data format.
.txt:The file transferred by a excel with certainly format.
Below is the excel format:
* --- add “*” before a satellite
; --- add “;” to remark one line

ALiEditor User Manual 1


Save the excel file with “Text File(Table compart)” to a txt file.

2 Operation

2.1 Open
Select the Menu or Tool bar to click the Open item:

Load Template: Load Template file (.h) (dvb_node_sdk13.1_biss.h,etc) to create script.ini.

Open Script: Open script.ini of m3xxx chip and choose the right Chip Type. The selection only influence
the number of configuration types, in general, it do not select script.ini, keep default is OK.

ALiEditor User Manual 2


Open file: There are 6 type files can be selected: *.abs/*.ddf/*.udf/*.ddd/*.sdx/*.txt

When open the *.abs, follow dialog box will appear:

User should select the Default Database or User Database to open.

ALiEditor User Manual 3


2.2 Browse

The “Left window” list the Satellite/TP tree/Favorite Group. When select one TP, the “Right window” will
list the Programs for this TP.
The “Right top window” is the button to filter TV or Radio.

2.3 Edit
2.3.1 Satellite

 Add Satellite

 Edit Satellite

ALiEditor User Manual 4


Note:
1.In Combo UI project,if the combo is “X + DVB-S”(“ISDBT + DVB-s” for example), we should set the
X satellite to the first place as follows:

2.Do not support adding and editing TP&Channel to the X satellite right now.

2.3.2 TP

 Add TP

 Edit TP

ALiEditor User Manual 5


2.3.3 Program

 Add Program

 Edit Program

Note: Should first select one TP, then user can Insert Channel.
When Insert Channel/Edit Channel, user can make one program to one or more Favorite Groups

Program Information for M33*:

ALiEditor User Manual 6


Program Information for M3602:

2.3.4 Favorite Group


Select one Favorite Group, and then right click the program.

ALiEditor User Manual 7


 Rename Group
Modify the Group Name.

 Remove Item
Remove the selected programs from this group.

 Edit Group
The all program are listed in the Favorite Group Edit Menu.
User can remove the Program from this Group or add one program to the Group.

2.4 Save

ALiEditor User Manual 8


All type file except *.txt/*.sdx can be saved.
When save *.abs, user need to select saving to default database or user database.

2.5 Export
If want to save the *.txt/*.sdx to database, user should use the export function.
In fact, “Save” is the special case of “Export”.

2.6 Download File

Select the *.abs file, then Download the Database to STB Flash.
Before Download, should select the aim Database which is “Default Database” or “User Database”.

ALiEditor User Manual 9


2.7 Download

This is the special case of “Download File”. It just Download the current file to STB Flash. It can’t
support to select one file on PC to Download.

2.8 Upload
Upload the data from STB Flash to PC:

When click the “Upload (STB –>PC)”, a window opened to user to select which file want to be saved.
If the project is compiled with a new bootloader.abs (support above transfer protocol 2.1 ), the save type
can be *.udf/*.ddf/*.abs, otherwise the save type can be only *.abs

ALiEditor User Manual 10


3. How to configurate the template head file?

Template file is a important file, it defines the structures node of program, TP and satellite. it should
used match with database file of SDK.

Sometimes, the structure node of program of SDK may be modified, then the template head file may be
modified too, otherwise, the data of node may be mussy(especial the service name).
Following steps show how to modify the template head file to match the SDK:
In source code of SDK: function common_pnode_unpack() of db_plugin_S.c, debug or print out the
parameter m_fixed_part_offset_length, for example: We get the print out value of
m_fixed_part_offset_length = 21.
In AliEditor, show the “fixed part number length”, for example, the length is 23

ALiEditor User Manual 11


Because m_fixed_part_offset_length of SDK is defferent with “fixed part number length” of template,
we should adjuste the structure of template head files,
Let m_fixed_part_offset_length = “fixed part number length”
Open template head file, find the structure program, adjust the size of member reserve_bytes[]. When
increase the size of reserve_bytes[], “fixed part number length” will increase too; when decrease the
size of reserve_bytes[], “fixed part number length” will decrease too. Adjust it, then in AliEditor, show
the “fixed part number length”,
Let m_fixed_part_offset_length = “fixed part number length”

Finish adjust reserve_bytes[], if download the “ddf” or “udf” to platform, the program name or other
information of program are still mussy, it may there still some difference between alieditor and SDK.
for example:
In source code of SDK: function common_pnode_unpack() of db_plugin_S.c:

the MACRO are defined, so p_node->audio_type may be stored in database; but in template file:

the audio_type[20] is disabled, so when the “ddf” of “udf” of alieditor burn in to platform, the program
name will be mussy. Enable audio_type[20] in template head file, it may be OK.

ALiEditor User Manual 12

You might also like