Factory Trim

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Factory Trim

4,152 次查看
RogerSchaefer
Contributor III
Hello,
 
The OSBDM08 doesn't do trim like the P&E does.  That is a shame but so be it.
 
I have checked a half dozen new 9S08QG8's and a couple of 9S08SH8's.  The factory trim on the new parts seem to be quite accurate,  However, when you load your program into the MPU the first thing Code Warrior does is a mass erase which removes the factory trim from NVICSTRM ($FFAF).
 
Anyone know a work around other than changing your source code for each different chip?
 
Roger
标记 (2)
0 项奖励
回复
4 回复数

1,184 次查看
peg
Senior Contributor IV
Hi Roger,

If you use the Load button from within the Flash dialogue the programme actually does what it is told rather than what it thinks is best.
Its a pity they could not provide a bit more control for the less stupid amongst us.

0 项奖励
回复

1,184 次查看
RogerSchaefer
Contributor III
Hi Peg,
 
You would think looking at the Load Screen Box that you could uncheck the box and load code without doing a mass erase first but it's not true.  It doesn't work for Flash; it does work if you are just loading a small program into RAM, however.
 
Roger
0 项奖励
回复

1,184 次查看
peg
Senior Contributor IV
Hi Roger,

I think you have misunderstood me.
Under the OSBDM menu in Hiwave don't use the Load menu item but Flash.
Then in the Flash dialogue that comes up use the Load button there.
This one just programmes without checking for blank or auto-erasing.

0 项奖励
回复

1,184 次查看
RogerSchaefer
Contributor III
Thanks Peg,
 
To rephrase:  From Hiwave menu bar.....
 
DO NOT:
File
Load Application.......
 
 
DO
HCS08 Open Source BDM
Flash......
ect.
 
This works.
Roger
0 项奖励
回复