Skip to main content
Visitor II
May 8, 2007
Question

EXTP

  • May 8, 2007
  • 5 replies
  • 843 views
Posted on May 08, 2007 at 12:17

EXTP

    This topic has been closed for replies.

    5 replies

    raffaeleAuthor
    Visitor II
    May 8, 2007
    Posted on May 08, 2007 at 08:29

    Hi,

    I whant address all memory of MCU, and a use in assembler this istruction:

    mov R4,#0

    EXTP 2#,1#

    movb R0,[R4]

    this for access ad memory

    R4=00 0000 0000 0000;

    page =2;

    address = 0x8000

    but the CPU stall and reset. for What ?

    Thanks

    raffaeleAuthor
    Visitor II
    May 8, 2007
    Posted on May 08, 2007 at 08:52

    I'm try to access in XRAM !!!!!!!! this cause reset ?!

    raffaeleAuthor
    Visitor II
    May 8, 2007
    Posted on May 08, 2007 at 11:17

    ST10F269

    raffaeleAuthor
    Visitor II
    May 8, 2007
    Posted on May 08, 2007 at 11:37

    Sorry, befor lunch i read the ST10F168 datascheet, and i have make confuse.

    Now i can read all flash parts.

    Now i have a problem to perform the CE (chip erase) I have write this code :

    mov R0,#0a8h

    mov 01554h,R0

    mov R0,#054h

    mov 02aa8h,R0

    mov R0,#080h

    mov 01554h,R0

    mov R0,#0a8h

    mov 01554h,R0

    mov R0,#054h

    mov 02aa8h,R0

    mov R0,#010h

    mov 01554h,R0

    But not perform istruction , whi ?

    raffaeleAuthor
    Visitor II
    May 8, 2007
    Posted on May 08, 2007 at 12:17

    thank, you are very kind ! now i try ! you have a skype account?