CN108615545A - EMMC adjustment methods and EMMC - Google Patents

EMMC adjustment methods and EMMC Download PDF

Info

Publication number
CN108615545A
CN108615545A CN201611128400.6A CN201611128400A CN108615545A CN 108615545 A CN108615545 A CN 108615545A CN 201611128400 A CN201611128400 A CN 201611128400A CN 108615545 A CN108615545 A CN 108615545A
Authority
CN
China
Prior art keywords
emmc
firmware
parameter
debugging
debug command
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
Application number
CN201611128400.6A
Other languages
Chinese (zh)
Inventor
陈诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GigaDevice Semiconductor Beijing Inc
Original Assignee
Beijing Jingcun Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jingcun Technology Co Ltd filed Critical Beijing Jingcun Technology Co Ltd
Priority to CN201611128400.6A priority Critical patent/CN108615545A/en
Publication of CN108615545A publication Critical patent/CN108615545A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56008Error analysis, representation of errors

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Include firmware the embodiment of the invention discloses a kind of EMMC adjustment methods and EMMC, EMMC.The EMMC adjustment methods include:Firmware receives debug command and parameter from EMMC serial ports;Debugging routine in firmware parses the debug command and parameter, is executed according to debug command and parameter, and implementing result is exported by the serial ports.The embodiment of the present invention in the firmware in EMMC by being added to debugging routine, allow firmware that the test command received and parameter to be input in debugging routine, directly EMMC is debugged, and then analysis mistake and Wrong localization are being fast implemented when product malfunctions, debugging efficiency is improved, to effectively shorten the R&D cycle.

Description

EMMC adjustment methods and EMMC
Technical field
The present embodiments relate to memory technology more particularly to a kind of EMMC adjustment methods and EMMC.
Background technology
EMMC (Embedded Multi Media Card) is embedded multi-media card, is that MMC associations conclude, is main For the embedded memory standard specification of the products such as mobile phone or tablet computer.EMMC is integrated with a controller in a package, It provides standard interface and manages flash memory so that cell phone manufacturer can be absorbed in the other parts of product development, and shorten to market Release the time of product.
For EMMC products, need constantly to debug product to effectively shorten the R&D cycle, when product malfunctions, Mistake and Wrong localization can also be analyzed by debugging.
Invention content
A kind of EMMC adjustment methods of offer of the embodiment of the present invention and EMMC, to be ground by this adjustment method to effectively shorten Send out the period, and wrong and Wrong localization is analyzed when product malfunction.
In a first aspect, an embodiment of the present invention provides a kind of EMMC adjustment methods, EMMC includes firmware, is wrapped in the firmware Include debugging routine;
The method includes:
The firmware receives debug command and parameter from EMMC serial ports;
Debugging routine in the firmware parses the debug command and parameter, is held according to the debug command and parameter Row, and implementing result is exported by the serial ports.
Second aspect, the embodiment of the present invention additionally provide a kind of EMMC, including firmware;
The firmware includes debugging routine, for parsing debug command and parameter from EMMC serial ports, according to described Debug command and parameter execute, and implementing result is exported by the serial ports.
The embodiment of the present invention in the firmware in EMMC by being added to debugging routine, the survey for alloing firmware that will receive Examination order and parameter are input in debugging routine, are directly debugged to EMMC, and then are being fast implemented when product malfunctions point Analysis mistake and Wrong localization, improve debugging efficiency, to effectively shorten the R&D cycle.
Description of the drawings
Fig. 1 is a kind of flow chart of EMMC adjustment methods in the embodiment of the present invention one;
Fig. 2 is the structural schematic diagram of EMMC in the embodiment of the present invention two a kind of.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of EMMC adjustment methods in the embodiment of the present invention one, and the present embodiment is applicable to pair The debugging process of EMMC, this method can be executed by the firmware of EMMC, which may be used the mode of software and/or hardware It realizes.
The method of the embodiment of the present invention one specifically includes:
S110, the firmware receive debug command and parameter from EMMC serial ports.
The firmware is set in EMMC, and firmware includes debugging routine.EMMC serial ports is the peripheral hardware serial ports of EMMC, can be with The debugging result exported for the debug command and EMMC that receive tester's input.
EMMC serial ports may further be used to other signals of output except debug command.But before adjustment method operation, institute Stating firmware program can identify whether the signal received is debug command, and then carry out subsequent operation.
The parameter includes the parameter arrived involved in debugging operations.The debugging routine is used for according to debug command and parameter Debugging operations are realized in operation.
Debugging routine in S120, the firmware parses the debug command and parameter, according to the debug command and ginseng Number executes, and implementing result is exported by the serial ports.
The debugging operations are simple and efficient, and load or update debugging routine need to only update firmware.And debugging process More intuitive, technical staff sees debugging result, you can learns where out of joint, or substantially orientation problem, then passes through Provide further debug command, you can further orientation problem.
The embodiment of the present invention in the firmware in EMMC by being added to debugging routine, the survey for alloing firmware that will receive Examination order and parameter are input in debugging routine, are directly debugged to EMMC.And then it is being fast implemented when product malfunctions point Analysis mistake and Wrong localization, improve debugging efficiency, to effectively shorten the R&D cycle.
Embodiment two
Fig. 2 is the structural schematic diagram of EMMC in the embodiment of the present invention two a kind of.As shown in Fig. 2, EMMC includes firmware 210 With EMMC serial ports 220.
Wherein, EMMC includes firmware 210, and the firmware 210 includes debugging routine, and EMMC serial ports is come from for parsing 220 debug command and parameter are executed according to the debug command and parameter, and implementing result is defeated by the serial ports 220 Go out.
The embodiment of the present invention allows the firmware that will receive by being added to debugging routine in the firmware in EMMC Test command and parameter be input in debugging routine, directly the EMMC is debugged.And then fast when product malfunctions Speed realizes analysis mistake and Wrong localization, improves debugging efficiency, to effectively shorten the R&D cycle.
The method that the executable any embodiment of the present invention of device provided in an embodiment of the present invention provides, has execution method phase The function module and advantageous effect answered.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (2)

1. a kind of EMMC adjustment methods, EMMC include firmware, which is characterized in that
The firmware includes debugging routine;
The method includes:
The firmware receives debug command and parameter from EMMC serial ports;
Debugging routine in the firmware parses the debug command and parameter, is executed according to the debug command and parameter, and Implementing result is exported by the serial ports.
2. a kind of EMMC, including firmware, which is characterized in that
The firmware includes debugging routine, for parsing debug command and parameter from EMMC serial ports, according to the debugging Order and parameter execute, and implementing result is exported by the serial ports.
CN201611128400.6A 2016-12-09 2016-12-09 EMMC adjustment methods and EMMC Pending CN108615545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611128400.6A CN108615545A (en) 2016-12-09 2016-12-09 EMMC adjustment methods and EMMC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611128400.6A CN108615545A (en) 2016-12-09 2016-12-09 EMMC adjustment methods and EMMC

Publications (1)

Publication Number Publication Date
CN108615545A true CN108615545A (en) 2018-10-02

Family

ID=63643354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611128400.6A Pending CN108615545A (en) 2016-12-09 2016-12-09 EMMC adjustment methods and EMMC

Country Status (1)

Country Link
CN (1) CN108615545A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114446381A (en) * 2022-04-07 2022-05-06 深圳佰维存储科技股份有限公司 eMMC fault analysis method, eMMC fault analysis device, readable storage medium and electronic equipment
CN115422091A (en) * 2022-11-03 2022-12-02 合肥康芯威存储技术有限公司 Firmware debugging method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615144A (en) * 2008-06-27 2009-12-30 东友科技股份有限公司 But the to-be-detected machine of reloading detecting program, equipment sensing system and detection method
CN101930395A (en) * 2009-06-18 2010-12-29 炬才微电子(深圳)有限公司 Cross debugging system, method and debugger
CN102402480A (en) * 2011-10-12 2012-04-04 吴华中 Circuit board firmware command line debugging (testing) tool
CN203102264U (en) * 2012-08-28 2013-07-31 杭州华澜微科技有限公司 Solid state storage module
CN104050080A (en) * 2014-06-09 2014-09-17 汉柏科技有限公司 Method and system for debugging linux kernel in user mode
CN104391755A (en) * 2014-10-21 2015-03-04 北京星网锐捷网络技术有限公司 Abnormity handling method and device for embedded multimedia card (eMMC) chip
CN104461815A (en) * 2014-12-11 2015-03-25 深圳芯邦科技股份有限公司 Chip debugging method and system-on-chip
US20150143027A1 (en) * 2013-11-20 2015-05-21 Sage Microelectronics Corp. Solid state drive with raid functions
CN105808292A (en) * 2016-03-07 2016-07-27 西安诺瓦电子科技有限公司 Firmware upgrade method of embedded terminal device
CN105893072A (en) * 2015-12-01 2016-08-24 乐视致新电子科技(天津)有限公司 Chip firmware upgrading method and apparatus
CN106020875A (en) * 2016-05-16 2016-10-12 北京奇虎科技有限公司 Firmware updating management method and device of embedded terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615144A (en) * 2008-06-27 2009-12-30 东友科技股份有限公司 But the to-be-detected machine of reloading detecting program, equipment sensing system and detection method
CN101930395A (en) * 2009-06-18 2010-12-29 炬才微电子(深圳)有限公司 Cross debugging system, method and debugger
CN102402480A (en) * 2011-10-12 2012-04-04 吴华中 Circuit board firmware command line debugging (testing) tool
CN203102264U (en) * 2012-08-28 2013-07-31 杭州华澜微科技有限公司 Solid state storage module
US20150143027A1 (en) * 2013-11-20 2015-05-21 Sage Microelectronics Corp. Solid state drive with raid functions
CN104050080A (en) * 2014-06-09 2014-09-17 汉柏科技有限公司 Method and system for debugging linux kernel in user mode
CN104391755A (en) * 2014-10-21 2015-03-04 北京星网锐捷网络技术有限公司 Abnormity handling method and device for embedded multimedia card (eMMC) chip
CN104461815A (en) * 2014-12-11 2015-03-25 深圳芯邦科技股份有限公司 Chip debugging method and system-on-chip
CN105893072A (en) * 2015-12-01 2016-08-24 乐视致新电子科技(天津)有限公司 Chip firmware upgrading method and apparatus
CN105808292A (en) * 2016-03-07 2016-07-27 西安诺瓦电子科技有限公司 Firmware upgrade method of embedded terminal device
CN106020875A (en) * 2016-05-16 2016-10-12 北京奇虎科技有限公司 Firmware updating management method and device of embedded terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114446381A (en) * 2022-04-07 2022-05-06 深圳佰维存储科技股份有限公司 eMMC fault analysis method, eMMC fault analysis device, readable storage medium and electronic equipment
CN114446381B (en) * 2022-04-07 2022-07-15 深圳佰维存储科技股份有限公司 eMMC fault analysis method, device, readable storage medium and electronic equipment
CN115422091A (en) * 2022-11-03 2022-12-02 合肥康芯威存储技术有限公司 Firmware debugging method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9852038B2 (en) Debugging system and debugging method of multi-core processor
US20140095931A1 (en) Method and system for automating the process of testing a device
CN105589805B (en) Method and device for generating code coverage rate report
CN104899046B (en) A kind of multi-functional script operation method and system
CN104050080B (en) User space debugs the method and system of linux kernel
CN105528284B (en) A kind of kernel fault filling method and electronic equipment
US20090157356A1 (en) Hardware test and diagnosis system and method
WO2007060094A3 (en) Software application interfacing testing
US9989591B2 (en) API-based pattern-controlled test on an ATE
US10078510B1 (en) Late-stage software feature reduction tool for security and performance
CN105302750A (en) Interface function configuration method and electronic equipment
CN102662717A (en) Bootstrap starting method of embedded system
CN103246578A (en) Method and browser for processing collapse of application software
US11514225B2 (en) Verification platform for system on chip and verification method thereof
TWI684916B (en) Function selection method and server
CN104239211B (en) A kind of mobile terminal rapidly enters the method and its device of test pattern
CN108615545A (en) EMMC adjustment methods and EMMC
CN105740139A (en) Virtual environment based embedded software debugging method
CN104915228B (en) Application program language setting method and device
CN107967207A (en) The test method and device of user interface interaction function
US9043584B2 (en) Generating hardware events via the instruction stream for microprocessor verification
CN107704376B (en) Game automation testing method and system
CN103278763B (en) The FT test board system of chip and method of testing
CN105511997A (en) Tool for testing of USB 3.0 interfaces
US10628288B2 (en) Debugger that correlates differing values to system environments in a distributed system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200827

Address after: 100083 Beijing City, Haidian District Xueyuan Road No. 30, large industrial building A block 12 layer

Applicant after: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc.

Address before: 202, room 52, building 2, 100176 North View Garden, Daxing District economic and Technological Development Zone, Beijing

Applicant before: BEIJING JINGCUN TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181002