Skip to main content
Visitor II
February 22, 2006
Question

IAP driver for IAR compiler

  • February 22, 2006
  • 10 replies
  • 1667 views
Posted on February 22, 2006 at 12:09

IAP driver for IAR compiler

    This topic has been closed for replies.

    10 replies

    anil23Author
    Visitor II
    December 8, 2005
    Posted on December 08, 2005 at 16:37

    Hi,

    I was looking for some sample code if someone had the IAP driver running on the IAR compiler

    Thanks

    anil23Author
    Visitor II
    December 12, 2005
    Posted on December 12, 2005 at 14:19

    Thanks a lot,

    I have taken the task of porting the IAP driver on the USB. Lets see how successful i would be!

    anil23Author
    Visitor II
    February 15, 2006
    Posted on February 15, 2006 at 12:04

    Hi Zouh,

    I realized that the IAP driver files need to run from the RAM. But the linker file in the example doesn’t load the files to RAM. When I try to execute your code the file download is performed fine. But, when I try to program…it gives me an error that “There is no file to be programmed….� And after couple of seconds the terminal windows quits.

    Please update me with the project/linker files of IAP driver for IAR.

    Regards,

    [ This message was edited by: iamanil on 15-02-2006 17:06 ]

    anil23Author
    Visitor II
    February 15, 2006
    Posted on February 15, 2006 at 13:54

    Hi Zouhair,

    Thanks for all your help.I followed your instructions and performed them on my STR710 board.

    I can download the file now. But its not programming the internal flash(when i press 2 on the hyperterminal). It returns a ''E'' on the hyperterminal and returns to Main_Menu().

    Please find attached the updated project and the file I'm downloading.

    Also, the LED20 on the board is turning red after i download the program.

    Regards,

    [ This message was edited by: iamanil on 15-02-2006 18:26 ]

    ________________

    Attachments :

    IAP-IAR_v1.1.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtHN&d=%2Fa%2F0X0000000aL1%2FXTMpC8ezNSUHj0dASIBccUWecFFRYpIoPJmiUrwaa38&asPdf=false

    STR710-Eval.a79 : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtHX&d=%2Fa%2F0X0000000aL2%2FkiCz3bQEEa_tMTCxS3uLDJZFZ4jYWU4aoGkT.G7skII&asPdf=false
    anil23Author
    Visitor II
    February 15, 2006
    Posted on February 15, 2006 at 15:42

    Hi Zouh,

    Yes! I did. I'm sorry for not mentioning that in my prevous message.

    I did press 1 for download..it downloads the file fine and displays the file information (size and name of the file) on the terminal window.

    Then, when i try to press 2, I get the message ''E'' and the program jumps back to Main_Menu();

    If you could run the attached project and download the file attached fine on your MB 393 board . Please let me know.

    Thanks,

    anil23Author
    Visitor II
    February 16, 2006
    Posted on February 16, 2006 at 16:39

    Thanks Zouhair,

    It seems to work now...I will let you know if i come across any problems.

    Regards,

    anil23Author
    Visitor II
    February 17, 2006
    Posted on February 17, 2006 at 02:37

    Hi Zouh,

    Please help me understand the process for generating the binary file using IAR. Did you generate it under Project->Options->Linker->Extra Output->Generate Extra Output with output format as raw binary?

    Please let me know.

    Regards,

    anil23Author
    Visitor II
    February 17, 2006
    Posted on February 17, 2006 at 15:44

    Hi Zouh,

    I followed your instructions to generate a binary file from the IAR demo board example. I got a programming error while downloading to the flash.

    Please find attached the project for your reference.

    Regards,

    ________________

    Attachments :

    STR710-EVAL.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtHh&d=%2Fa%2F0X0000000aL3%2F0HRE2Me5_8rgIi44gG5bHKGAK5ffyW_omjZ3RscQEhQ&asPdf=false
    anil23Author
    Visitor II
    February 21, 2006
    Posted on February 21, 2006 at 20:34

    Hi Zouh,

    Thanks for the updated project. I have made a step forward in my attempts to make IAP work through the USB. It's working with the bin file for the example.

    Regards,

    Visitor II
    February 22, 2006
    Posted on February 22, 2006 at 04:09

    Hi Zouh,

    When will version 2 of the IAP Driver be availble on the ST website?

    How to get the code into the FLASH for the first time in production?

    Best regards,

    Frank Andersen