I want to convert banked S19 records to linear,but the device do not have MC9SG128, I need add it myself. I try it ,but it can not work, Any help would be greatly appreciated
.
Solved! Go to Solution.
It looks like you have add the S12G128 into DeviceInfo.dat file, but some parameters are wrong. PPAGE Base is not 38, but actually it should be 8.
But still, don't get how it works on Win7.
my configuration parameter:
WIN7 result:
but there is no output file.
XP result:
It looks like you have add the S12G128 into DeviceInfo.dat file, but some parameters are wrong. PPAGE Base is not 38, but actually it should be 8.
But still, don't get how it works on Win7.
请问DeviceInfo.Dat文件怎么修改才能加入所需要的单片机类型呢?我按照如下图修改可以得到正常运行的程序(修改AN4258SW的DEMO,然后通过boot下载),但是DeviceType变为S12时,生成的S19文件和上图配置时产生的S19就不太一样,程序也不能运行。是类型填错了嘛?从哪里可以找到MCU类型呢?
如图:
图1:DeviceType = "s1218"时,生成的S19
图2:图1:DeviceType = "s12"时,生成的S19
Are you using Codewarrior? If so, then there's no need to use SRecCvt. CW burner is much better and flexible converting S records. Converted file is stored in project \bin folder with extension *.phy. Perhaps you bumped in to the bug of CW Project generated bbl files for S12G devices?
Please find in your bbl lines below and change destination to 0x28000 (delete one '8').
origin = 0x0A8000
destination = 0x288000
Also find these two and change destination to 0x31400 . Flash at CPU address 0-3FFF in S12G belongs to page 0xC. Destination should be origin + 0xC*0x4000.
origin = 0x1400
destination = 0x001400
Sorry, I did not clearly describe the problem,I want to make can bootloader for mc9s12g128 based on a Serial Bootloader (AN4258).But the device list do not have mc9s12g128,so i need add by myself.