cancel
Showing results for 
Search instead for 
Did you mean: 

ST10F276 Jump To Flash

petroele
Associate II
Posted on May 26, 2009 at 06:58

ST10F276 Jump To Flash

3 REPLIES 3
petroele
Associate II
Posted on May 25, 2009 at 13:17

Hello, can i execute JMPS command from my BSL in RAM (adr 0xE000) to some routine in flash? for example

JMPS #0, #1000h

i tried to do same thing, but routine in flash not executed. Jump to the same routine in RAM worked perfektly.

So, can i execute jmp to flash command in standart BSL mode?

Thanks

mirco23
Associate II
Posted on May 26, 2009 at 05:52

I think it isn't possible to execute code from the IFlash in BSL mode. For example have a look at the user manual of the ST10F272, chapter 15.2.4, ''Memory configuration in bootstrap loader mode'':

~~~~~~~~~~~~~

Moreover, while in BSL mode, accesses to the internal IFlash area are partly redirected:

� All code accesses are made from the special Test-Flash seen in the range 00’0000h to 00’01FFFh

â—� User IFlash is only available for read and write accesses

...

Note: As long as ST10F272Z2 is in BSL, user’s software should not try to execute code from the internal IFlash as the fetches are redirected to the Test-Flash.

~~~~~~~~~~~~~

petroele
Associate II
Posted on May 26, 2009 at 06:58

Thanks a lot. I have not notice this important moment.