Home
The audio data writing procedure.
Contents
1. Options Target from the IDEU8 menu DEUE File Edit View Macaa Window Help Add file Build F7 Rebuild Build selecting file Ctrl F ha Cancel build Clean Debug Ctrl F5 Eii er assembler 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 10 LAPIS SEMICONDUCTOR 5 1 Convert ABS file to the HEX 2 2 E As shown in the figure select General tab from Target options dialogue Check on Create HEX file in the Object converter group select Intel HEX and check off Include debugging information Target options General Segment Memory settings Linker Mereenie S create HEX file i Include debugging information Intel HEX 2 format Include debugging information Include public symbol listing W Search C emulation libraries Suppress unresolved external symbol error messages E Build your program After the building process is finished confirm two messages Convert End Finished building are displayed in the output window as shown in the figure The HEX data will be output in the specified folder Obje reated by EKLU8 Convert End Finished building 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 11 LAPIS SEMICONDUCTOR 5 2 Generate the ROM code data from the HEX data and the audio data by HT U8 1 2 On the supposition that there is program into 0 3FFFH 0
2. it adds to the File List by the Add to List button click With this the setting in segment1 is completion Set the file which was created by Speech LSI Utility The beginning of the file is OH End of address of file which Set a target LSI write to segment The beginning of the flash memory is OH Ja FWuEASE N Target MLEL0Q346 Ungug About Flash Memory Yvrite yer File Mame Ci voice _datxs End Address on File C End Address on Memory 1FFFFH C Depends on File Content Start Address on File D Flash Memory Offset 10000H Arbitrary Address OFFFFH Fil List Start Address End Address Of fset Flash Start O0000H FFFFH 10000H 10000H Ci voice_data s 2011 LAPIS Semiconductor Co Ltd All Rights Reserved LAPIS SEMICONDUCTOR 2 Writes an audio data to MCU 2 2 lt Setting for write to segment0O gt After the entry completion which is shown in the following figure it adds to the File List by the Add to List button click With this the setting in segmento is completion When there is not audio data to write in segment0O you need not write audio data to segmento e The offset of the flash memory becomes OOOCH with the following formula 4000H 10000H COOOH 4000H The audio data entry address in segment 0 On the supposition that there is program into 0 3FFFH 10000H The address immediately behind the audio data which was arranged in segmentt COOOH Offset of flash
3. above entry it is saved by the specified file format E Save the audio data of segmento 4 Following the above item 3 it enters Start address 4000H and End address FBFFH and a File name for segmento Motorola S2 format or Intel HEX format of the type of files is not a problem in the file type It is optional 5 When clicking the Save button after the above entry it is saved by the specified file format When there is not audio data to write in segmentO you need not save audio data to segmento When on the supposition that there is program into 0 3FFFH it makes the above start address 4000H 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 4 The audio data write by the DI U8 Debugger e The procedure which writes the audio data which saved by the preceding chapter in MCU using DTU8 is described E Load the audio data of segment 1 It starts up DTU8 and it chooses Load program to file of File menu 2 It chooses the file which saved for segment1 and it enters Start address 10000H and End address 1FFFFH 3 When clicking the Open button after the above entry it is written an audio data for segment of MUC E Load the audio data of segmento 4 Following the above item 3 it chooses the file which saved for segment0 and it enters Start address 4000H and End address FBFFRH 5 When clicking the Open button after the above entry it is written an au
4. memory address The setting to write audio data to MCU is completion It writes to flash memory by the Write amp Check button click The offset of the flash memory is COOOH The end address sets the last of the file The beginning of the file is 10000H Ja FWuEASE io oR Target MLALO S46 hi Unplug About Flash Memory YvriteMyerity File Mame C woice data s End Address on File Start Address on File 10000H C p d Address on Memory 1FFFFH Depends on File Content Flash Memory Offset COOOH C Arbitrary Address File List Start Address End Address Of fset Flash Start C voice_data s O0000H FFFFH 10000H 10000H Ci voice_data s 10000H 16493H 0CO00H 04000H 2011 LAPIS Semiconductor Co Ltd All Rights Reserved _ amp x 7 x x x x x K S S S S X XXXXXX _ __ _ _ LAPIS 3 Tne audio data save by the DI U8 Debugger e The audio data written in MCU by the explain of the preceding chapter save so that it can be used by DT U8 By doing this the audio data can write by DT U8 from the next time E Save the audio data of segment 1 It starts up DTU8 and it chooses Save program to file of File menu 2 It enters Start address 10000H and End address 1FFFFH and a File name for segment Motorola S2 format or Intel HEX format of the type of files is not a problem in the file type It is optional 3 When clicking the Save button after the
5. speech LSI Utility to MCU e By the following order the audio data writing procedure is explained This explanation is based on ML610Q346 1 Audio data making and save The audio data make by Speech LSI Utility and save at Motorola S format 2 Writes an audio data to MCU When the first time writing it writes by FWUEASE Flash Writer 3 Audio data save by DI U8 By saving in DT U8 debugger next time writes can be simplified 4 Audio data write by DTU8 By using the data saved by the way of topic 3 it can write in by operation of only DT U8 the 2nd time and afterwards 2011 LAPIS Semiconductor Co Ltd All Rights Reserved LAPIS SEMICONDUCTOR 1 Audio data making and save e he audio data make by Speech LSI Utility and it saves a audio data by the setting of the figure which is shown in the following The save format Save at Motorola S File format Confirm that it is selecting this part Create ROM TEST ROM Data Motorola 5 File Binary File Data area start address 2020 HEY Edit ROM area start address HE File 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 5 LAPIS SEMICONDUCTOR 2 Writes an audio data to MCU J1 2 e The audio data writes to MCU by FWuUEASE Flash Writer The audio data to write uses the file which saved by the preceding chapter lt Setting for write to segment1 gt After the entry completion which is shown in the following figure
6. 000H 3FFFH Input program file 4000H Sample_Ver100 hex 0x00000 7FFFH On the supposition that there is audio data into 0 13FFFH 4 0000H OxOFFFF 0x10000 ROMO D U0 U0 BE ML610Q346_NNNRA hex p ML610Q346_NNNRB hex Voice_data s NOTE Input audio file Voice_data s The file which was created at Audio data making and save of chapter 1 Input program file Sample_Ver100 hex The file which was created at Convert ABS file to the HEX of chapter 5 1 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 12 LAPIS 5 2 Generate the ROM code data from the HEX data and the audio data by HTU8 _ JJ JJ E From the Start menu select All programs gt U8 Tools gt nX U8 gt Command line environment icon to open the U8 command prompt E On the U8 command prompt by using CD command move to the folder which the complete HEX data is located in For example if the HEX data is located in C Test Sample Hex input the command as follows Example CD C Test Sample Hex E On the U8 command prompt execute HT U8 please Specified the example which used a response file in this document The response file is a text file which specified the input files and the options It is convenient when you specify multiple input files or specify complex operation by options The following example shows the sample of response file It creates this example from the input file image of the pre
7. SEMICONDUCTOR The audio data writing procedure ML610Q346 November 29 2011 LAPIS Semiconductor Co Ltd 2011 LAPIS Semiconductor Co Ltd All Rights Reserved LAPIS SEMICONDUCTOR The arrangement of the ML610Q346 audio data The audio data writing procedure Overview 4 1 Audio data making and save 2 Writes an audio data to MCU 3 The audio data save by the DI U8 Debugger 4 The audio data write by the DIU8 Debugger 5 Generate the ROM image data by the HTU8 gt 5 1 Convert ABS file to the HEX gt 5 2 Generate the ROM code data from the HEX data and the audio data by HT U8 5 3 The writing in of the ROM code data 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 2 LAPIS SEMICONDUCTOR The arrangement of the ML610Q346 audio data Address of audio data file Memory address of ML610Q346 0x00000 OxOFFFF 0x10000 Ox1FFFF 1 Ox10000 Ox1XXXX The free space of segmentO Ox0YYYY OxOFBFF The start address of segmento is setting by initialize function of speech library Audio data file Memory of ML610Q346 Ox00000 It arranges in Program code 0x00000 segmenti OxOFFFF Ox0YYYY en 0x10000 It arranges in segmento OxOFBFF E Test data area OxOFFFE 0x1XXXX o Segmenti Ox1FFFF 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 3 LAPIS SEMICONDUCTOR Overview The procedure which writes the audio data which was created In
8. dio data for segment1 of MUC When there is not audio data to write in segment0O you need not write audio data to segmento When on the supposition that there is program into 0 3FFFH it makes the above start address 4000H When writing an audio data in the condition which a program is already written in set Value of blank area to Contents of the Flash Memory at entry of item 4 In the same way When writing a program after the audio data writing in DTUB8 it sets Value of blank area to Contents of the Flash Memory at entry of item 4 2011 LAPIS Semiconductor Co Ltd All Rights Reserved g LAPIS SEMICONDUCTOR 5 Generate the ROM image data by the HT U8 e The way of making program data and an audio data one HEX format file by HT U8 is Specified in this chapter Moreover are specified about the way of writing in to ML610Q346 The data which is explained in this chapter uses the data which was defined in the The arrangement of the ML610Q346 audio data page 3 chapter 5 1 Convert ABS file to the HEX 1 2 E You have to convert an object file that is included the debugging information to the HEX data that are input files of HTU8 Here in after the object file is called the ABS file It shows the way to convert the ABS file to the HEX data as following We recommend setting up the following settings at the time of the beginning of program development stage As shown in the figure select Project
9. page Sample of the response file Sample res Sample_Ver100 hex Input file 1 program file voice_data s AL 0 OFFFFH 1 0000H Input file 2 audio file voice_data s AL 1 0000H 1 3FFFH 0 4000H Input file 3 audio file TM610346 Target FML610Q346_ NNN Output file name OH Output file format E On the U8 command prompt execute response file Type HTU8 Sample res and execute In the above example case HTU8 generates two 2 the ROM code data files ML610Q346_ NNNRA hex ML610Q346 NNNRB hex and a log file ML610Q346 020RA Ilog 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 13 LAPIS SEMICONDUCTOR 5 3 The writing in of the ROM code data E Writes the ROM code data ML610Q346_NNNRA hex which was created by the preceding clause in Flash ROM When writing created ROM code data to Flash ROM using FWuEASE two pieces of data must be divided Because when writing in Flash ROM it is to avoid an unused area and to have to be written It is possible to write notes easily to ignore an unused area if using MwuEASE It recommends to be used in MwuEASE Please refer to Multiple Flash Writer MWUEASE User s Manual for how to use MwuEASE Request MwuEASE software to attach it in case of on chip debugger UEASE purchase 2011 LAPIS Semiconductor Co Ltd All Rights Reserved 14
Download Pdf Manuals
Related Search
Related Contents
iSecure User Manual For Access Control Grundig VCH 6130 portable vacuum cleaner GD50, 39234, Ops10-02 - Tool Smart Dentin Grinder User Guide HT-CT260H Protocole et procédures pour les allergies et CVA-1000R - Alpine Europe HP Welding System 34521 User's Manual Manual de instrucciones en español Copyright © All rights reserved.
Failed to retrieve file