Skip to main content
Visitor II
December 28, 2004
Question

iap help

  • December 28, 2004
  • 1 reply
  • 608 views
Posted on December 28, 2004 at 03:44

iap help

    This topic has been closed for replies.

    1 reply

    yf800930Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:05

    i am a new user of upsd333d.

    I want to write an IAP program which located in the 2nd flash to changing the application program in the 1st flash, and i still have some questions:

    psdsoft mapping:

    2nd flash : code

    1st flash : data

    fs0: 0-1fff or page0 8000-ffff

    fs1-fs7: 8000-ffff

    csboot0: 0-1fff or page0 8000-9fff

    csboot1: page0 a000-bfff

    csboot2: page0 c000-dfff

    csboot3: page0 e000-ffff.

    but i do not know how to change fs0 from 0-1fff(program) to 8000-ffff(data)?

    after changing vm, how can i control pc=0x0000 without restart, because my interrupt sector from 0x0000.

    thanks!!

    mailto:yf800930@sohu.com