Subject: Re: CPM uart

From: Marco Schramel <[email-masked]>
Date: Fri, 15 Apr 2005 10:38:25 +0200

Hi all,

thanks for helping me.
Now it works with my configuration. 
I added SCC_NUM_BASE as it is without console. And now it works.
#ifdef SCC_CONSOLE
				switch (state->smc_scc_num - SCC_NUM_BASE) {  /*SCC_NUM_BASE added*/
				case 0:
					page = CPM_CR_SCC1_PAGE;
					sblock = CPM_CR_SCC1_SBLOCK;
					break;
				case 1:
					page = CPM_CR_SCC2_PAGE;
					sblock = CPM_CR_SCC2_SBLOCK;
					break;
				case 2:
					page = CPM_CR_SCC3_PAGE;
					sblock = CPM_CR_SCC3_SBLOCK;
					break;
				}
#else
.
.
.

Seems the use of SMC in conjunction with console on SCC was not planed in this version.
Furthermore i will test it and post if it fails. 

Best regards
Marco

---------
Marco Schramel