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
解決済! 解決策の投稿を見る。
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
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