Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem in rs232 comunication

Status
Not open for further replies.

rourabpaul

Member level 3
Joined
Aug 14, 2010
Messages
67
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
kolkata
Activity points
1,747
i am sending some bytes by rs232 in sparta3e board in xilinx edk tool

i have array A[1,2,3,4,5]

and a another array initialized as B[0,0,0,0,0],

say i write

a1=A[2]; //(a1 is 8 bit integer )

B[a1]=B[a1]+1;



so the B should be

B[0,0,0,1,0]

but i get B[0,0,0,0,0],

but if i send only 'a1',then i got 3,

why its happening ?

is there any solutions?
 

how come u can send an integer 16 bit value in 8 bit or 7 bit rs232
 

Can you write your source program of " Initialization of variable"? May be I can help you?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top