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?
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.
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.
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.