cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with my AN2475 IAP boot loader application

hjn
Associate II
Posted on October 15, 2009 at 07:17

Problems with my AN2475 IAP boot loader application

4 REPLIES 4
hjn
Associate II
Posted on May 17, 2011 at 09:58

Hi,

Does ANYONE here have a succesfully boot loader IAP running with an UART interface ( AN2475 ).

If anyone have a sucessfully IAP example ( AN2475 ) running then I'm very interested to get/see this code, because I have serios big problems to remap and restart the downloaded application. I can see that many other people in this forum had the same problems like me, but I can't see any solve the problem. I'm using the IAR IDE, and the STR912 SK starterkit. I'm searching for an example of the AN2475 that works correct.

Very frustrating, that such a thing like a boot loader application can cost so many problems. Can anybody at ST support wake up now, and help US here with a application example that really works, and explain exactly what's wrong with the existing AN2475.

I guess many developers really need a boot loader, and it's a commen problem.

Looking forward to hear from someone who can help me.

Thanks

Hans

armmcu
Associate II
Posted on May 17, 2011 at 09:58

Hi,

I geuss your hardware remapping is Ok:

I mean:

Bank1 @ 0x0000.0000 address.

Now the only problem we have notified in the AN2475 is :

If you are reffering to the EWARMv4 example available throught this path:

\AN2475\IAP_AN\Example1\project\EWARM

Be aware of this mistake : (if you are using 256K/512KB STR9 device)

+ the 91x_init.s is configured for the 1_2MB products

--> you have to change it to be for 256K/512KB products

+ the flash loader is the one for 1_2MB products

-->you have to change it to be for 256K/512KB products (the default one)

Otherwise there is no known problem on this Application note.

Kind regrads,

arm.

[ This message was edited by: armmcu.engineer on 15-05-2009 15:35 ]

hjn
Associate II
Posted on May 17, 2011 at 09:58

Hi,

Well,

I have modifyed the 91x_init.s to :

#define Flash_512KB_Bank1_Boot

+ the flash loader is the one for 1_2MB products

-->you have to change it to be for 256K/512KB products (the default one)

Can you please specify the action for the flash loader in more

details. Where or how can I change the flash loader???

I have these lines in 91x_conf.h

#define Boot_Bank_1

#define Flash_512KB_256KB

My application is running fine, until these lines :

void Execute_STR9Application(void)

{

pFunction Jump_To_Application;

FMI->BBSR = 0x0;

FMI->NBBSR = 0x6;

FMI->BBADR = 0x80000 >> 2;

FMI->NBBADR = 0x0;

/* Jump to the user application and execute it */

Jump_To_Application = (pFunction) 0x0;

Jump_To_Application();

}

Hope you can help me.

Thanks

Hans

ozenozkaya
Associate II
Posted on May 17, 2011 at 09:58

I have the same problem, if st workers can reply that we would be thankful.

With Regards...