cao qiang

how to use full chip simulator of hc908

Discussion created by cao qiang on Sep 6, 2007
Latest reply on Sep 10, 2007 by CrasyCat
hi all,
 
I never used simulator of codewarrior before, seems l had some problems.
 
I am using hc908ab32 and codewarrior v3.1, and I didnt use the new project wizard to creat the project but hco8 stationery-legacy-simulator-c generic. After I debug it, i find there is no memory at frome 0x0000 to 0x0040, where should be the image of i/o and i/o register.ect.  I defined it in my own reg.h as
 
 #define  PORTA_REG  (*(volatile unsigned char*)(0x0003))
 
 like this.
I think its right. why  no memory  when i start it in simulator?
 
And I also creat project use wizard, i found the memory was ok.
 
can anyone kindly tell me the reason, or tell me how can i find the information or book of codewarrior's simulator.
 
Thanks
 
warm regards
 
tongjifres
 
 
 
 

Outcomes