Creating S19 file for a function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Creating S19 file for a function

ソリューションへジャンプ
1,382件の閲覧回数
NiravM
Contributor I

Hello,

 

       I want to create an S19 file for few function on fixed locations in the memory. 

 

       The problem is that, I have few functions that I want to burn on a particular locations in the memory.There is already a code in the microcontroller which accepts an S19 file format.I want to generate an S19 file of my functions that I can give as an input to the microcontroller. 

 

       Is there any method through which i can generate an S19 file of these functions and that too on fixed 

memory locations ??????

 

Regards,

Nirav

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
646件の閲覧回数
CrasyCat
Specialist III

Hello

 

The Burner command file syntax is flexible enough to allow something like that.

 

Inside of the .bbl file you can specify a source address, a destination address and a length.

 

Playing with these 3 parameters should allow you to catch the code from a specific function and place it at a specified destination address.

 

Suppose you want to get S19 record for function myFunc, which is located at address 0xD000 and it size is 0x20 byte. And suppose you want to place that code at address 0xC000.

 

The .bbl will look as follows:

OPENFILE myFunc.s19"
format=motorola
busWidth=1
origin=0xD000
len=0x20
destination=0xC000
SRECORD=Sx
SENDBYTE 1 "myApp.abs"
CLOSE

Please refer to the manual {Install}\Help\PDF\Build_Tools_Utilities.pdf, chapter "Burner Utility", section "Batch Burner" for more information on batch burner commands. 

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
647件の閲覧回数
CrasyCat
Specialist III

Hello

 

The Burner command file syntax is flexible enough to allow something like that.

 

Inside of the .bbl file you can specify a source address, a destination address and a length.

 

Playing with these 3 parameters should allow you to catch the code from a specific function and place it at a specified destination address.

 

Suppose you want to get S19 record for function myFunc, which is located at address 0xD000 and it size is 0x20 byte. And suppose you want to place that code at address 0xC000.

 

The .bbl will look as follows:

OPENFILE myFunc.s19"
format=motorola
busWidth=1
origin=0xD000
len=0x20
destination=0xC000
SRECORD=Sx
SENDBYTE 1 "myApp.abs"
CLOSE

Please refer to the manual {Install}\Help\PDF\Build_Tools_Utilities.pdf, chapter "Burner Utility", section "Batch Burner" for more information on batch burner commands. 

 

CrasyCat

0 件の賞賛
返信