Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- SopcBuilder: How many Jtag-Uarts are needed, if I use two cpus? ( I have used two jtags, each of them connected to one cpu, cpu0 runs uclinux system, cpu1 runs helloworld example without a system, uclinux could be booted, but paused at the information of jtag-uart, cpu1 with helloworld program is successful) --- Quote End --- You can have two jtag-uarts as components but physically there is only one UART. So, at a time, only one cpu can use it. You can try writing a code which allows the two cpus to effectively share this uart based on message-boxes etc. --- Quote Start --- The purpose of my multiprocessor project is to do paralell working.A uclinux system with several piece of working programs. One storage space can only be accessed by one periphery at a time.How could make the parelell (several programs) work together? --- Quote End --- In a multi-processor system, when a particular resource can be used by only one processor at a time, then you need to create an effective mechanism (mail-boxes etc) through which one processors can signal the other one when it is using and not using this resource. Also, several times, you may not need multi-processor system - a multi-threaded single processor system may be suffice for parallel tasks.