An sd switch box embedded within a cellular handset, including circuitry for switching access to NAND storage that is embedded within the cellular handset, between a consumer electronic device that is external to and connected to the cellular handset, and between a base band modem that is embedded within the cellular handset, so as to enable shared use of the NAND memory by the consumer electronic device and by the base band modem, thereby enabling the cellular handset to be operational for cellular communication via its internal base band modem while its internal NAND memory is accessible to the external consumer electronics device.
|
1. A secure digital (sd) switch box embedded within a cellular handset, comprising:
circuitry for switching access to NAND memory that is embedded within the cellular handset, between a consumer electronic device that is external to and connected to the cellular handset and that operates as a host device for the cellular handset, and between a base band modem that is embedded within the cellular handset, so as to enable shared use of the NAND memory by the consumer electronic device and by the base band modem;
two separate sd ports, comprising:
a first sd port for communication between the sd switch box and the base band modem; and
a second sd port for communication between the sd switch box and the consumer electronic device,
wherein said circuitry receives an access grant message from the consumer electronic device via said second sd port and, in response thereto, sets a busy state on said second sd port in order to enable the base band modem to access the NAND memory, and
wherein said circuitry receives a free message via said first sd port from the base band modem when the base band modem has completed its access to the NAND memory, and, in response thereto, releases the busy state from said second sd port.
2. The sd switch box of
3. The sd switch box of
4. The sd switch box of
5. The sd switch box of
a first mailbox into which the base modem writes the free message; and
a second mailbox into which the consumer electronic device writes the access grant message.
6. The sd switch box of
8. The sd switch box of
9. The sd switch box of
10. The sd switch box of
a first mailbox into which the base band modem writes the free message; and
a second mailbox into which the consumer electronic device writes the grant access message.
11. The sd switch box of
|
This application is a continuation of U.S. application Ser. No. 13/170,169, entitled SD SWITCH BOX IN A CELLLAR HANDSET, filed on Jun. 27, 2011 now U.S. Pat. No. 8,327,124 by inventors Itay Sherman, Eyal Bychkov and Yaron Segalov, which is a divisional of U.S. application Ser. No. 11/827,525, now U.S. Pat. No. 7,970,433, entitled SD SWITCH BOX IN A CELLULAR HANDSET, filed on Jul. 11, 2007 by inventors Itay Sherman, Eyal Bychkov and Yaron Segalov, which claims benefit of U.S. Provisional Application No. 60/933,792, entitled SD SWITCH BOX IN A CELLULAR HANDSET, filed on Jun. 8, 2007 by inventors Itay Sherman, Eyal Bychkov and Yaron Segalov.
The field of the present invention is cellular modems.
Today's conventional cellular handset includes a cellular base band modem. The base band modem does not have built-in non-volatile memory, and has limited internal volatile memory (SRAM). For use of non-volatile memory, a cellular modem may be connected to a NOR flash memory, and also to additional external SDRAM.
When booting up, a cellular modem generally accesses the NOR flash memory to execute a code image that is stored therein. The cellular modem may access such code image directly, or by first copying it to its internal SRAM.
Many cellular modems also support a peripheral boot mode, through which they load a secondary code image from an external port, such as a UART port or a USB port, which is connected to an external device, such as a PC computer, which loads the secondary code image via a peripheral interface. The secondary code image is then used to re-program the NOR flash memory with new image code. Peripheral boot mode is typically used for program development and debugging via a PC.
High end cellular handsets also have NAND flash memory coupled thereto. In such case, the NAND flash memory is used for code and data storage. The NAND flash memory is connected via a dedicated NAND controller embedded in the cellular base band modem, or via an SD bus to an external SD controller that is connected to the NAND flash. For cellular handsets that have NAND flash memory, access to the NAND flash is performed via the cellular base band modem.
Cellular handsets may support connection to an external device host, such as a PC computer. In such case, the handset provides the host access to its internal NAND flash memory. Host access to NAND flash memory is generally performed over a USB connection, where the internal NAND memory is mapped as a mass storage drive on the host. The handset thus operates as a USB device, which is a slave, and the host operates as a USB host, which is a master.
Reference is now made to
Many consumer electronic (CE) devices, such as MP3 song players and MP4 movie players, support connection to non-volatile storage elements, the most common storage element being SD memory and its variants including inter alia Mini SD and Micro SD. The CE device operates as a host, which is a master, and the SD memory operates as a slave.
It would thus be desirable to be able to connect CE devices that support SD connections with cellular modems, in order to enhance the CE devices with modem functionality. However, many challenges have to be overcome in doing so. Some of these challenges are:
Aspects of the present invention concern a design for a cellular handset that is connected to a CE host device, and enhances the CE device with modem functionality. The CE host device supports SD connection. Examples of such host devices abound and include inter alia digital cameras, personal data assistants (PDAs), MP3 music players, MP4 movie players, TVs with SD slots, laptop PCs and GPS navigational systems.
In addition to enhancing the CE host with modem functionality, connection of the cellular handset to the CE host also serves to enhance the host with the storage capabilities of the modem.
The special design of the present invention enables a cellular base band modem within the handset to bypass NOR flash memory when booting up, enables communication between the cellular base band modem and the CE host, and enables the cellular base band modem to switch in and out of sleep mode without loss of state parameters and code image.
In accordance with an embodiment of the present invention, a convergence controller is used to couple the CE host device with the handset's cellular base band modem and with the handset's NAND flash memory. The convergence controller serves as an SD switch box, which connects two SD devices, namely, the cellular base band modem and the CE device, and enables switching access to SD storage between the two SD devices.
The convergence controller includes a communication mechanism through which the cellular base band modem and the CE host device communicate with one another. Such communication mechanism includes a first mailbox via which the cellular base band modem sends a message to the CE host, and a second mailbox via which the CE host sends a message to the cellular base band modem.
The two mailboxes are used to resolve conflicts when both the CE host and the cellular base band modem want to access SD memory at the same time. The cellular base band modem sends an access request message to the CE host via the first mailbox, and the CE host responds by sending an access granted message to the cellular base band modem via the second mailbox.
There is thus provided in accordance with an embodiment of the present invention a cellular handset, including a cellular base band modem, including a UART interface, and an SD host interface, a NAND flash memory, a NAND controller coupled with the NAND flash memory, a host device including a host controller, wherein the electronic host device supports an SD connection, and a convergence controller coupled with the cellular base band modem, the host device and the NAND controller, including a UART port for transferring data to and from the cellular base band modem via the UART interface, an SD port for transferring data to and from the cellular base band modem via the SD host interface, an SD port for transferring data to and from the NAND flash memory via the NAND controller, an SD port for transferring data to and from the host device via the host controller, a first mailbox into which the base band modem writes messages and from which the host device reads messages, and a second mailbox into which the host device writes messages and from which the cellular base band modem reads messages.
There is additionally provided in accordance with an embodiment of the present invention a cellular handset, including a cellular base band modem, including a UART interface, and an SD host interface, a NAND flash memory, a host device including a host controller, wherein the electronic host device supports an SD connection, and a convergence controller coupled with the cellular base band modem, the host device and the NAND controller, including a UART port for transferring data to and from the cellular base band modem via the UART interface, an SD port for transferring data to and from the cellular base band modem via the SD host interface, a NAND controller coupled with the NAND flash memory, an SD port for transferring data to and from the host device via the host controller, a first mailbox into which the base band modem writes messages and from which the host device reads messages, and a second mailbox into which the host device writes messages and from which the cellular base band modem reads messages.
There is moreover provided in accordance with an embodiment of the present invention a method for booting a cellular base band modem, including booting a cellular base band modem in a peripheral mode, reading a boot code image from a NAND flash memory, loading the boot code image to internal SRAM of the cellular base band modem, executing the boot code, by the cellular base band modem, loading a full code image from the NAND flash memory to the internal SRAM of the cellular base band modem, and accessing, by the cellular base band mode, the NAND flash memory via an SD port as a standard memory card.
There is further provided in accordance with an embodiment of the present invention a method for communicating between a host device and a cellular base band mode, including requesting, by a cellular base band modem from a host device, access to an SD storage, including writing an access request message to a first mailbox, notifying the host device of the message in the first mailbox, including issuing an interrupt request to the host device, reading, by the host device, the message in the first mailbox, granting, by the host device, the access request, including writing a grant message to a second mailbox, wherein the grant message is the first block of a multi-block write, notifying the cellular base band modem of the message in the second mailbox, including issuing an interrupt request to the cellular modem, reading, by the cellular base band mode, the message in the second mailbox, including recognizing the first block as a grant message, holding an SD host bus in a busy state, thereby forcing the host device to hold and not access the bus, accessing, by the cellular base band modem, the SD storage, and upon completion of the accessing, removing the busy state from the SD host bus.
There is yet further provided in accordance with an embodiment of the present invention a method for a cellular base band modem to transition in and out of a sleep mode, including when a cellular base band modem is idle for a long period of time: backing up state parameters in an internal SRAM, setting a secondary boot code as the code to be executed upon resumption of power, setting a timer for resumption of power, halting internal CPU operation, and disconnecting power to an external SDRAM, and when the timer has expired: reconnecting power to the external SDRAM, loading the secondary boot code, and loading a full code image to the external SDRAM.
The present invention will be more fully understood and appreciated from the following detailed description, taken in conjunction with the drawings in which:
Aspects of the present invention relate to cellular handsets that are coupled with consumer electronic (CE) host devices, with the host devices operating as master and the cellular handsets operating as slave. The cellular handsets enhance and augment the CE host devices by providing the hosts with modem functionality. In this regard, reference is now made to
Convergence Controller
A convergence controller is used to couple the CE host device with a cellular handset modem. When the host device and the cellular modem are coupled, they share use of cellular handset NAND flash memory. The convergence controller serves as an SD switch box, which connects two SD devices, namely, the cellular modem and the CE device, and enables switching access to SD storage between the two SD devices.
Reference is now made to
Convergence controller 320 is connected to base band modem 310 via both a UART port 322 and a base band SD host port 323. Correspondingly, base band modem 310 includes a UART interface 312 and an SD interface 314, respectively.
Convergence controller 320 is connected to an SD NAND controller 330 via an SD port 324. During normal operation, base band modem 310 accesses NAND flash memory 340 via SD port 324.
Convergence controller 320 also includes an external SD port 325 for connecting to a consumer electronic (CE) host 350 that supports SD connections. Handset 300 may plug in to CE host 350 or connect to CE host 350 via cable. When handset 300 and CE host 350 are connected, CE host 350 accesses NAND flash memory 340 via convergence controller 320. It is noted that access to NAND flash memory 340 is not required to pass through base band modem 310. As such, base band modem 310 may be in sleep mode or shutdown mode during operations between CE host 350 and NAND flash memory 340.
For memory storage, handset 300 includes an internal SRAM memory 316, and an external memory interface (EMIF) 318 connected to an SDRAM memory 360.
Booting Base Band Modem 310
Reference is now made to
At step 420 convergence controller 320 reads a secondary boot code image from NAND flash 340, via NAND controller 330. At step 430 convergence controller 320 loads the secondary boot code image via its UART port 322 to base band modem 310.
At step 440 a boot loader of base band modem 310 loads the secondary boot code to internal SRAM 316, and begins executing the secondary boot code. At step 450 the executing code loads the full code image from NAND flash 340 via convergence controller's SD port 324, to internal SRAM 316 or to external SDRAM 360, or to both. At step 460, during operation, base band modem 310 accesses NAND flash 340 via convergence controller's SD port 324, as a standard SD memory card.
Communication Between Base Band Modem 310 and CE Host 350
In accordance with an embodiment of the present invention, base band modem 310 communicates with CE host 350 via a controller 355, using mailboxes implemented in convergence controller 320. Specifically, convergence controller includes two mailboxes, a mailbox 327 that is written to by base band modem 310 and read from by CE host 350, and a mailbox 328 that is written to by CE host 350 and read from by base band modem 310. Convergence controller 320 initiates an interrupt to CE controller 355 when base band modem 310 completes a write operation to mailbox 327. Such interrupt may be implemented as an SDIO interrupt on an SD bus, or as a dedicated signal. Similarly, CE controller 355 initiates an interrupt to base band modem 310 when CE host 350 completes a write operation to mailbox 328.
It will thus be appreciated by those skilled in the art that mailboxes 327 and 328 may be used for direct transfer of data between base band modem 310 and CE host 350. In one embodiment of the present invention, each mailbox 327 and 328 includes 512 bytes, of which the first two bytes are header bytes that store a message type, and the remaining bytes store the message itself.
Mailboxes 327 and 328 may be mapped to an SDIO register map on the base band modem side and on the CE host side. Alternatively, mailboxes 327 and 328 may be mapped to SD memory space. In such case an arbitration algorithm is used to resolve conflicts when both CE host 350 and base band modem 310 try to access SD storage at the same time.
Reference is now made to
At step 540 CE host 350 grants the storage access request by writing an access granted message to mailbox 328. The write operation at step 540 is performed as a multiple block write operation. Multi-block writes are described in the SD specification, Part I: Physical Layer, Simplified Specification Version 2.00, Sep. 25, 2006. In this regard, reference is made to
At step 540, the first block of the mufti-block write includes the grant of access message, and the rest of the blocks are dummy blocks that are filled with zeros. At step 550 convergence controller 320 recognizes the first block of the message as a grant of access, and holds a busy state on the SD host bus before reading the second block, thereby forcing CE controller 355 to hold and not access the SD bus.
At step 560 base band modem 310 is notified that its access request was granted, via a dedicated interrupt line, by reading mailbox 328. Base band modem 310 can then proceed to access SD storage 340. At step 570 base band modem 310 performs its operations on SD storage 340. At step 580, upon completion of using SD storage 340, base band modem 310 writes a free message to convergence controller 320. Finally, at step 590 convergence controller 320 removes the busy state from the SD host bus.
Generally there is a timeout of 250 msec for a busy period. As such, convergence controller 320 ensures that access to SD storage 340 is shorter than this time.
Reference is now made to
Logical arbitration involves a protocol for switching access to SD storage 340 between base band modem 310 and CE host 350, which share SD storage 340. As described hereinabove with respect to
Communication between CE host 350 and convergence controller 320, and between cellular base band modem 310 and convergence controller 320, occurs via command signals, data signals and interrupt signals. Data blocks are followed by CRC error checking codes.
As shown in
Reference is now made to
Sleep Mode For Base Band Modem 310
Base band modem 310 may be idle for a long period of time if no call or data exchange is underway and there is time to wait until a next signaling session with a cellular network. In such case, base band modem 310 may drop to a sleep mode. Moreover, in order to conserve power consumption in sleep mode, base band modem 310 may shut off SDRAM power, which results in losing the code image on SDRAM 360. In order to enable proper operation, base band modem 310 maintains state parameters in internal SRAM 316. Alternatively, or in addition, base band modem backs up state parameters in internal SRAM 316 prior to going to sleep.
In this regard, reference is now made to
Reference is now made to
In reading the above description, persons skilled in the art will realize that there are many apparent variations that can be applied to the methods and systems described. In particular, components of
When SD NAND controller 1030 is integrated within convergence controller 320, convergence controller 320 can directly access NAND flash 340. As such, at step 420 of
In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made to the specific exemplary embodiments without departing from the broader spirit and scope of the invention as set forth in the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.
Bychkov, Eyal, Sherman, Itay, Segalov, Yaron
Patent | Priority | Assignee | Title |
10027789, | Feb 13 2007 | GOOGLE LLC | Modular wireless communicator |
9510128, | Jun 24 2008 | GOOGLE LLC | Mobile phone locator |
9516151, | Feb 13 2007 | GOOGLE LLC | Modular wireless communicator |
9680972, | Jun 08 2007 | GOOGLE LLC | SD switch box in a cellular handset |
Patent | Priority | Assignee | Title |
5625673, | Sep 22 1994 | THE CHASE MANHATTAN BANK, AS COLLATERAL AGENT | Modular communication apparatus |
5628055, | Mar 04 1993 | Telefonaktiebolaget L M Ericsson publ | Modular radio communications system |
5809115, | Jan 03 1996 | Nokia Technologies Oy | Terminal to be coupled to a telecommunications network using radio communication |
5890016, | May 07 1996 | Intel Corporation | Hybrid computer add in device for selectively coupling to personal computer or solely to another add in device for proper functioning |
5893037, | Dec 09 1994 | Apple Inc | Combined electronic/silver-halide image capture system with cellular transmission capability |
5907815, | Dec 07 1995 | Texas Instruments Incorporated | Portable computer stored removable mobile telephone |
5913227, | Mar 24 1997 | EMC IP HOLDING COMPANY LLC | Agent-implemented locking mechanism |
5928367, | Jan 06 1995 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Mirrored memory dual controller disk storage system |
6188917, | Sep 16 1998 | CONVERSANT WIRELESS LICENSING S A R L | Portable telecommunications assembly having user hand-hold, and associated method |
6201867, | May 14 1997 | Portable telephone having a removable covering | |
6209011, | May 08 1997 | Microsoft Technology Licensing, LLC | Handheld computing device with external notification system |
6243578, | Jun 24 1997 | Transmitting/receiving unit for use with a mobile communication device | |
6477357, | Mar 24 2000 | Qwest Communications International Inc | Customizable wireless device having stackable modules |
6516202, | Aug 12 1999 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Mobile computer system designed for wireless communication expansion |
6640113, | Sep 08 2000 | Mobigence, Inc.; PACIFIC MOBILE INTELLIGENCE, INC | Touch sensitive display integrated with a handheld radiotelephone |
6665802, | Feb 29 2000 | MEDIATEK INC | Power management and control for a microcontroller |
6690947, | Mar 25 1999 | WIVITY INC | Methods and apparatus for a flexible wireless communication and cellular telephone system |
6888202, | Mar 27 2002 | Regents of the University of California, The | Low-power high-performance storage circuitry |
6898283, | May 05 2000 | WSOU Investments, LLC | Exchangable housing cover for a portable radio communication device |
6907264, | Aug 09 2000 | Lucent Technologies Inc. | Methods and apparatus for modularization of real time and task oriented features in wireless communications |
6999792, | Sep 20 2001 | EXOTABLET LTD | Input-output device with universal phone port |
7085542, | May 30 2002 | Google Technology Holdings LLC | Portable device including a replaceable cover |
7194285, | Mar 25 1999 | WIVITY INC | Methods and apparatus for a multi-standard wireless communication and cellular telephone system |
7266391, | Sep 19 2002 | WARREN, PETER DAVID, MR | Expanded display and input-output device for mobile wireless telephone |
7383362, | Dec 02 2003 | Super Talent Electronics, Inc | Single-chip multi-media card/secure digital (MMC/SD) controller reading power-on boot code from integrated flash memory for user storage |
7395313, | Jul 03 2000 | RPX Corporation | Method and system for controlling multiple remote mailboxes simultaneously connected to a plurality of PDP connections of a GPRS system |
7450461, | Oct 07 2005 | Panasonic Corporation | Semiconductor memory device and transmission/reception system provided with the same |
7555264, | Jun 12 2003 | SOCIONEXT INC | Bluetooth master selecting method, bluetooth master selecting program and bluetooth apparatus |
7596666, | Dec 22 2005 | Samsung Electronics Co., Ltd. | Multi-path accessible semiconductor memory device having port state signaling function |
7739738, | Mar 15 2006 | CA, INC | Enabling clean file cache persistence using dual-boot detection |
7746409, | Dec 05 2003 | SANYO ELECTRIC CO , LTD | Mobile telephone device |
7774027, | Sep 28 2006 | SanDisk Technologies, Inc | Flash drive that configures generic bluetooth controller of the drive to be compatible with multiple bluetooth peripheral devices |
7813697, | Jan 05 2007 | Apple Inc. | Power efficient high speed communication systems and methods |
7814304, | Mar 14 2007 | Apple Inc. | Switching drivers between processors |
7827337, | May 23 2005 | MILA CO , LTD | Sharing memory interface |
7873385, | Apr 05 2006 | Qualcomm Incorporated | Antenna sharing techniques |
7890947, | Oct 13 2000 | Sony Corporation; Sony Electronics INC | System, method and apparatus for embedded firmware code update |
7970433, | Jun 08 2007 | GOOGLE LLC | SD switch box in a cellular handset |
7971046, | Jan 14 2005 | TELEFONAKTIEBOLAGET LM ERICSSON PUBL | Method and device for initializing a booting procedure of a mobile device |
8069282, | Jun 08 2007 | GOOGLE LLC | SD switch box in a cellular handset |
8356062, | Jul 09 1999 | Renesas Electronics Corporation | Memory system for portable telephone |
20020090980, | |||
20020151327, | |||
20030084287, | |||
20040233930, | |||
20040236997, | |||
20040268005, | |||
20050070225, | |||
20050159184, | |||
20050228980, | |||
20060003804, | |||
20060035663, | |||
20060105722, | |||
20060241353, | |||
20070004450, | |||
20070018957, | |||
20070079030, | |||
20070145152, | |||
20070161404, | |||
20070168652, | |||
20070233955, | |||
20070282471, | |||
20070288583, | |||
20080008142, | |||
20080009325, | |||
20080026794, | |||
20080040354, | |||
20080140886, | |||
20080305833, | |||
20100093401, | |||
20100146256, | |||
20110014951, | |||
EP1871075, | |||
WO59247, | |||
WO186922, | |||
WO3103174, | |||
WO2006126777, | |||
WO9421058, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 02 2007 | SHERMAN, ITAY | INFONE TECH, LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 041801 | /0510 | |
Sep 02 2007 | BYCHKOV, EYAL | INFONE TECH, LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 041801 | /0510 | |
Sep 02 2007 | SEGALOV, YARON | INFONE TECH, LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 041801 | /0510 | |
Dec 09 2007 | INFONE TECH LTD | Modu Ltd | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 041801 | /0611 | |
Feb 07 2012 | Modu Ltd | Google Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 041801 | /0741 | |
Sep 13 2012 | Google Inc. | (assignment on the face of the patent) | / | |||
Sep 29 2017 | Google Inc | GOOGLE LLC | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 044129 | /0001 |
Date | Maintenance Fee Events |
Mar 30 2018 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 30 2022 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Sep 30 2017 | 4 years fee payment window open |
Mar 30 2018 | 6 months grace period start (w surcharge) |
Sep 30 2018 | patent expiry (for year 4) |
Sep 30 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 30 2021 | 8 years fee payment window open |
Mar 30 2022 | 6 months grace period start (w surcharge) |
Sep 30 2022 | patent expiry (for year 8) |
Sep 30 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 30 2025 | 12 years fee payment window open |
Mar 30 2026 | 6 months grace period start (w surcharge) |
Sep 30 2026 | patent expiry (for year 12) |
Sep 30 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |