Keil™, An ARM® Company

Discussion Forum

STR9 Booting from flash bank1

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Richard G
Posted
28-Sep-2007 06:02
Toolset
ARM
New! STR9 Booting from flash bank1

Hi

I'm trying to get an application to run from flash bank 1 I have followed the instruction in the article
http://www.keil.com/support/docs/3347.htm
without success I have also tried the example code that goes with instructions still without success. Whenever I try to download the project I get a Flash timeout when attempting to write to 0x00000000.
I can run/debug applications from bank 0 so I know the J-tag connection is ok.
Is there anything I'm missing?

Read-Only
Author
Robert Rostohar
Posted
30-Sep-2007 22:38
Toolset
ARM
New! RE: STR9 Booting from flash bank1

Check again if you have followed exactly the description from the support knowledgebase. I have tried the example from the knowledgebase and it works without problems on MCBSTR9.

Read-Only
Author
Richard G
Posted
2-Oct-2007 00:11
Toolset
ARM
New! RE: STR9 Booting from flash bank1

All settings are as described in the knowledgebase. I have even downloaded the example again in case I changed something in the project and it still times out when attempting to write the code to flash. Is there anything in the processor that prevents the switching of banks. Im using a dev board a Colleague was given on a ST training course.

Read-Only
Author
Robert Rostohar
Posted
2-Oct-2007 01:39
Toolset
ARM
New! RE: STR9 Booting from flash bank1

It might be that your HW is causing these problems. Make sure that nTRST and nRESET are connected (ULINK <-> Target).

Check also which chip HW revision you have. There are some problems described in the errata for earlier versions (rev B).

Try also reducing the JTAG max. clock.

Read-Only
Author
Micha Balvert
Posted
2-Oct-2007 04:16
Toolset
ARM
New! RE: STR9 Booting from flash bank1

Hello,

I had also problems: the demo blinky worked fine. but when i tried to make a Boot1 app myself i had problems during programming. The programmer stopped at the verify process. (and uVision crashed) When i disabled the verify option in the programmer everything worked fine.

Can it be that the programmer can't verify the security and config mem?

Read-Only
Author
Robert Rostohar
Posted
2-Oct-2007 06:14
Toolset
ARM
New! RE: STR9 Booting from flash bank1

Yes I forgot to mention that Verify doesn't work when programming via ICP (due to a chip problem) which is also described in the Support Knowledgebase http://www.keil.com/support/docs/3286.htm.

But this is not the problem that Richard has described.

Read-Only
Author
Robert Rostohar
Posted
2-Oct-2007 06:15
Toolset
ARM
New! RE: STR9 Booting from flash bank1

Verify should be disabled for ICP.

Read-Only
Author
Richard G
Posted
30-Oct-2007 05:44
Toolset
ARM
New! RE: STR9 Booting from flash bank1

I have finally managed to get it working.
I purchased an MCBSTR9 board which didn't help, in the end I had to change the timeout values for the Bank 1 ICP flash programming options (changed to match bank 0 timeouts)

Next Thread | Thread List | Previous Thread Start a Thread | Settings