The invention provides an
access method of an AMP multi-core heterogeneous
system and the AMP multi-core heterogeneous
system, the AMP multi-core heterogeneous
system comprises a first core, a second core, a
shared memory and a mailbox, the first core is internally provided with a physical
serial port and a first virtual
serial port which are communicated with each other, the second core is internally provided with a second virtual
serial port, and based on the virtual serial ports, efficient and real-time tty
data exchange is realized. A basic
serial communication function is realized between the master core and the slave core, and the slave core can access the physical serial port of the master core through the virtual serial port equipment, so that the
peripheral serial port equipment can be accessed through the physical serial port of the master core, and the configuration and data communication of the slave core to the serial port equipment are realized; therefore, not only is the resource competition of the hardware interface between the master core and the plurality of slave cores reduced, but also the flexible distribution and scheduling of the UART serial data flow are achieved, so that the requirements of various communication
modes of the master core, the slave cores and the UART physical serial port are met.