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.
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?
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.
Verify should be disabled for ICP.
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)