Component Inspector keeps changing pin assignments

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Component Inspector keeps changing pin assignments

ソリューションへジャンプ
1,913件の閲覧回数
jrmymllr
Contributor I

I'm trying to assign pins in Component  Inspector, and when I change certain ones, it will say "ERROR: Pin number differs from requested value: x" where x is a number.  Then I change the next bit assignment on the same port, and it changes other assignments by itself (and highlights everything yellow). 

 

See screenshot for better explanation.  I have set bits 0 and 1.  If I set bit 2 to the pin the mouse pointer is on, it will change bits 0 and 1 to D7 and D0, respectively from D3 and D2. 

 

What is going on here?  I've used this before and haven't had this problem until now. 

 

This is CW 10.1 for MCF52259.

0 件の賞賛
返信
1 解決策
1,714件の閲覧回数
ProcessorExpert
Senior Contributor III

Hello,

 

there could be 2 problems.

 

#1

All the bits/pins must belong to the same port and must be dealt with contiguous. For example, Port 0/Pins 0, 1, 2, 3 is correct whereas Port 0/Pins 0, 1, 3, 4 is not correct because the pins are not fully contiguous (unallocated pin 2 constitutes a gap between pin 1 and pin 3. For more details please see ttached screenshot.

 

#2

There could also problem in UI. So please close and open the project where is the problem and try to select the pins according to instructions in point 1.

 

best regards
Vojtech Filip
Processor Expert Support Team

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,715件の閲覧回数
ProcessorExpert
Senior Contributor III

Hello,

 

there could be 2 problems.

 

#1

All the bits/pins must belong to the same port and must be dealt with contiguous. For example, Port 0/Pins 0, 1, 2, 3 is correct whereas Port 0/Pins 0, 1, 3, 4 is not correct because the pins are not fully contiguous (unallocated pin 2 constitutes a gap between pin 1 and pin 3. For more details please see ttached screenshot.

 

#2

There could also problem in UI. So please close and open the project where is the problem and try to select the pins according to instructions in point 1.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 件の賞賛
返信