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.
Hi all iam working on c51 cygnal microcntrollers iam performing serial communication , at the console iam performing some manipulations and iam updating in an array[255] now i would like to send this array to controller and iwant to write the received array to external memory of microcntroller could you please suggest me how perform this , note i have already established serial communication between console and microcontroller, at the console iam running c programme from that programme i have to send one array to microcontroller.please suggest me how to do this. regards ken
There are several serial comms examples on this very site.
Note that you can set up the simulator so that it uses the PC's serial port for the simulated UART. Thus you can load your code into the simulator and connect the simulator's COM: port to the COM: port that your PC software is using, and debug the whole thing without needing any target hardware at all! You might find this easier than downloading to the real target?
Does the PC run a terminal emulation program, e.g. Hyperterminal? When the user types a character in the Hyperterminal window, the character does not go out the DB9 comm connector on the back of the PC, but goes into the debugger's SBUF instead?
"When the user types a character in the Hyperterminal window, the character does not go out the DB9 comm connector on the back of the PC, but goes into the debugger's SBUF instead?" No. If the user types a character in the Hyperterminal window, it does go out of the DB9 comm connector on the back of the PC - you need to connect that COM: port to the COM: port that the uVision simulator is using (you will need a crossover cable). The two COM: ports could be on the same computer, or different computers.