This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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?

Parents
  • 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.

Reply
  • 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.

Children
  • 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.