Skip to main content
Visitor II
June 30, 2006
Question

program internal flash

  • June 30, 2006
  • 5 replies
  • 999 views
Posted on June 30, 2006 at 07:22

program internal flash

    This topic has been closed for replies.

    5 replies

    iamlyg98Author
    Visitor II
    June 27, 2006
    Posted on June 27, 2006 at 04:17

    I want to use STR712,but I don't have JTAG adapter,

    How can i download my program to STR712's internal flash.

    can I use ISP like philips's LPC series?

    or STR712 have other simple ways.

    iamlyg98Author
    Visitor II
    June 27, 2006
    Posted on June 27, 2006 at 11:10

    thanks

    but I don't known how can I download my application(hex or bin format)

    to STR712's internal flash,and my application can run after power up.

    I have no other tool such as JTAG adapter or keil's ULINK.

    is there bootloader in STR712 burned by ST before STR712 go out from product line?

    Visitor II
    June 28, 2006
    Posted on June 28, 2006 at 19:43

    hi Zouh,

    May I download code to internal flash with Wiggler JTAG? I am using EWARM V4.11. Or I have to do it with IAP?

    btw, what's the usage of FlashSTR71xF.d79 file?

    Visitor II
    June 29, 2006
    Posted on June 29, 2006 at 17:11

    hi Zouh,

    I tried use ''FlashSTR71xF.d79'' to download code to internal flash several times, but EWARM4.11 terminated with an error.

    My XLINK commands are like this:

    -DROMSTART=0x40000000

    -DROMEND=0x4003FFFF

    -DVECSTART=ROMSTART

    -DRAMSTART=0x20000000

    -DRAMEND=0x2000FFFF

    and I did following steps:

    1.in Project -> Options -> Linker -> Output -> Check ''Allow C-spy-specific extre output file''

    2.in Project -> Options -> Linker -> Extra Output -> Select ''Simple code'' format

    3.in Project -> Debugger -> Download -> Check ''Flash download''

    4.in Project -> Debugger -> Download -> Check ''Override default flash loader'' and select file ''FlashSTR71xF.d79''

    Is there any procedure I missed?

    Visitor II
    June 30, 2006
    Posted on June 30, 2006 at 07:22

    hi,

    I can not see the ''Flash Loader Configuration'' dialog box in EWARM V4.11, but I did relocate the base address.

    Maybe I have to upgrade to EWARM V4.40A?

    thanks!