cancel
Showing results for 
Search instead for 
Did you mean: 

problems executing a program downloaded with IAP driver

jferran
Associate II
Posted on June 18, 2007 at 12:12

problems executing a program downloaded with IAP driver

3 REPLIES 3
jferran
Associate II
Posted on June 13, 2007 at 14:18

Hello,

I have been working since few days trying to develop an IAP driver for my STR7 of my board. I have a CrossStudio ( from Rowley ) platform and I have tried to adapt the AN2078 program from ST to CrossStudio, however after having a lot of problems of complitation, I decided to use IDEaliST platform just to compile the project and use Crossconect tool ( from Rowley ) to download the IAP_driver.hex file.

So, at this moment, I can compile and build the project ( IAP v2.0) with IDEaliST. I also generate a file IAP_driver.hex. Using Crossconect I download the .hex file.

The IAP driver looks it works fine, I mean:

1) If generate Reset with P1.2 (in my case ) , the program is doing nothing

2)If I generate a Reset with P1.2 pressed, I can access to IAP driver menu.

With this window, I can download a binary file ( just a simple program to switch on-off leds of my board). OPTION 1.

However, after once I downloaded the program, if I choose OPTION2 ( Execute New Program) - nothing happens !!!! I mean, the new program it is not executed and the only thing that happens is IAP Drive Menu appears another time.

Any ideas what can happen ?

Jordi

najoua
Associate II
Posted on June 14, 2007 at 06:23

Hello Jordif,

Could you please tell me:

- if after reset, your program,, already loaded using IAP, is executed or no?

- if program is not executed only when using option2 (pressing 2)?

- what is the size of the IAP program?

It will be helpful if you attach your IAP project to check it?

Regards,

Najoua.

[ This message was edited by: Najoua on 14-06-2007 10:40 ]

jferran
Associate II
Posted on June 18, 2007 at 12:12

Problem solved: the binary files that we want to download via Serial Bus, have to be build using a Flash menory that starts at 0x4000200.

Thanks for your help