Discussion Forum

Warning / error message generation as module is assigned into non-existing bank.

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

DetailsMessage
Read-Only
Author
Martin Yan
Posted
7-Jul-2010 20:05 GMT
Toolset
C51
New! Warning / error message generation as module is assigned into non-existing bank.

I apply Keil (uVision 3 GUI) to support bank switching project, the bank number is configured as 4, i.e. bank#0, #1, #2 and #3, but our hardware system doesn’t support bank#3. In order to prevent user assigning code/module into bank#3, is there any switch or setting in keil to activate keil to generate warning / error message as user assigns code into bank#3, a non-existing bank in system?

Read-Only
Author
Hans-Bernhard Broeker
Posted
7-Jul-2010 23:04 GMT
Toolset
C51
New! RE: Warning / error message generation as module is assigned into non-existing bank.

the bank number is configured as 4, i.e. bank#0, #1, #2 and #3, but our hardware system doesn’t support bank#3.

Well, don't do that then! Don't configure a bank that doesn't exist.

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