Memory Zero-page

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

Memory Zero-page

3,138件の閲覧回数
patti
Contributor I
Hi! I am using MC68HC908GZ16 and Codewarrior. When I use IN-circit function RDVRRNG routine, ref AN2545.pdf. It saves new data at addresses $4C-60, but unfortunally Codewarrior have saved som data already at that location, and results my program to crash! How do I know what codewarrior have placed at location $4C-60, and how do I replace it?

Thanks In advance Patrik
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

818件の閲覧回数
CrasyCat
Specialist III

Hello

Just edit your application .prm file and adjust the addresses specified in the SEGMENTS block to make sure nothing is allocated at 0x4C..0x60.

Also you can take a look at the .map file generated by the linker.

In this file you should be able to check which object is allocated at address 0x4c.

There is a section called "OBJECT LIST SORTED BY ADDRESS" where you should be able to retrieve the information pretty quickly.

CrasyCat

0 件の賞賛
返信

818件の閲覧回数
patti
Contributor I
Thanks a lot! When I calculated a bit I noticed that some of variables where bigger than I expected! :smileyvery-happy:

Patrik
0 件の賞賛
返信