CN116244254A - RSMC chip, chip channel self-adaptive loading method and Beidou communication navigation device - Google Patents
RSMC chip, chip channel self-adaptive loading method and Beidou communication navigation device Download PDFInfo
- Publication number
- CN116244254A CN116244254A CN202211487178.4A CN202211487178A CN116244254A CN 116244254 A CN116244254 A CN 116244254A CN 202211487178 A CN202211487178 A CN 202211487178A CN 116244254 A CN116244254 A CN 116244254A
- Authority
- CN
- China
- Prior art keywords
- chip
- rsmc
- channel
- main processor
- target program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
- G06F15/781—On-chip cache; Off-chip memory
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
- G06F13/126—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请属于电子信息技术领域,具体涉及一种RSMC芯片、芯片信道自适应加载方法以及北斗通信导航设备。The application belongs to the technical field of electronic information, and in particular relates to an RSMC chip, a chip channel self-adaptive loading method and Beidou communication and navigation equipment.
背景技术Background technique
随着科技水平的迅速发展,芯片已经成为工业生产中必不可少的电子元器件。With the rapid development of science and technology, chips have become indispensable electronic components in industrial production.
目前,在芯片设计的过程中,由于需要芯片来运行特定的程序,所以需要在芯片内部设置有非易失存储器,用于存储运行程序。典型的非易失存储器包括flash和eeprom等。典型的Soc芯片(System On Chip,芯片上系统)在集成非易失存储器有以下问题:一方面是由于设置非易失存储器造成的面积增大的问题,另一方面即便通过其他手段克服了面积增大以及测试复杂耗时较长的问题,还会存在Soc芯片与主芯片之间的交互信道单一,不能够实现信道的自适应切换的问题。Currently, in the chip design process, since the chip is required to run a specific program, a non-volatile memory needs to be provided inside the chip for storing the running program. Typical non-volatile memories include flash and eeprom, etc. A typical Soc chip (System On Chip, system on a chip) has the following problems in the integration of non-volatile memory: on the one hand, it is due to the problem of increasing the area caused by setting the non-volatile memory; on the other hand, even if the area is overcome by other means The problems of increasing the size and the time-consuming complexity of the test, and the problem that the interactive channel between the Soc chip and the main chip is single, and the adaptive switching of the channel cannot be realized.
发明内容Contents of the invention
本申请实施例的目的是提供一种RSMC芯片、芯片信道自适应加载方法以及北斗通信导航设备,能够解决因为RSMC芯片上设置非易失存储器造成的面积增大、测试时间长以及成品率低的问题,同时还能够实现通过RSMC芯片与主处理器的多信道连接,实现在有需求的情况下进行信道之间的自适应切换的效果。The purpose of the embodiment of the present application is to provide an RSMC chip, a chip channel adaptive loading method and Beidou communication and navigation equipment, which can solve the problems of increased area, long test time and low yield due to the non-volatile memory set on the RSMC chip. problems, and at the same time, it can also realize the multi-channel connection between the RSMC chip and the main processor, and realize the effect of self-adaptive switching between channels when there is a demand.
第一方面,本申请实施例提供了一种RSMC芯片,所述RSMC芯片与主处理器通过至少两个信道连接,所述RSMC芯片包括:In the first aspect, the embodiment of the application provides an RSMC chip, the RSMC chip is connected to the main processor through at least two channels, and the RSMC chip includes:
非易失存储区,用于装载芯片运行启动程序;Non-volatile storage area, used to load the chip to run the startup program;
交互接口,用于与主处理器通过当前信道连接,以将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;An interactive interface is used to connect with the main processor through the current channel, so as to transmit the frame segment of the target program from the main processor to the RSMC chip;
检测单元,用于检测是否存在信道切换事件;a detection unit, configured to detect whether there is a channel switching event;
信道切换单元,用于响应于信道切换事件,从当前信道切换至目标信道;a channel switching unit, configured to switch from a current channel to a target channel in response to a channel switching event;
所述交互接口,用于通过所述目标信道将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;The interactive interface is used to transmit the frame segment of the target program from the main processor to the RSMC chip through the target channel;
第一随机访问存储区,用于存储所述目标程序;a first random access storage area for storing the target program;
第二随机访问存储区,用于存储所述目标程序运行过程中产生的数据。The second random access storage area is used to store data generated during the running of the target program.
进一步的,所述芯片运行启动程序,具体用于:Further, the chip runs a startup program, specifically for:
通过所述交互接口与所述主处理器交互握手协议;Exchanging a handshake protocol with the main processor through the interaction interface;
若握手成功,则逐帧接收由所述主处理器发送的目标程序。If the handshake is successful, the target program sent by the main processor is received frame by frame.
进一步的,所述芯片运行启动程序,还用于:Further, the chip runs a startup program, and is also used for:
在逐帧接收由所述主处理器发送的目标程序之后,对所述目标程序的帧片段进行逐帧校验;After receiving the target program sent by the main processor frame by frame, check the frame segments of the target program frame by frame;
若校验成功,则将所述目标程序的帧片段存储至所述第一随机访问存储区。If the verification is successful, the frame segment of the target program is stored in the first random access storage area.
进一步的,所述第一随机访问存储区,具体用于:Further, the first random access storage area is specifically used for:
在所述所述目标程序接收完成后,运行所述目标程序。After the receiving of the target program is completed, the target program is run.
进一步的,所述信道切换事件,包括:Further, the channel switching event includes:
校验通过当前信道接收的所述目标程序的帧片段不完整的事件;checking an event that the frame segment of the target program received through the current channel is incomplete;
或者,or,
接收到由所述主处理器发出信道切换指令的事件。An event is received in which a channel switch command is issued by the host processor.
进一步的,所述信道切换单元,具体用于:Further, the channel switching unit is specifically used for:
通过检测所述RSMC芯片的至少一个控制引脚的电位,确定执行信道切换操作,以从当前信道切换至目标信道。By detecting the potential of at least one control pin of the RSMC chip, it is determined to perform a channel switching operation, so as to switch from the current channel to the target channel.
进一步的,所述信道切换单元,还用于:Further, the channel switching unit is also used for:
执行信道切换操作后,通过所述芯片运行启动程序重新与所述主处理器握手;After performing the channel switching operation, re-shake hands with the main processor by running the startup program on the chip;
根据接收到的指示标志,确定对由当前信道接收的数据做保留处理,或,做清除处理。According to the received indication flag, it is determined to perform a reservation process on the data received by the current channel, or to perform a clearing process.
第二方面,本申请实施例提供了一种芯片信道自适应加载方法,所述方法由上述方案所述的RSMC芯片执行,所述RSMC芯片与主处理器通过至少两个信道连接;所述方法包括:In the second aspect, the embodiment of the present application provides a chip channel adaptive loading method, the method is executed by the RSMC chip described in the above scheme, and the RSMC chip is connected to the main processor through at least two channels; the method include:
若芯片上电,则启动存储在非易失存储区的芯片运行启动程序;If the chip is powered on, start the chip stored in the non-volatile storage area to run the startup program;
通过当前信道进行目标程序的帧片段传输,并将所述目标程序存储至第一随机访问存储区;performing frame segment transmission of the target program through the current channel, and storing the target program in a first random access storage area;
检测是否存在信道切换事件;Detect whether there is a channel switching event;
响应于信道切换事件,从当前信道切换至目标信道;switching from a current channel to a target channel in response to a channel switching event;
通过所述目标信道将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;Transferring the frame segment of the target program from the main processor to the RSMC chip through the target channel;
在所述目标程序接收完成之后运行所述目标程序;在所述目标程序运行过程中若产生数据,则存储至第二随机访问存储区。Running the target program after receiving the target program; if data is generated during the running of the target program, it is stored in the second random access storage area.
进一步的,在从当前信道切换至目标信道之后,所述方法还包括:Further, after switching from the current channel to the target channel, the method further includes:
通过所述芯片运行启动程序重新与所述主处理器握手;Re-shake hands with the main processor by running the boot program on the chip;
根据接收到的指示标志,确定对由当前信道接收的数据做保留处理,或,做清除处理。According to the received indication flag, it is determined to perform a reservation process on the data received by the current channel, or to perform a clearing process.
第三方面,本申请实施例提供了一种北斗通信导航设备,所述北斗通信导航设备包括主处理器,以及包括与所述主处理器连接的如上述方案所述的RSMC芯片。In a third aspect, the embodiment of the present application provides a Beidou communication and navigation device, the Beidou communication and navigation device includes a main processor, and includes an RSMC chip as described in the above solution connected to the main processor.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第二方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented .
在本申请实施例中,所述RSMC芯片与主处理器通过至少两个信道连接,所述RSMC芯片包括:非易失存储区,用于装载芯片运行启动程序;交互接口,用于与主处理器通过当前信道连接,以将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;检测单元,用于检测是否存在信道切换事件;信道切换单元,用于响应于信道切换事件,从当前信道切换至目标信道;所述交互接口,用于通过所述目标信道将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;第一随机访问存储区,用于存储所述目标程序;第二随机访问存储区,用于存储所述目标程序运行过程中产生的数据。本技术方案,可以通过将需要运行的程序放入RSMC芯片的随机访问存储区中,可以避免对RSMC芯片设置过多的程序存储区域,同时还能够实现通过RSMC芯片与主处理器的多信道连接,实现在有需求的情况下进行信道之间的自适应切换的效果。In the embodiment of the present application, the RSMC chip is connected to the main processor through at least two channels, and the RSMC chip includes: a non-volatile storage area for loading the chip to run the startup program; an interactive interface for communicating with the main processor The device is connected through the current channel to transmit the frame segment of the target program from the main processor to the RSMC chip; the detection unit is used to detect whether there is a channel switching event; the channel switching unit is used to respond to the channel switching event, Switch from the current channel to the target channel; the interactive interface is used to transmit the frame segment of the target program from the main processor to the RSMC chip through the target channel; the first random access storage area is used to store the The target program; the second random access storage area is used to store data generated during the running of the target program. This technical solution can avoid setting too many program storage areas on the RSMC chip by putting the programs that need to be run into the random access storage area of the RSMC chip, and can also realize the multi-channel connection between the RSMC chip and the main processor , to achieve the effect of adaptively switching between channels when there is a demand.
附图说明Description of drawings
图1是本申请实施例一提供的RSMC芯片的结构示意图;Fig. 1 is the structural representation of the RSMC chip that the application embodiment one provides;
图2是本申请实施例二提供的RSMC芯片的结构示意图;Fig. 2 is the structural representation of the RSMC chip that the application embodiment two provides;
图3是本申请实施例二提供的RSMC芯片和主处理器的交互方式示意图;Fig. 3 is the schematic diagram of the interaction mode of the RSMC chip and the main processor provided by the second embodiment of the present application;
图4是本申请实施例三提供的芯片信道自适应加载方法的流程示意图;FIG. 4 is a schematic flow chart of a chip channel adaptive loading method provided in Embodiment 3 of the present application;
图5是本申请实施例四提供的北斗通信导航设备的结构示意图。Fig. 5 is a schematic structural diagram of a Beidou communication and navigation device provided in Embodiment 4 of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the purpose, technical solution and advantages of the present application clearer, specific embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only parts relevant to the present application are shown in the drawings but not all content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的一种RSMC芯片、芯片信道自适应加载方法以及北斗通信导航设备进行详细地说明。An RSMC chip, a chip channel adaptive loading method and a Beidou communication and navigation device provided in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings through specific embodiments and application scenarios.
实施例一Embodiment one
图1是本申请实施例一提供的RSMC芯片的结构示意图。如图1所示,具体包括:FIG. 1 is a schematic structural diagram of an RSMC chip provided in Embodiment 1 of the present application. As shown in Figure 1, specifically include:
所述RSMC芯片100与主处理器200连接,所述RSMC芯片100包括:Described
非易失存储区101,用于装载芯片运行启动程序;The
交互接口102,用于与主处理器200通过当前信道连接,以将目标程序的帧片段从所述主处理器传输至所述RSMC芯片100;The
检测单元103,用于检测是否存在信道切换事件;A
信道切换单元104,用于响应于信道切换事件,从当前信道切换至目标信道;A
所述交互接口102,用于通过所述目标信道将目标程序的帧片段从所述主处理器200传输至所述RSMC芯片100;The
第一随机访问存储区105,用于存储所述目标程序;The first random
第二随机访问存储区106,用于存储所述目标程序运行过程中产生的数据。The second random
首先,本方案的使用场景可以是在智能终端或者其他设备中,例如智能手机、平板电脑或者台式电脑上。可以理解的,北斗通信导航设备的运行需要依赖于核心处理器,其中可以包含北斗通信导航设备运行的主程序。核心处理器可以相当于本方案中所提及的主处理器,而RSMC芯片可以是与主处理器处于同一PCB板(Printed Circuit Board,印制电路板)上的,也可以是处于不同的PCB板上通过有线或者无线连接的。除此之外,RSMC芯片还可以是北斗通信导航设备外接的,本方案对于两者的连接方式不作限定。First, the application scenario of this solution may be in a smart terminal or other devices, such as a smart phone, a tablet computer or a desktop computer. It can be understood that the operation of Beidou communication and navigation equipment needs to rely on the core processor, which may contain the main program run by Beidou communication and navigation equipment. The core processor can be equivalent to the main processor mentioned in this scheme, and the RSMC chip can be on the same PCB board (Printed Circuit Board, printed circuit board) with the main processor, or it can be on a different PCB The board is connected via wired or wireless. In addition, the RSMC chip can also be externally connected to the Beidou communication and navigation equipment. This solution does not limit the connection method between the two.
本方案中,RSMC芯片内部的结构,可以包含有一个或者多个非易失存储区101。In this solution, the internal structure of the RSMC chip may include one or more
可以理解的,本方案为了节约RSMC芯片的面积,可以尽量减少非易失存储区101的设置,而且只要在RSMC芯片内部的Soc电路包含bootrom,用以作为非易失存储区101,来存储芯片运行启动程序即可。芯片在启动后,首先运行bootrom的程序,在bootrom程序中包含由主处理器置入程序的代码。It can be understood that in order to save the area of the RSMC chip, the program can reduce the setting of the
可以理解的,此处的bootrom可以是RSMC芯片内部有预留好的rom,只读不写,RSMC芯片上电后自动运行这一块的芯片运行启动程序,所以称其为bootrom。It can be understood that the bootrom here can be a reserved rom inside the RSMC chip, which is read-only but not writeable. After the RSMC chip is powered on, it will automatically run the chip to run the startup program, so it is called bootrom.
这块RSMC芯片运行启动程序的作用可以是从外部主处理接收目标程序的功能,相当于启动之后进入程序的接收等待状态。具体的,可以通过RSMC芯片的接收引脚以有线连接的方式进行接收,以实现对目标程序的接收和运行。The role of the RSMC chip running the startup program can be the function of receiving the target program from the external main processing, which is equivalent to entering the receiving waiting state of the program after startup. Specifically, the receiving pin of the RSMC chip can be used for receiving in a wired connection, so as to realize the receiving and running of the target program.
本实施例中,具体的接收速度,或者接受带宽可以根据RSMC芯片的数据传输能力来确定。In this embodiment, the specific receiving speed or the receiving bandwidth can be determined according to the data transmission capability of the RSMC chip.
可以理解的,RSMC芯片运行启动程序运行之后,RSMC芯片100可以与主处理器200进行数据传输。具体的,可以通过RSMC芯片上设置的交互接口102来实现。其中,交互接口可以是RSMC芯片100的一个或者多个引脚所组成的,还可以是RSMC芯片通过引脚连接的外部物理接口。可以理解的,交互接口102可以用来向主处理器发送数据,也可以用来接收主处理器的数据,即同时具有收发功能。It can be understood that, after the RSMC chip running start-up program runs, the
本方案中,交互接口102可以配合bootrom进行目标程序的接收。此处,具体的接收方式可以是逐帧接收。可以理解的,逐帧接收后,可以得到目标程序的帧片段,在每一个帧片段接收成功后,可以将其存储至第一随机访问存储区105。In this solution, the
检测单元103,用于检测是否存在信道切换事件。The
在一种特殊的场景下,以上过程中,实时对RSMC芯片启动方式进行检测,如果出现了变化,即识别为外部尝试切换信道加载,则停止当前加载流程,改为新通道加载。In a special scenario, during the above process, the startup mode of the RSMC chip is detected in real time. If there is a change, that is, it is recognized as an external attempt to switch channel loading, the current loading process is stopped and changed to a new channel loading.
在本实施例中,可选的,所述信道切换事件,包括:In this embodiment, optionally, the channel switching event includes:
校验通过当前信道接收的所述目标程序的帧片段不完整的事件;checking an event that the frame segment of the target program received through the current channel is incomplete;
或者,or,
接收到由所述主处理器发出信道切换指令的事件。An event is received in which a channel switch command is issued by the host processor.
可以理解的,信道切换事件,可以是主处理器检测到通过当前信道传输目标程序的帧片段过程较慢,无法及时收到RSMC芯片的反馈信息,或者RSMC芯片的反馈信息错误等情况下,触发信道切换事件。另外,信道切换事件还可以是主处理器统计在当前信道传输的过程中,累计出现的异常次数超过设定阈值后触发,还可以是在当前信道传输的过程中,反馈信息的延迟超过设定时间阈值后触发。以上均可以基于设定的规则来自主实现。It can be understood that the channel switching event can be triggered when the main processor detects that the process of transmitting the frame fragments of the target program through the current channel is slow, and cannot receive the feedback information from the RSMC chip in time, or the feedback information from the RSMC chip is wrong. Channel switch event. In addition, the channel switching event can also be triggered after the main processor counts the cumulative number of abnormalities that have occurred during the current channel transmission process exceeding the set threshold, or it can also be triggered when the feedback information delay exceeds the set threshold during the current channel transmission process. Triggered after a time threshold. All of the above can be implemented independently based on the set rules.
除此之外,信道切换事件还可以是主处理器主动发出信道切换指令。例如,当前信道传输的是A程序,在尚未完成传输时,主处理器确定需要RSMC芯片执行B程序,则可以通过主处理器主动发出信道切换指令进行信道的切换。可以理解的,在这种情况下,信道的切换也实现了信道传输内容的切换,由此可以提高对RSMC芯片的使用灵活程度。In addition, the channel switching event may also be that the main processor actively issues a channel switching instruction. For example, the current channel transmits program A. Before the transmission is completed, the main processor determines that the RSMC chip needs to execute program B. Then, the main processor can actively issue a channel switching command to switch channels. It can be understood that in this case, the channel switching also realizes the switching of channel transmission content, thereby improving the flexibility of using the RSMC chip.
示例性的,本方案中所采用的信道切换方式,可以是主处理器主动控制RSMC芯片启动方式引脚的电平,以实现信道切换事件的通知,RSMC芯片可以通过检测启动方式引脚的电平信号,确定并执行切换动作。Exemplary, the channel switching mode adopted in this scheme can be that the main processor actively controls the level of the RSMC chip startup mode pin to realize the notification of the channel switching event, and the RSMC chip can detect the voltage level of the startup mode pin. Ping signal, confirm and execute the switching action.
信道切换单元104,用于响应于信道切换事件,从当前信道切换至目标信道。The
具体的切换方式,可以是根据信道数量和信道类型来确定的。例如信道数量可以是两个或者多个,信道可以包含有UART、SPI等多种交互信道。The specific switching manner may be determined according to the channel quantity and channel type. For example, the number of channels can be two or more, and the channels can include various interactive channels such as UART and SPI.
UART(Universal Asynchronous Receiver/Transmitter,通用异步收发传输器),是一种异步收发传输器,是设备间进行异步通信的关键模块。UART负责处理数据总线和串行口之间的串/并、并/串转换,并规定了帧格式;通信双方只要采用相同的帧格式和波特率,就能在未共享时钟信号的情况下,仅用两根信号线(Rx和Tx)就可以完成通信过程,因此也称为异步串行通信。、SPI等多种交互信道。UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver Transmitter), is an asynchronous transceiver transmitter, and is a key module for asynchronous communication between devices. UART is responsible for processing the serial/parallel and parallel/serial conversion between the data bus and the serial port, and stipulates the frame format; as long as the two sides of the communication adopt the same frame format and baud rate, they can communicate without sharing the clock signal. , the communication process can be completed with only two signal lines (Rx and Tx), so it is also called asynchronous serial communication. , SPI and other interactive channels.
SPI(Serial Peripheral Interface,串行外设接口),是一种高速的,全双工,同步的通信总线,并且在芯片的管脚上只占用四根线,节约了芯片的管脚,同时为PCB的布局上节省空间,提供方便,正是出于这种简单易用的特性,越来越多的芯片集成了这种通信协议。SPI (Serial Peripheral Interface, Serial Peripheral Interface), is a high-speed, full-duplex, synchronous communication bus, and only occupies four wires on the pins of the chip, saving the pins of the chip and providing The PCB layout saves space and provides convenience. It is because of this easy-to-use feature that more and more chips integrate this communication protocol.
本实施例中,可选的,所述信道切换单元,具体用于:In this embodiment, optionally, the channel switching unit is specifically used for:
通过检测所述RSMC芯片的至少一个控制引脚的电位,确定执行信道切换操作,以从当前信道切换至目标信道。By detecting the potential of at least one control pin of the RSMC chip, it is determined to perform a channel switching operation, so as to switch from the current channel to the target channel.
本方案中,具体的,可以由一个控制引脚来进行控制,例如低电平代表SPI通道,高电平代表UART通道,甚至可以两个或者三个引脚,构成多种方式。In this solution, specifically, it can be controlled by one control pin, for example, low level represents the SPI channel, high level represents the UART channel, and even two or three pins can be used to form various modes.
第一随机访问存储区105,可以采用RAM(Random Access Memory,随机访问存储器)的一个分区,或者采用一个整个的RAM来作为第一随机访问存储区105。RAM是与CPU直接交换数据的内部存储器。它可以随时读写,而且速度很快,通常作为操作系统或其他正在运行中的程序的临时数据存储介质。RAM工作时可以随时从任何一个指定的地址写入或读出信息。The first random
本方案中,第一随机访问存储区105用于存储所述目标程序。其中,目标程序即为需要RSMC芯片运行的程序。由于RSMC芯片内部不采用ROM作为程序的载体,所以RSMC芯片每次上电之后需要从主处理器获取目标程序。这样设置可以简化RSMC芯片设计的同时,还能够增加RSMC芯片的使用灵活性,例如在一种场景下,RSMC芯片需要运行程序A,在另一种场景下,RSMC芯片需要运行程序B,如果是采用ROM的设计方式,需要将程序A和程序B都烧录在RSMC芯片的ROM当中,但是如果采用RAM的存储方式,则可以避免出现此问题,即可以根据场景的不同,分别向主处理器获取程序A或者程序B的代码,以运行程序。甚至在其他场景,还可以根据需求来运行程序C或者程序D等。In this solution, the first random
第一随机访问存储区106,可以理解的,可以是与第一随机访问存储区105同属一个RAM,但是不在同一个地址,或者是与第一随机访问存储区105属于不同的RAM。第一随机访问存储区106,可以在目标程序运行过程中存储所产生的数据,用以完成目标程序执行的任务。具体可以是输入参数、输出成果数据以及目标程序的日志数据等。It can be understood that the first random
在本实施例中,可选的,所述芯片运行启动程序,具体用于:In this embodiment, optionally, the chip runs a startup program, specifically for:
通过所述交互接口与所述主处理器交互握手协议;Exchanging a handshake protocol with the main processor through the interaction interface;
若握手成功,则逐帧接收由所述主处理器发送的目标程序。If the handshake is successful, the target program sent by the main processor is received frame by frame.
其中,交互握手协议的过程,可以是为两者后续的目标程序传输来进行对象明确的过程。例如,在交互握手协议的过程中,可以由主处理器向RSMC芯片发出身份确认信息以及状态确认信息,以了解RSMC芯片是否为能够进行目标程序写入的RSMC芯片,以及了解RSMC芯片是否已经完成上电和其他准备工作,可以接收目标程序。在RSMC芯片向主处理器响应之后,则可以确定握手成功。如果一定时间内未进行回复,则可以确定RSMC芯片未达到理想状态,不能够向RSMC芯片发送目标程序的代码内容。Wherein, the process of the interactive handshake protocol may be a process of specifying objects for subsequent target program transmission between the two. For example, in the process of the interactive handshake protocol, the main processor can send identity confirmation information and status confirmation information to the RSMC chip to know whether the RSMC chip is an RSMC chip capable of writing the target program, and whether the RSMC chip has been completed. After power-on and other preparations, the target program can be received. After the RSMC chip responds to the main processor, it can be determined that the handshake is successful. If no reply is made within a certain period of time, it can be determined that the RSMC chip has not reached an ideal state, and the code content of the target program cannot be sent to the RSMC chip.
本实施例中,在握手成功后,RSMC芯片可以逐帧接收由主处理器发送的目标程序。每一帧可以包括目标程序的一部分代码,例如每一帧包括目标程序的5行代码。帧与帧之间可以通过帧编号进行排序,例如帧编号为0000 0000的为第一帧,帧编号为0000 0001的为第二帧,帧编号为0000 0010的为第三帧,等等。In this embodiment, after the handshake is successful, the RSMC chip can receive the target program sent by the main processor frame by frame. Each frame may include a part of code of the target program, for example, each frame includes 5 lines of code of the target program. Frames can be sorted by frame number, for example, frame number 0000 0000 is the first frame, frame number 0000 0001 is the second frame, frame number 0000 0010 is the third frame, and so on.
在上述各技术方案的基础上,可选的,所述芯片运行启动程序,还用于:On the basis of the above technical solutions, optionally, the chip runs a startup program, and is also used for:
在逐帧接收由所述主处理器发送的目标程序之后,对所述目标程序的帧片段进行逐帧校验;After receiving the target program sent by the main processor frame by frame, check the frame segments of the target program frame by frame;
若校验成功,则将所述目标程序的帧片段存储至所述第一随机访问存储区。If the verification is successful, the frame segment of the target program is stored in the first random access storage area.
本方案中,可以对于目标程序的帧片段进行逐帧校验。例如逐帧对帧片段的顺序以及完整性进行校验。具体的,对顺序进行校验,可以是对帧编号进行校验,可以用来校验所接收到的目标程序是否为完整的程序。另外,对完整性进行校验,可以通过读取帧片段的头数据来读取帧片段的数据长度,再确定帧片段的实际长度,进而对读取到的理论长度和实际长度进行校验。In this solution, frame-by-frame verification can be performed on the frame segments of the target program. For example, the sequence and integrity of frame segments are checked frame by frame. Specifically, checking the sequence may be checking the frame number, and may be used to check whether the received target program is a complete program. In addition, to check the integrity, you can read the data length of the frame segment by reading the header data of the frame segment, and then determine the actual length of the frame segment, and then verify the read theoretical length and actual length.
在校验成功后,可以将目标程序的帧片段按照顺序存储至所述第一随机访问存储区的目标地址,以实现对目标程序的代码内容的顺序存储。After the verification is successful, the frame segments of the target program can be stored in order in the target address of the first random access storage area, so as to realize the sequential storage of the code content of the target program.
本方案这样设置,可以确保所保存的目标程序的帧片段是正确的,可以提高后续目标程序运行过程的稳定性,避免报错。This scheme is set in this way, which can ensure that the frame fragments of the saved target program are correct, can improve the stability of the subsequent running process of the target program, and avoid error reporting.
本实施例所提供的技术方案,通过设置RSMC芯片包括:非易失存储区,用于装载芯片运行启动程序;交互接口,用于与主处理器连接,以进行目标程序的帧片段传输;第一随机访问存储区,用于存储所述目标程序;第二随机访问存储区,用于存储所述目标程序运行过程中产生的数据。本技术方案,可以通过将需要运行的程序放入RSMC芯片的随机访问存储区中,可以避免对RSMC芯片设置过多的程序存储区域,同时还能够实现通过RSMC芯片灵活的执行所需要的程序,达到提高RSMC芯片使用灵活度的效果。The technical solution provided by this embodiment includes by setting the RSMC chip: a non-volatile storage area, which is used to load the chip to run the startup program; an interactive interface, which is used to connect with the main processor to perform frame segment transmission of the target program; A random access storage area is used to store the target program; a second random access storage area is used to store data generated during the running of the target program. This technical solution can avoid setting too many program storage areas on the RSMC chip by putting the programs that need to be run into the random access storage area of the RSMC chip, and can also realize the flexible execution of the required programs through the RSMC chip. The effect of improving the flexibility of using the RSMC chip is achieved.
实施例二Embodiment two
图2是本申请实施例二提供的RSMC芯片的结构示意图。如图2所示,具体包括:所述芯片运行启动程序,还用于:FIG. 2 is a schematic structural diagram of an RSMC chip provided in Embodiment 2 of the present application. As shown in Figure 2, it specifically includes: the chip runs a startup program, and is also used for:
在通过所述交互接口102与所述主处理器200交互握手协议之前,按照预设周期向所述主处理器200发送特定字符,供所述主处理器200根据所述特定字符和所述预设周期确定芯片身份信息。Before exchanging the handshake protocol with the
本方案中,可以理解的,北斗通信导航设备中的具有类似功能的RSMC芯片可以不止一个。在这样的场景下,在主处理器向RSMC芯片发送目标程序之前,需要确定发送的对象是否能够运行目标程序,或者确定该RSMC芯片是否原本设计用于运行其他程序。因此,就需要在进行目标程序的发送之前,或者说进行交互握手协议之前,需要对RSMC芯片的身份信息进行确定。In this solution, it can be understood that there may be more than one RSMC chip with similar functions in the Beidou communication and navigation equipment. In such a scenario, before the main processor sends the target program to the RSMC chip, it needs to determine whether the object to be sent can run the target program, or determine whether the RSMC chip is originally designed to run other programs. Therefore, it is necessary to determine the identity information of the RSMC chip before sending the target program, or before performing the interactive handshake protocol.
本方案中,可选的,所述信道切换单元,还用于:In this solution, optionally, the channel switching unit is also used for:
执行信道切换操作后,通过所述芯片运行启动程序重新与所述主处理器握手;After performing the channel switching operation, re-shake hands with the main processor by running the startup program on the chip;
根据接收到的指示标志,确定对由当前信道接收的数据做保留处理,或,做清除处理。According to the received indication flag, it is determined to perform a reservation process on the data received by the current channel, or to perform a clearing process.
本方案中,对于信道的切换,是需要重新与主处理器进行握手的,以明确双方的身份,在明确双方身份无问题后,可以根据主处理器发出的指示标志,确定对于当前信道已经接收到的目标程序的部分数据,保留或者清除。例如,接收到指示标志后,若为1,则保留,若为0,则清除。In this solution, for channel switching, it is necessary to shake hands with the main processor again to clarify the identities of both parties. After confirming that there is no problem with the identities of both parties, it can be determined that the current channel has received Part of the data of the target program is retained or cleared. For example, after the indication flag is received, if it is 1, it is reserved, and if it is 0, it is cleared.
在另一个可行的方案中,也可以将对于已接收到的部分数据的处理方式,按照一定的规则来写入,例如默认都清楚处理,或默认都保留处理。或者在传输的数据满足一定条件的情况下,做保留处理,例如所传输的部分数据站目标程序的50%以上,或者是目标程序的使用热度高于一定的阈值,可以做保留处理,其他情况则清除。In another feasible solution, the processing method for the received part of the data may also be written according to certain rules, for example, all processing is clear by default, or all processing is reserved by default. Or when the transmitted data meets certain conditions, it can be reserved. For example, some of the transmitted data is more than 50% of the target program, or the use of the target program is higher than a certain threshold. It can be reserved. In other cases is cleared.
本实施例这样设置,可以在重新握手的过程中,确定目标程序的处理方式,可以确保对于已加载数据的有效处理,提高RSMC芯片运行的稳定性。This embodiment is set in such a way that the processing mode of the target program can be determined during the re-handshake process, which can ensure the effective processing of the loaded data and improve the stability of the RSMC chip operation.
本方案给出了具体的确定方式,即RSMC芯片由芯片运行启动程序中设定的规则,按照预设周期,向主处理器发送特定字符。可以理解的,不同RSMC芯片的预设周期可以是不同的,特定字符也可以是不同的。在想主处理器发送之后,可以为主处理器提供周期信息和特定字符信息,供主处理器根据这两个信息中的一个或者全部来确定芯片身份信息。具体的,可以在主处理器中设置有关联表,关联表中包含芯片身份信息与预设周期的关联关系,或者包含芯片身份信息与特定字符的关联关系,或者包含芯片身份信息与预设周期和特定字符三者之间的关联关系。则主处理器接收到周期信息和/或特定字符信息之后,可以根据关联表来确定芯片身份信息,例如确定RSMC芯片ID为10-111320。This solution provides a specific determination method, that is, the RSMC chip sends specific characters to the main processor according to the preset cycle according to the rules set in the chip operation startup program. It can be understood that the preset periods of different RSMC chips may be different, and the specific characters may also be different. After sending to the main processor, the main processor may provide cycle information and specific character information for the main processor to determine the chip identity information according to one or both of these two pieces of information. Specifically, an association table may be set in the main processor, and the association table includes the association relationship between the chip identity information and the preset period, or the association relationship between the chip identity information and a specific character, or includes the chip identity information and the preset period and the relationship between the three specific characters. After the main processor receives the cycle information and/or the specific character information, it can determine the chip identity information according to the association table, for example, determine that the RSMC chip ID is 10-111320.
本实施例通过控制RSMC芯片按照预设周期向主处理器发送特定字符,可以便于主处理器确定芯片身份信息,以进行进一步的握手和目标程序的发送,为后续的目标程序的正常运行提供保障。In this embodiment, by controlling the RSMC chip to send specific characters to the main processor according to the preset cycle, it is convenient for the main processor to determine the chip identity information, so as to perform further handshake and send the target program, and provide guarantee for the normal operation of the subsequent target program .
在上述各实施例的基础上,可选的,所述第一随机访问存储区105,具体用于:On the basis of the foregoing embodiments, optionally, the first random
在所述所述目标程序接收完成后,运行所述目标程序。After the receiving of the target program is completed, the target program is run.
其中,在接收完成之后,RSMC芯片可以由bootrom跳转至第一随机访问存储区105来运行目标程序。具体的,可以根据目标程序的帧片段的起始存储位置,进行跳转。Wherein, after the receiving is completed, the RSMC chip can jump from the bootrom to the first random
图3是本申请实施例二提供的RSMC芯片和主处理器的交互方式示意图。如图3所示,本方案实现了一种在消费类终端上,例如手机、手表以及手环等。FIG. 3 is a schematic diagram of an interaction mode between the RSMC chip and the main processor provided in Embodiment 2 of the present application. As shown in FIG. 3 , this solution implements a method on a consumer terminal, such as a mobile phone, a watch, and a bracelet.
北斗RSMC(regional short message communication,区域短报文通信服务)芯片程序由外部主平台置入的方案。Beidou RSMC (regional short message communication, regional short message communication service) chip program is embedded by the external main platform.
在RSMC芯片内部的Soc电路包含bootrom、程序RAM和数据RAM。RSMC芯片在启动后,首先运行bootrom的程序,在bootrom程序中包含由主处理器置入程序的代码。The Soc circuit inside the RSMC chip includes bootrom, program RAM and data RAM. After the RSMC chip is started, it first runs the program of the bootrom, and the program of the bootrom contains the code inserted into the program by the main processor.
代码的典型执行流程如下:The typical execution flow of the code is as follows:
判定第一阶段启动方式类型,以SPI为例;Determine the type of startup mode in the first stage, taking SPI as an example;
首先通过第一启动方式进行加载,即通过SPI通道进行外部镜像加载流程,包含以下步骤:First, load through the first boot method, that is, the external image loading process through the SPI channel, including the following steps:
1、RSMC芯片和主平台处理器握手;1. The RSMC chip shakes hands with the main platform processor;
2、握手成功后,进入代码数据传输模式;2. After the handshake is successful, enter the code data transmission mode;
3、RSMC传输完代码数据后进行校验,校验成功后跳转程序RAM运行;3. RSMC performs verification after transmitting the code data, and jumps to the program RAM to run after the verification is successful;
以上过程中,实时对启动方式进行检测,如果出现了变化,即反应出外部尝试切换信道加载,则停止当前加载流程,改为新通道加载。在切换的时候,还可以根据切换握手提示,选择清空已加载部分数据,还是保留已加载数据。采用新的通道进行加载过程中,依然实时保持对启动方式的检测,并继续支持实时切换,切换流程一致,即先进行切换握手,根据切换方式选择是否保留已加载部分数据。During the above process, the startup mode is detected in real time. If there is a change, that is, it reflects an external attempt to switch channel loading, then stop the current loading process and change to a new channel loading. When switching, you can also choose to clear the loaded part of the data or keep the loaded data according to the switching handshake prompt. During the loading process using the new channel, it still maintains the detection of the startup mode in real time, and continues to support real-time switching. The switching process is consistent, that is, the switching handshake is performed first, and whether to retain the loaded part of the data is selected according to the switching mode.
将上述流程称为信道自适应的外部加载启动方式。The above process is referred to as an external loading startup mode of channel adaptation.
采用外部加载的方式启动程序,但是存在启动方式中途不可切换的问题,即选定了某通道后,只能采样该通道进行加载全流程,中途即便外部尝试切换启动方式,也无法实现。本发明主要解决该问题,在外部加载的基础上,增加了信道自适应加载启动方式设计,提升了加载流程的灵活性。。The program is started by external loading, but there is a problem that the starting mode cannot be switched in the middle, that is, after a certain channel is selected, only the channel can be sampled for the whole process of loading, even if an external attempt is made to switch the starting mode, it cannot be realized. The present invention mainly solves this problem. On the basis of external loading, the design of channel self-adaptive loading startup mode is added, and the flexibility of the loading process is improved. .
实施例三Embodiment Three
图4是本申请实施例三提供的芯片信道自适应加载方法的流程示意图。如图4所示,具体包括:FIG. 4 is a schematic flowchart of a chip channel adaptive loading method provided in Embodiment 3 of the present application. As shown in Figure 4, specifically include:
S401,若芯片上电,则启动存储在非易失存储区的芯片运行启动程序。S401. If the chip is powered on, start the chip stored in the non-volatile storage area to run the startup program.
S402,通过当前信道进行目标程序的帧片段传输,并将所述目标程序存储至第一随机访问存储区。S402. Transmit the frame segment of the target program through the current channel, and store the target program in the first random access storage area.
S403,检测是否存在信道切换事件。S403. Detect whether there is a channel switching event.
S404,响应于信道切换事件,从当前信道切换至目标信道。S404. Switch from the current channel to the target channel in response to the channel switching event.
S405,通过所述目标信道将目标程序的帧片段从所述主处理器传输至所述RSMC芯片。S405. Transmit the frame segment of the target program from the main processor to the RSMC chip through the target channel.
S406,在所述目标程序接收完成之后运行所述目标程序;在所述目标程序运行过程中若产生数据,则存储至第二随机访问存储区。S406. Run the target program after receiving the target program; if data is generated during the running of the target program, store it in the second random access storage area.
在上述技术方案的基础上,可选的,在从当前信道切换至目标信道之后,所述方法还包括:On the basis of the above technical solution, optionally, after switching from the current channel to the target channel, the method further includes:
通过所述芯片运行启动程序重新与所述主处理器握手;Re-shake hands with the main processor by running the boot program on the chip;
根据接收到的指示标志,确定对由当前信道接收的数据做保留处理,或,做清除处理。According to the received indication flag, it is determined to perform a reservation process on the data received by the current channel, or to perform a clearing process.
在上述技术方案的基础上,可选的,在启动存储在非易失存储区的芯片运行启动程序之后,所述方法还包括:On the basis of the above technical solution, optionally, after starting the chip stored in the non-volatile storage area to run the startup program, the method further includes:
按照预设周期向所述主处理器发送特定字符,供所述主处理器根据所述特定字符和所述预设周期确定芯片身份信息。Sending a specific character to the main processor according to a preset period for the main processor to determine chip identity information according to the specific character and the preset period.
在上述技术方案的基础上,可选的,通过交互接口与主处理器连接,以进行目标程序的帧片段传输,并将所述目标程序存储至第一随机访问存储区,包括:On the basis of the above technical solution, optionally, connecting to the main processor through an interactive interface to transmit the frame segment of the target program, and storing the target program in the first random access storage area, including:
通过所述交互接口与所述主处理器交互握手协议;Exchanging a handshake protocol with the main processor through the interaction interface;
若握手成功,则逐帧接收由所述主处理器发送的目标程序;If the handshake is successful, receiving the target program sent by the main processor frame by frame;
对所述目标程序的帧片段进行逐帧校验;performing frame-by-frame verification on the frame segments of the target program;
若校验成功,则将所述目标程序的帧片段存储至所述第一随机访问存储区。If the verification is successful, the frame segment of the target program is stored in the first random access storage area.
在上述技术方案的基础上,可选的,在运行所述目标程序之后,所述方法还包括:On the basis of the above technical solution, optionally, after running the target program, the method further includes:
若芯片下电,则清除所述第一随机访问存储区的目标程序,以及清除所述第二随机访问存储区存储的数据。If the chip is powered off, the target program in the first random access storage area is cleared, and the data stored in the second random access storage area is cleared.
在本申请实施例中,所述RSMC芯片与主处理器通过至少两个信道连接,所述RSMC芯片包括:非易失存储区,用于装载芯片运行启动程序;交互接口,用于与主处理器通过当前信道连接,以将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;检测单元,用于检测是否存在信道切换事件;信道切换单元,用于响应于信道切换事件,从当前信道切换至目标信道;所述交互接口,用于通过所述目标信道将目标程序的帧片段从所述主处理器传输至所述RSMC芯片;第一随机访问存储区,用于存储所述目标程序;第二随机访问存储区,用于存储所述目标程序运行过程中产生的数据。本技术方案,可以通过将需要运行的程序放入RSMC芯片的随机访问存储区中,可以避免对RSMC芯片设置过多的程序存储区域,同时还能够实现通过RSMC芯片与主处理器的多信道连接,实现在有需求的情况下进行信道之间的自适应切换的效果。In the embodiment of the present application, the RSMC chip is connected to the main processor through at least two channels, and the RSMC chip includes: a non-volatile storage area for loading the chip to run the startup program; an interactive interface for communicating with the main processor The device is connected through the current channel to transmit the frame segment of the target program from the main processor to the RSMC chip; the detection unit is used to detect whether there is a channel switching event; the channel switching unit is used to respond to the channel switching event, Switch from the current channel to the target channel; the interactive interface is used to transmit the frame segment of the target program from the main processor to the RSMC chip through the target channel; the first random access storage area is used to store the The target program; the second random access storage area is used to store data generated during the running of the target program. This technical solution can avoid setting too many program storage areas on the RSMC chip by putting the programs that need to be run into the random access storage area of the RSMC chip, and can also realize the multi-channel connection between the RSMC chip and the main processor , to achieve the effect of adaptively switching between channels when there is a demand.
本申请实施例提供的芯片信道自适应加载方法是采用上述各实施例的所提供的RSMC芯片来执行的,具有与之相应的功能和效果,为避免重复,这里不再赘述。The chip channel self-adaptive loading method provided in the embodiment of the present application is implemented by using the RSMC chip provided in the above-mentioned embodiments, and has corresponding functions and effects. To avoid repetition, details are not repeated here.
实施例四Embodiment Four
图5是本申请实施例四提供的北斗通信导航设备的结构示意图。如图5所示,本申请实施例还提供一种北斗通信导航设备500,所述北斗通信导航设备包括主处理器501,以及包括与所述主处理器501连接的如上述各实施例所述的RSMC芯片502。Fig. 5 is a schematic structural diagram of a Beidou communication and navigation device provided in Embodiment 4 of the present application. As shown in Figure 5, the embodiment of the present application also provides a Beidou communication and
本实施例所提供的北斗通信导航设备,能够执行上述实施例所提供的芯片信道自适应加载方法,且能达到相同的技术效果,为避免重复,这里不再赘述。The Beidou communication and navigation device provided in this embodiment can implement the chip channel adaptive loading method provided in the above embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的北斗通信导航设备包括上述所述的移动设备和非移动设备。It should be noted that the Beidou communication and navigation equipment in the embodiment of the present application includes the above-mentioned mobile equipment and non-mobile equipment.
实施例五Embodiment five
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述芯片信道自适应加载方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above embodiment of the chip channel adaptive loading method is implemented, and The same technical effect can be achieved, so in order to avoid repetition, details will not be repeated here.
其中,所述处理器为上述实施例中所述的北斗通信导航设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the Beidou communication and navigation device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。The above are only preferred embodiments of the present application and the applied technical principles. The present application is not limited to the specific embodiments described here, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope is determined by the scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211487178.4A CN116244254A (en) | 2022-11-24 | 2022-11-24 | RSMC chip, chip channel self-adaptive loading method and Beidou communication navigation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211487178.4A CN116244254A (en) | 2022-11-24 | 2022-11-24 | RSMC chip, chip channel self-adaptive loading method and Beidou communication navigation device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116244254A true CN116244254A (en) | 2023-06-09 |
Family
ID=86624831
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211487178.4A Pending CN116244254A (en) | 2022-11-24 | 2022-11-24 | RSMC chip, chip channel self-adaptive loading method and Beidou communication navigation device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116244254A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI868754B (en) * | 2023-06-20 | 2025-01-01 | 大陸商北京集創北方科技股份有限公司 | Chip activation method, chip and electronic device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102915289A (en) * | 2012-07-11 | 2013-02-06 | 泰金宝电通股份有限公司 | Data transmission method |
| US20210219127A1 (en) * | 2018-05-16 | 2021-07-15 | Huawei Technologies Co., Ltd. | Data transmission method andterminal |
| CN113961290A (en) * | 2020-12-22 | 2022-01-21 | 谷歌有限责任公司 | Switchable communication transfer of communication between master device and vehicle head unit |
| CN115269052A (en) * | 2022-08-08 | 2022-11-01 | 深圳市远东华强导航定位有限公司 | RSMC chip, loading method of chip program and Beidou communication and navigation electronic equipment |
-
2022
- 2022-11-24 CN CN202211487178.4A patent/CN116244254A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102915289A (en) * | 2012-07-11 | 2013-02-06 | 泰金宝电通股份有限公司 | Data transmission method |
| US20210219127A1 (en) * | 2018-05-16 | 2021-07-15 | Huawei Technologies Co., Ltd. | Data transmission method andterminal |
| CN113961290A (en) * | 2020-12-22 | 2022-01-21 | 谷歌有限责任公司 | Switchable communication transfer of communication between master device and vehicle head unit |
| CN115269052A (en) * | 2022-08-08 | 2022-11-01 | 深圳市远东华强导航定位有限公司 | RSMC chip, loading method of chip program and Beidou communication and navigation electronic equipment |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI868754B (en) * | 2023-06-20 | 2025-01-01 | 大陸商北京集創北方科技股份有限公司 | Chip activation method, chip and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100972072B1 (en) | NC host controller interface | |
| US9014183B2 (en) | Buffer transfer service | |
| US10651692B2 (en) | Power transmission device, power reception device, power supply system, and power transmission method | |
| JP2008009979A (en) | Smart card operating system and process | |
| EP2339792A1 (en) | Method for accessing USB device attached to home gateway, home gateway and terminal | |
| CN116244255A (en) | RSMC chip, chip multi-stage starting method and Beidou communication navigation device | |
| US8700849B2 (en) | Storage device having capability to transmit stored data to an external apparatus and receive data for storage from the external apparatus based on an instruction from a host apparatus, and data communication system using the same | |
| CN116244254A (en) | RSMC chip, chip channel self-adaptive loading method and Beidou communication navigation device | |
| WO2014023247A1 (en) | Embedded device and method for control data communication based on the device | |
| US20120005500A1 (en) | Peripheral-device utilizing system, server device, and method | |
| EP0886410A2 (en) | Data communication method, data communication apparatus, and data communication program recording medium | |
| CN114338567A (en) | SDIO interface data transmission method and device and SDIO interface equipment | |
| CN115269052A (en) | RSMC chip, loading method of chip program and Beidou communication and navigation electronic equipment | |
| WO2014153934A1 (en) | Wireless card reader and method for storing data | |
| EP1686510B1 (en) | Electronic device and control method thereof | |
| CN109542812A (en) | Data communication control method, device and terminal device | |
| US20130198548A1 (en) | Apparatus and method for saving power of usb device | |
| CN110728159A (en) | NDEF data reading and uploading method, terminal, tag chip and readable medium | |
| CN114401218A (en) | Bypass forwarding method and device for data message | |
| US10461957B2 (en) | System and method for supporting both bulk storage and Ethernet communications | |
| US9183209B2 (en) | Communication device with fast start mode for transfering data to temporary areas beyond file system control | |
| CN113472548A (en) | Electronic card control method, electronic card and terminal | |
| CN117278345B (en) | Energy saving method and device applied to network equipment | |
| CN118338388A (en) | A communication method, control device, electronic device and storage medium | |
| US9075784B2 (en) | Communication device, communication method and computer-readable recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |