HC908QC16 ROM internal routines

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

HC908QC16 ROM internal routines

4,620 次查看
robidp82
Contributor I
Dear all,

does anyone know the addresses of the ROM internal routines for the MC68HC908QC16?
The datasheet specifies that these routines are implemented in the QC16.
The related web-site links to the AN2635 although this AN is not about the QC16, so it does not specify its addresses.

Thanks

robidp82
标签 (1)
0 项奖励
回复
6 回复数

1,671 次查看
Alban
Senior Contributor II
Hello,
 
Have you tried the search engine ? (bottom of list pages)
For "QC16 ROM Routines" it returns "Using flash routines out of ROM (MC68HC908QC16)"
 
It's funny how similar to your question it looks ?! :smileywink:
 
Otherwise, if you have tried and it is something else you were looking for, please ask the question on that thread as it is the subject.
 
Cheers,
Alban.
0 项奖励
回复

1,671 次查看
robidp82
Contributor I
The thread links to the AN2635 as the QC16 datasheet too, but the AN does not specify the ROM internal routines addresses for the QC16.
0 项奖励
回复

1,671 次查看
RockyRoad
Contributor III
robidp82 -
 
Looking back at the thread that Alban point to, I can see that my answer there wasn't very clear.
 
The addresses and call requirements for the ROM routines for the QC16 are the same as for the QB8. So, if you look in AN2635 and use the information there for the QB8, it will work for the QC16.
 
- Rocky
0 项奖励
回复

1,671 次查看
robidp82
Contributor I
I'm trying these addresses for the routines:

GETBYTE $2800
RDVRRNG $2803
ERARNGE $2806
PRGRNGE $2809
DELNUS $280C

and these for the variables:

CTRLBYT $48 (RAM + $08)
CPUSPD $49
LADDR $4A
DATA $4C

but I've still problems to run the routines. Are the addresses corrects?

Thanks a lot

robidp82
0 项奖励
回复

1,671 次查看
blade
Contributor I
The data structure is still org'ed at $0080, not $0040, even for the QC16.
0 项奖励
回复

1,671 次查看
robidp82
Contributor I
It works! :smileyhappy:

Thank you all!

robidp82
0 项奖励
回复