Xunhua Guo

simulate Flash write with CW - HC08908GP32

Discussion created by Xunhua Guo on May 7, 2008
Latest reply on May 8, 2008 by Xunhua Guo
Hi, all
    I am using cw to learn some assembly instrcutions. I chose HC08908GP32 device  When I write to an address in flash. CW reported an Error that "Attempt to write to ROM."  Does flash equals ROM? my code is as follows:
            ; test IX addressing mode
            lda #10
            ldhx #$A010
            sta ,x
 
the report of Error occured at the last line, " sta ,x"
 
Thanks
zen
 
 
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2008-05-07 07:35 AM

Outcomes