2006-02-22 03:09 AM
2005-12-08 07:37 AM
Hi,
I was looking for some sample code if someone had the IAP driver running on the IAR compiler Thanks2005-12-12 05:19 AM
Thanks a lot,
I have taken the task of porting the IAP driver on the USB. Lets see how successful i would be!2006-02-15 03:04 AM
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 ]2006-02-15 04:54 AM
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=falseSTR710-Eval.a79 : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtHX&d=%2Fa%2F0X0000000aL2%2FkiCz3bQEEa_tMTCxS3uLDJZFZ4jYWU4aoGkT.G7skII&asPdf=false2006-02-15 06:42 AM
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,2006-02-16 07:39 AM
Thanks Zouhair,
It seems to work now...I will let you know if i come across any problems. Regards,2006-02-16 05:37 PM
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,2006-02-17 06:44 AM
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=false2006-02-21 11:34 AM
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,