We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have been trying to boot from bank 1 of an STR9 I have used the following example as a test case
http://www.keil.com/support/docs/3347.htm
this programs fine on condition it targets a STR9 with 32K bank 1.
The moment a device with 128K bank 1 is selected (and the associated programmer ICP ie. "STR9xFxx7 Bank 1 ICP". I get timeouts and the programming fails.
The following thread refers to changing the timeout http://www.keil.com/forum/docs/thread10804.asp
However I cant see anywhere to change this.
Has anyone else successfully programmed a STR9 128K bank 1 device? I am using uV4 (I have also tried uV3)
OK with a little help I have managed to fix this.
It is a Keil flash programming setting that I appears to be wrong.
If you open the project in the directory \keil\arm\flash\str91x\ This provides you with access to the keil flash programming algorithms. Select the flash target that you wish to fix from the projects drop down list. I use a STR912FAZ7 so mine is
STR91xFxx7 Bank1 ICP
Locate the settings for
STR91xFxx7 Flash Bank0 ICP
and copy the setting for both Program Page Timeout Erase Sector Timeout and paste these into
STR91xFxx7 Flash Bank1 ICP
and this should resolve the timeout problem.
I hope this helps anyone else that has the same problem! Although as it was raised over 2 years ago I would have expected Keil to have fixed this in their environment by now! (see the second linked post above)