https://elinux.org/api.php?action=feedcontributions&user=Joe+bleau&feedformat=atomeLinux.org - User contributions [en]2024-03-29T06:38:26ZUser contributionsMediaWiki 1.31.0https://elinux.org/index.php?title=Peek&diff=13098Peek2009-08-07T14:19:42Z<p>Joe bleau: Adding Spansion datasheet link (flash section of MCP)</p>
<hr />
<div>[[image:peek.jpg]]<br />
<br />
== The Device ==<br />
<br />
=== In The News ===<br />
* [http://www.getpeek.com/index2.html Company Website]<br />
* [http://www.linuxfordevices.com/c/a/News/Peek-Pronto/ Linux Devices]<br />
* [http://www.geekypeek.com/?p=344 Geeky Peek Linux Challenge]<br />
* [http://www.amazon.com/Peek-Mobile-E-mail-Device-Gray/dp/B001FC0BWE/ref=sr_1_1?ie=UTF8&s=electronics&qid=1247192879&sr=1-1 Amazon.com]<br />
* Peek teardown photos [http://www.flickr.com/photos/8728129@N05/sets/72157607274454694/ Maushammer on Flickr]<br />
* Discussion on irc.freenode.net channel #edev<br />
<br />
=== Basic Specifications ===<br />
* 320x240 TFT LCD with backlight<br />
* 47 Key QWERTY keyboard<br />
* 360 degree jogwheel with button <br />
* Vibrator Motor <br />
* Small Speaker<br />
* Side Push Button <br />
* Top Power Button <br />
* Standard SIM Socket<br />
* Micro-B USB Charging Socket ( USB connectivity is '''not''' supported, this is really just a TTL Serial port and a charging socket.)<br />
* Internal Coin Backup Battery<br />
* E-Mail Notification LED<br />
* Battery Door Contacts Switch<br />
<br />
=== Discussions about the Current OS ===<br />
* It's a lightweight, purpose-built OS called PeekUX. [http://www.geekypeek.com/?p=13]<br />
** Starts with TI's very own version of the real-time OS called Nucleus ( by [http://www.mentor.com/products/embedded_software/nucleus_rtos/ Mentor] ) <br />
** TI has compiled in device drivers, and other stacks and turned it into their own platform.<br />
** Peek SW developers then took what TI gave them and wrap it with their own proprietary GUI and network libraries to create Peekux.<br />
** The email application then runs on top of that.<br />
** The whole thing is built as a single image. Thus the distinction between OS and App is blurred.<br />
* "Hacking maybe difficult" article at Peek Forums. [http://www.peekforums.com/viewtopic.php?f=25&t=38]<br />
=== Wireless Network and FCC stuff ===<br />
* Uses [http://www.t-mobile.com/coverage/pcc.aspx T-Mobile's] nationwide GSM network.<br />
* Also can use AT&T's GSM network as a secondary network.<br />
* [http://www.fcc.gov/oet/ea/fccid/ FCC ID] is listed as: V6LPEEK0001<br />
<br />
=== Mail Handling ===<br />
* Currently, the very large computing resources at [http://aws.amazon.com/what-is-aws/ Amazon AWS] (Seattle, WA) is being used to handle the mail polling and forwarding for the Peek users. The mail handler was worked out at Peek HQ and then unleashed at AWS. AWS's "EC2 Service" is immensely flexible and allows Peek to keep up with the growing user base.<br />
<br />
=== Chip List ===<br />
<br />
* [http://www.spansion.com Spansion] 71NS128NB0BJWRN 32Mb Psram + 128Mb NOR Flash [http://spansion.com/Products/Support/Datasheets/s71ns-n_00_a9_e.pdf datasheet] [http://spansion.com/Products/Support/Datasheets/s29ns-n_00_a13_e.pdf Additional flash info]<br />
* [http://www.ti.com TI] D6591BQA - [http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12658&contentId=15407 TCS2310]<br />
* [http://www.ti.com TI] T3031FZH - TWL3031 power management and IO control<br />
* [http://www.rfmd.com RFMD] RF7115 Quad Band GSM850/GSM900/DCS/PCS TRANSMIT MODULE [http://www.rfmd.com/pdfs/7115DS.pdf datasheet]<br />
* [http://www.st.com ST] STMPE2401 - Port expander with Keypad and PWM controller [http://www.st.com/stonline/products/literature/ds/13018/stmpe2401.pdf Datasheet]<br />
* 26.00 MHz XTAL for the TCS2310<br />
* 32.768 kHz XTAL for the TWL3031<br />
<br />
=== Battery ===<br />
<br />
* Model: PK-BAT-001<br />
* Voltage: 3.7V<br />
* Capacity: 700mAh<br />
* Maximum Charge Voltage:4.2V<br />
* Standard: GB/T18287-2000<br />
<br />
=== Tools and Accessories ===<br />
* [http://boutique.getpeek.com/upgrade-cable-for-your-peek.html Upgrade Cable] for upgrade/hacking<br />
* [http://boutique.getpeek.com/extra-battery-for-peek.html Replacement Battery]<br />
* [http://www.gsm-support.net/mini-usb----micro-usb-converter-p1298.en.html Micro to Mini USB Adapter] (does not convert the UART to USB)<br />
* [[Flyswatter|Flyswatter USB JTAG Debugger]] for upgrade/hacking<br />
* [[Openocd-Redux|OpenOCD JTAG Debugger Software]]<br />
* [http://www.sparkfun.com/commerce/product_info.php?products_id=718 UART TTL to USB Adapter] for upgrade/hacking<br />
<br />
=== External MicroUSB Charge/Upgrade port ===<br />
This is the MicroUSB port that is exposed on the left side of the peek.<br><br />
It's used for both charging and upgrading the Peek. The upgrade cable uses<br><br />
a serial TTL to USB level shifter to convert the serial TTL into a USB com port.<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| +5V(USB Standard)<br />
|-<br />
| 2 <br />
| TXD +1.8V TTL<br />
|-<br />
| 3 <br />
| RXD +1.8V TTL<br />
|-<br />
| 4 <br />
| N/C<br />
|-<br />
| 5 <br />
| GND<br />
|-<br />
| Shield<br />
| Drain wire<br />
|}<br />
<br />
=== Programming Header ===<br />
This is on the inside of the Peek under the SIM (this is also covered by the warranty sticker).<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| Ground<br />
|-<br />
| 2 <br />
| nPowerButton (active low)<br />
|-<br />
| 3 <br />
| UART_RX +1.8V TTL (input to Peek)<br />
|-<br />
| 4 <br />
| USB_PWR +5V<br />
|-<br />
| 5 <br />
| UART_TX +1.8V TTL (output from Peek)<br />
|-<br />
| 6 <br />
| Bat+ 4.2V<br />
|}<br />
[[image:peek-header.jpg]]<br><br />
Picture from [http://www.flickr.com/photos/8728129@N05/2861989140/in/set-72157607274454694/ Maushammer on Flickr]<br />
<br />
== uClinux ==<br />
<br />
=== Bootloader ===<br />
<br />
* a bootloader will be needed to facilitate booting uClinux<br />
* need low level access to flash either via uart or jtag<br />
* [[U-Boot]] could be used, but is pretty large<br />
* [[APEX]] is small, configurable, and easily adapted for ARM7TDMI<br />
<br />
=== Kernel ===<br />
<br />
* mainline kernel has the [http://opensrc.sec.samsung.com/ basic support for ARM7TDMI] core<br />
* need basic support for the TCS2310<br />
<br />
=== Root Filesystem ===<br />
<br />
* use [http://buildroot.busybox.net/ Buildroot] for initial testing<br />
* use [http://www.uclibc.org/ uClibc] as core C library<br />
* use [[BusyBox]] as basic utilities for testing<br />
<br />
=== Tools ===<br />
<br />
* use CSST ( Cellular Systems Software Tools ) from TI for loading Flash with bootloader etc. This is the [http://focus.ti.com/download/wtbu/csst_sdp2430_releasenotes_v1_2.pdf Release Notes] for the CSST included in SDP2430 (OMAP2430). There is a CSST for the TI LoCosto chips included with the [http://drop.io/PeekFiles Peek Upgrader] software from Peek. More detailed info on CSST can be found [http://wiki.davincidsp.com/index.php/CSST here.] <br />
<br />
The Peek update program calls a command line CSST app to actually load the new firmware to flash. In my case, the command line was "D:\apps\Peek\CSST\csstcli.exe -t 1 -op download -i D:\apps\Peek\software\Rel_01_09_10.m0 -dt NOR -p COM5". This command can be executed from a command prompt. You will be prompted to reset the Peek (remove and replace the battery, then hit the power button) and the download will begin!<br />
<br />
== References ==<br />
<br />
=== Other Peek Hacking Sites ===<br />
<br />
* [http://www.peeklinux.com/ PeekLinux.com]<br />
<br />
=== Similar board bringups ===<br />
<br />
* [https://agora.cs.illinois.edu/display/SRG/OMAP2420+Software+Development+Platform+Bringup OMAP2420 with U-Boot]<br />
<br />
=== TI documents ===<br />
<br />
* [http://focus.ti.com/pdfs/wtbu/ti_wireless_solutions_guide.pdf TI Wireless Solutions Guide]. the TCS2310 appears on Page 17.<br />
<br />
=== Watch a Peek being assembled ===<br />
<br />
* Watch Gabe Fabius and Dan Morel of PEEK, Inc. discuss the inner guts of the Peek [http://www.geekypeek.com/?p=167 device.]</div>Joe bleauhttps://elinux.org/index.php?title=Peek&diff=13097Peek2009-08-07T13:53:41Z<p>Joe bleau: Fixed Spansion datasheet link</p>
<hr />
<div>[[image:peek.jpg]]<br />
<br />
== The Device ==<br />
<br />
=== In The News ===<br />
* [http://www.getpeek.com/index2.html Company Website]<br />
* [http://www.linuxfordevices.com/c/a/News/Peek-Pronto/ Linux Devices]<br />
* [http://www.geekypeek.com/?p=344 Geeky Peek Linux Challenge]<br />
* [http://www.amazon.com/Peek-Mobile-E-mail-Device-Gray/dp/B001FC0BWE/ref=sr_1_1?ie=UTF8&s=electronics&qid=1247192879&sr=1-1 Amazon.com]<br />
* Peek teardown photos [http://www.flickr.com/photos/8728129@N05/sets/72157607274454694/ Maushammer on Flickr]<br />
* Discussion on irc.freenode.net channel #edev<br />
<br />
=== Basic Specifications ===<br />
* 320x240 TFT LCD with backlight<br />
* 47 Key QWERTY keyboard<br />
* 360 degree jogwheel with button <br />
* Vibrator Motor <br />
* Small Speaker<br />
* Side Push Button <br />
* Top Power Button <br />
* Standard SIM Socket<br />
* Micro-B USB Charging Socket ( USB connectivity is '''not''' supported, this is really just a TTL Serial port and a charging socket.)<br />
* Internal Coin Backup Battery<br />
* E-Mail Notification LED<br />
* Battery Door Contacts Switch<br />
<br />
=== Discussions about the Current OS ===<br />
* It's a lightweight, purpose-built OS called PeekUX. [http://www.geekypeek.com/?p=13]<br />
** Starts with TI's very own version of the real-time OS called Nucleus ( by [http://www.mentor.com/products/embedded_software/nucleus_rtos/ Mentor] ) <br />
** TI has compiled in device drivers, and other stacks and turned it into their own platform.<br />
** Peek SW developers then took what TI gave them and wrap it with their own proprietary GUI and network libraries to create Peekux.<br />
** The email application then runs on top of that.<br />
** The whole thing is built as a single image. Thus the distinction between OS and App is blurred.<br />
* "Hacking maybe difficult" article at Peek Forums. [http://www.peekforums.com/viewtopic.php?f=25&t=38]<br />
=== Wireless Network and FCC stuff ===<br />
* Uses [http://www.t-mobile.com/coverage/pcc.aspx T-Mobile's] nationwide GSM network.<br />
* Also can use AT&T's GSM network as a secondary network.<br />
* [http://www.fcc.gov/oet/ea/fccid/ FCC ID] is listed as: V6LPEEK0001<br />
<br />
=== Mail Handling ===<br />
* Currently, the very large computing resources at [http://aws.amazon.com/what-is-aws/ Amazon AWS] (Seattle, WA) is being used to handle the mail polling and forwarding for the Peek users. The mail handler was worked out at Peek HQ and then unleashed at AWS. AWS's "EC2 Service" is immensely flexible and allows Peek to keep up with the growing user base.<br />
<br />
=== Chip List ===<br />
<br />
* [http://www.spansion.com Spansion] 71NS128NB0BJWRN 32Mb Psram + 128Mb NOR Flash [http://spansion.com/Products/Support/Datasheets/s71ns-n_00_a9_e.pdf datasheet]<br />
* [http://www.ti.com TI] D6591BQA - [http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12658&contentId=15407 TCS2310]<br />
* [http://www.ti.com TI] T3031FZH - TWL3031 power management and IO control<br />
* [http://www.rfmd.com RFMD] RF7115 Quad Band GSM850/GSM900/DCS/PCS TRANSMIT MODULE [http://www.rfmd.com/pdfs/7115DS.pdf datasheet]<br />
* [http://www.st.com ST] STMPE2401 - Port expander with Keypad and PWM controller [http://www.st.com/stonline/products/literature/ds/13018/stmpe2401.pdf Datasheet]<br />
* 26.00 MHz XTAL for the TCS2310<br />
* 32.768 kHz XTAL for the TWL3031<br />
<br />
=== Battery ===<br />
<br />
* Model: PK-BAT-001<br />
* Voltage: 3.7V<br />
* Capacity: 700mAh<br />
* Maximum Charge Voltage:4.2V<br />
* Standard: GB/T18287-2000<br />
<br />
=== Tools and Accessories ===<br />
* [http://boutique.getpeek.com/upgrade-cable-for-your-peek.html Upgrade Cable] for upgrade/hacking<br />
* [http://boutique.getpeek.com/extra-battery-for-peek.html Replacement Battery]<br />
* [http://www.gsm-support.net/mini-usb----micro-usb-converter-p1298.en.html Micro to Mini USB Adapter] (does not convert the UART to USB)<br />
* [[Flyswatter|Flyswatter USB JTAG Debugger]] for upgrade/hacking<br />
* [[Openocd-Redux|OpenOCD JTAG Debugger Software]]<br />
* [http://www.sparkfun.com/commerce/product_info.php?products_id=718 UART TTL to USB Adapter] for upgrade/hacking<br />
<br />
=== External MicroUSB Charge/Upgrade port ===<br />
This is the MicroUSB port that is exposed on the left side of the peek.<br><br />
It's used for both charging and upgrading the Peek. The upgrade cable uses<br><br />
a serial TTL to USB level shifter to convert the serial TTL into a USB com port.<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| +5V(USB Standard)<br />
|-<br />
| 2 <br />
| TXD +1.8V TTL<br />
|-<br />
| 3 <br />
| RXD +1.8V TTL<br />
|-<br />
| 4 <br />
| N/C<br />
|-<br />
| 5 <br />
| GND<br />
|-<br />
| Shield<br />
| Drain wire<br />
|}<br />
<br />
=== Programming Header ===<br />
This is on the inside of the Peek under the SIM (this is also covered by the warranty sticker).<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| Ground<br />
|-<br />
| 2 <br />
| nPowerButton (active low)<br />
|-<br />
| 3 <br />
| UART_RX +1.8V TTL (input to Peek)<br />
|-<br />
| 4 <br />
| USB_PWR +5V<br />
|-<br />
| 5 <br />
| UART_TX +1.8V TTL (output from Peek)<br />
|-<br />
| 6 <br />
| Bat+ 4.2V<br />
|}<br />
[[image:peek-header.jpg]]<br><br />
Picture from [http://www.flickr.com/photos/8728129@N05/2861989140/in/set-72157607274454694/ Maushammer on Flickr]<br />
<br />
== uClinux ==<br />
<br />
=== Bootloader ===<br />
<br />
* a bootloader will be needed to facilitate booting uClinux<br />
* need low level access to flash either via uart or jtag<br />
* [[U-Boot]] could be used, but is pretty large<br />
* [[APEX]] is small, configurable, and easily adapted for ARM7TDMI<br />
<br />
=== Kernel ===<br />
<br />
* mainline kernel has the [http://opensrc.sec.samsung.com/ basic support for ARM7TDMI] core<br />
* need basic support for the TCS2310<br />
<br />
=== Root Filesystem ===<br />
<br />
* use [http://buildroot.busybox.net/ Buildroot] for initial testing<br />
* use [http://www.uclibc.org/ uClibc] as core C library<br />
* use [[BusyBox]] as basic utilities for testing<br />
<br />
=== Tools ===<br />
<br />
* use CSST ( Cellular Systems Software Tools ) from TI for loading Flash with bootloader etc. This is the [http://focus.ti.com/download/wtbu/csst_sdp2430_releasenotes_v1_2.pdf Release Notes] for the CSST included in SDP2430 (OMAP2430). There is a CSST for the TI LoCosto chips included with the [http://drop.io/PeekFiles Peek Upgrader] software from Peek. More detailed info on CSST can be found [http://wiki.davincidsp.com/index.php/CSST here.] <br />
<br />
The Peek update program calls a command line CSST app to actually load the new firmware to flash. In my case, the command line was "D:\apps\Peek\CSST\csstcli.exe -t 1 -op download -i D:\apps\Peek\software\Rel_01_09_10.m0 -dt NOR -p COM5". This command can be executed from a command prompt. You will be prompted to reset the Peek (remove and replace the battery, then hit the power button) and the download will begin!<br />
<br />
== References ==<br />
<br />
=== Other Peek Hacking Sites ===<br />
<br />
* [http://www.peeklinux.com/ PeekLinux.com]<br />
<br />
=== Similar board bringups ===<br />
<br />
* [https://agora.cs.illinois.edu/display/SRG/OMAP2420+Software+Development+Platform+Bringup OMAP2420 with U-Boot]<br />
<br />
=== TI documents ===<br />
<br />
* [http://focus.ti.com/pdfs/wtbu/ti_wireless_solutions_guide.pdf TI Wireless Solutions Guide]. the TCS2310 appears on Page 17.<br />
<br />
=== Watch a Peek being assembled ===<br />
<br />
* Watch Gabe Fabius and Dan Morel of PEEK, Inc. discuss the inner guts of the Peek [http://www.geekypeek.com/?p=167 device.]</div>Joe bleauhttps://elinux.org/index.php?title=Peek&diff=13089Peek2009-08-07T05:08:26Z<p>Joe bleau: </p>
<hr />
<div>[[image:peek.jpg]]<br />
<br />
== The Device ==<br />
<br />
=== In The News ===<br />
* [http://www.getpeek.com/index2.html Company Website]<br />
* [http://www.linuxfordevices.com/c/a/News/Peek-Pronto/ Linux Devices]<br />
* [http://www.geekypeek.com/?p=344 Geeky Peek Linux Challenge]<br />
* [http://www.amazon.com/Peek-Mobile-E-mail-Device-Gray/dp/B001FC0BWE/ref=sr_1_1?ie=UTF8&s=electronics&qid=1247192879&sr=1-1 Amazon.com]<br />
* Peek teardown photos [http://www.flickr.com/photos/8728129@N05/sets/72157607274454694/ Maushammer on Flickr]<br />
* Discussion on irc.freenode.net channel #edev<br />
<br />
=== Basic Specifications ===<br />
* 320x240 TFT LCD with backlight<br />
* 47 Key QWERTY keyboard<br />
* 360 degree jogwheel with button <br />
* Vibrator Motor <br />
* Small Speaker<br />
* Side Push Button <br />
* Top Power Button <br />
* Standard SIM Socket<br />
* Micro-B USB Charging Socket ( USB connectivity is '''not''' supported, this is really just a TTL Serial port and a charging socket.)<br />
* Internal Coin Backup Battery<br />
* E-Mail Notification LED<br />
* Battery Door Contacts Switch<br />
<br />
=== Discussions about the Current OS ===<br />
* It's a lightweight, purpose-built OS called PeekUX. [http://www.geekypeek.com/?p=13]<br />
** Starts with TI's very own version of the real-time OS called Nucleus ( by [http://www.mentor.com/products/embedded_software/nucleus_rtos/ Mentor] ) <br />
** TI has compiled in device drivers, and other stacks and turned it into their own platform.<br />
** Peek SW developers then took what TI gave them and wrap it with their own proprietary GUI and network libraries to create Peekux.<br />
** The email application then runs on top of that.<br />
** The whole thing is built as a single image. Thus the distinction between OS and App is blurred.<br />
* "Hacking maybe difficult" article at Peek Forums. [http://www.peekforums.com/viewtopic.php?f=25&t=38]<br />
=== Wireless Network and FCC stuff ===<br />
* Uses [http://www.t-mobile.com/coverage/pcc.aspx T-Mobile's] nationwide GSM network.<br />
* Also can use AT&T's GSM network as a secondary network.<br />
* [http://www.fcc.gov/oet/ea/fccid/ FCC ID] is listed as: V6LPEEK0001<br />
<br />
=== Mail Handling ===<br />
* Currently, the very large computing resources at [http://aws.amazon.com/what-is-aws/ Amazon AWS] (Seattle, WA) is being used to handle the mail polling and forwarding for the Peek users. The mail handler was worked out at Peek HQ and then unleashed at AWS. AWS's "EC2 Service" is immensely flexible and allows Peek to keep up with the growing user base.<br />
<br />
=== Chip List ===<br />
<br />
* [http://www.spansion.com Spansion] 71NS128NB0BJWRN 32Mb Psram + 128Mb NOR Flash [http://www.spansion.com/datasheets/s71ns-n_00_a9_e.pdf datasheet]<br />
* [http://www.ti.com TI] D6591BQA - [http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12658&contentId=15407 TCS2310]<br />
* [http://www.ti.com TI] T3031FZH - TWL3031 power management and IO control<br />
* [http://www.rfmd.com RFMD] RF7115 Quad Band GSM850/GSM900/DCS/PCS TRANSMIT MODULE [http://www.rfmd.com/pdfs/7115DS.pdf datasheet]<br />
* [http://www.st.com ST] STMPE2401 - Port expander with Keypad and PWM controller [http://www.st.com/stonline/products/literature/ds/13018/stmpe2401.pdf Datasheet]<br />
* 26.00 MHz XTAL for the TCS2310<br />
* 32.768 kHz XTAL for the TWL3031<br />
<br />
=== Battery ===<br />
<br />
* Model: PK-BAT-001<br />
* Voltage: 3.7V<br />
* Capacity: 700mAh<br />
* Maximum Charge Voltage:4.2V<br />
* Standard: GB/T18287-2000<br />
<br />
=== Tools and Accessories ===<br />
* [http://boutique.getpeek.com/upgrade-cable-for-your-peek.html Upgrade Cable] for upgrade/hacking<br />
* [http://boutique.getpeek.com/extra-battery-for-peek.html Replacement Battery]<br />
* [http://www.gsm-support.net/mini-usb----micro-usb-converter-p1298.en.html Micro to Mini USB Adapter] (does not convert the UART to USB)<br />
* [[Flyswatter|Flyswatter USB JTAG Debugger]] for upgrade/hacking<br />
* [[Openocd-Redux|OpenOCD JTAG Debugger Software]]<br />
* [http://www.sparkfun.com/commerce/product_info.php?products_id=718 UART TTL to USB Adapter] for upgrade/hacking<br />
<br />
=== External MicroUSB Charge/Upgrade port ===<br />
This is the MicroUSB port that is exposed on the left side of the peek.<br><br />
It's used for both charging and upgrading the Peek. The upgrade cable uses<br><br />
a serial TTL to USB level shifter to convert the serial TTL into a USB com port.<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| +5V(USB Standard)<br />
|-<br />
| 2 <br />
| TXD +1.8V TTL<br />
|-<br />
| 3 <br />
| RXD +1.8V TTL<br />
|-<br />
| 4 <br />
| N/C<br />
|-<br />
| 5 <br />
| GND<br />
|-<br />
| Shield<br />
| Drain wire<br />
|}<br />
<br />
=== Programming Header ===<br />
This is on the inside of the Peek under the SIM (this is also covered by the warranty sticker).<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| Ground<br />
|-<br />
| 2 <br />
| nPowerButton (active low)<br />
|-<br />
| 3 <br />
| UART_RX +1.8V TTL (input to Peek)<br />
|-<br />
| 4 <br />
| USB_PWR +5V<br />
|-<br />
| 5 <br />
| UART_TX +1.8V TTL (output from Peek)<br />
|-<br />
| 6 <br />
| Bat+ 4.2V<br />
|}<br />
[[image:peek-header.jpg]]<br><br />
Picture from [http://www.flickr.com/photos/8728129@N05/2861989140/in/set-72157607274454694/ Maushammer on Flickr]<br />
<br />
== uClinux ==<br />
<br />
=== Bootloader ===<br />
<br />
* a bootloader will be needed to facilitate booting uClinux<br />
* need low level access to flash either via uart or jtag<br />
* [[U-Boot]] could be used, but is pretty large<br />
* [[APEX]] is small, configurable, and easily adapted for ARM7TDMI<br />
<br />
=== Kernel ===<br />
<br />
* mainline kernel has the [http://opensrc.sec.samsung.com/ basic support for ARM7TDMI] core<br />
* need basic support for the TCS2310<br />
<br />
=== Root Filesystem ===<br />
<br />
* use [http://buildroot.busybox.net/ Buildroot] for initial testing<br />
* use [http://www.uclibc.org/ uClibc] as core C library<br />
* use [[BusyBox]] as basic utilities for testing<br />
<br />
=== Tools ===<br />
<br />
* use CSST ( Cellular Systems Software Tools ) from TI for loading Flash with bootloader etc. This is the [http://focus.ti.com/download/wtbu/csst_sdp2430_releasenotes_v1_2.pdf Release Notes] for the CSST included in SDP2430 (OMAP2430). There is a CSST for the TI LoCosto chips included with the [http://drop.io/PeekFiles Peek Upgrader] software from Peek. More detailed info on CSST can be found [http://wiki.davincidsp.com/index.php/CSST here.] <br />
<br />
The Peek update program calls a command line CSST app to actually load the new firmware to flash. In my case, the command line was "D:\apps\Peek\CSST\csstcli.exe -t 1 -op download -i D:\apps\Peek\software\Rel_01_09_10.m0 -dt NOR -p COM5". This command can be executed from a command prompt. You will be prompted to reset the Peek (remove and replace the battery, then hit the power button) and the download will begin!<br />
<br />
== References ==<br />
<br />
=== Other Peek Hacking Sites ===<br />
<br />
* [http://www.peeklinux.com/ PeekLinux.com]<br />
<br />
=== Similar board bringups ===<br />
<br />
* [https://agora.cs.illinois.edu/display/SRG/OMAP2420+Software+Development+Platform+Bringup OMAP2420 with U-Boot]<br />
<br />
=== TI documents ===<br />
<br />
* [http://focus.ti.com/pdfs/wtbu/ti_wireless_solutions_guide.pdf TI Wireless Solutions Guide]. the TCS2310 appears on Page 17.<br />
<br />
=== Watch a Peek being assembled ===<br />
<br />
* Watch Gabe Fabius and Dan Morel of PEEK, Inc. discuss the inner guts of the Peek [http://www.geekypeek.com/?p=167 device.]</div>Joe bleauhttps://elinux.org/index.php?title=Peek&diff=12782Peek2009-07-21T23:41:31Z<p>Joe bleau: Corrected programming port pinout (tx/rx were swapped)</p>
<hr />
<div>[[image:peek.jpg]]<br />
<br />
== The Device ==<br />
<br />
=== In The News ===<br />
* [http://www.getpeek.com/index2.html Company Website]<br />
* [http://www.linuxfordevices.com/c/a/News/Peek-Pronto/ Linux Devices]<br />
* [http://www.geekypeek.com/?p=344 Geeky Peek Linux Challenge]<br />
* [http://www.amazon.com/Peek-Mobile-E-mail-Device-Gray/dp/B001FC0BWE/ref=sr_1_1?ie=UTF8&s=electronics&qid=1247192879&sr=1-1 Amazon.com]<br />
* Peek teardown photos [http://www.flickr.com/photos/8728129@N05/sets/72157607274454694/ Maushammer on Flickr]<br />
* Discussion on irc.freenode.net channel #edev<br />
<br />
=== Basic Specifications ===<br />
* 320x240 TFT LCD<br />
* 47 Key QWERTY keyboard<br />
* 360 degree jogwheel with button <br />
* Vibrator Motor <br />
* Small Speaker<br />
* Side Push Button <br />
* Top Power Button <br />
* Standard SIM Socket<br />
* Micro-B USB Charging Socket<br />
* Internal Coin Backup Battery<br />
* E-Mail Notification LED<br />
* Battery Door Contacts Switch<br />
<br />
=== Discussions about the Current OS ===<br />
* It's a lightweight, purpose-built OS called PeekUX. [http://www.geekypeek.com/?p=13]<br />
** Starts with TI's very own version of the real-time OS called Nucleus ( by [http://www.mentor.com/products/embedded_software/nucleus_rtos/ Mentor] ) <br />
** TI has compiled in device drivers, and other stacks and turned it into their own platform.<br />
** Peek SW developers then took what TI gave them and wrap it with their own proprietary GUI and network libraries to create Peekux.<br />
** The email application then runs on top of that.<br />
** The whole thing is built as a single image. Thus the distinction between OS and App is blurred.<br />
* "Hacking maybe difficult" article at Peek Forums. [http://www.peekforums.com/viewtopic.php?f=25&t=38]<br />
=== Wireless Network and FCC stuff ===<br />
* Uses [http://www.t-mobile.com/coverage/pcc.aspx T-Mobile's] nationwide GSM network.<br />
* Also can use AT&T's GSM network is secondary.<br />
* [http://www.fcc.gov/oet/ea/fccid/ FCC ID] is listed as: V6LPEEK0001<br />
<br />
=== Chip List ===<br />
<br />
* [http://www.spansion.com Spansion] 71NS128NB0BJWRN 32Mb Psram + 128Mb NOR Flash [http://www.spansion.com/datasheets/s71ns-n_00_a9_e.pdf datasheet]<br />
* [http://www.ti.com TI] D6591BQA - [http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12658&contentId=15407 TCS2310]<br />
* [http://www.ti.com TI] T3031FZH - TWL3031 power management and IO control<br />
* [http://www.rfmd.com RFMD] RF7115 Quad Band GSM850/GSM900/DCS/PCS TRANSMIT MODULE [http://www.rfmd.com/pdfs/7115DS.pdf datasheet]<br />
* [http://www.st.com ST] STMPE2401 - Port expander with Keypad and PWM controller [http://www.st.com/stonline/products/literature/ds/13018/stmpe2401.pdf Datasheet]<br />
* 26.00 MHz XTAL for the TCS2310<br />
* 32.768 kHz XTAL for the TWL3031<br />
<br />
=== Battery ===<br />
<br />
* Model: PK-BAT-001<br />
* Voltage: 3.7V<br />
* Capacity: 700mAh<br />
* Maximum Charge Voltage:4.2V<br />
* Standard: GB/T18287-2000<br />
<br />
=== Tools and Accessories ===<br />
* [http://boutique.getpeek.com/upgrade-cable-for-your-peek.html Upgrade Cable] for upgrade/hacking<br />
* [http://boutique.getpeek.com/extra-battery-for-peek.html Replacement Battery]<br />
* [http://www.gsm-support.net/mini-usb----micro-usb-converter-p1298.en.html Micro to Mini USB Adapter] (does not convert the UART to USB)<br />
* [[Flyswatter|Flyswatter USB JTAG Debugger]] for upgrade/hacking<br />
* [[Openocd-Redux|OpenOCD JTAG Debugger Software]]<br />
* [http://www.sparkfun.com/commerce/product_info.php?products_id=718 UART TTL to USB Adapter] for upgrade/hacking<br />
<br />
=== External MicroUSB Charge/Upgrade port ===<br />
This is the MicroUSB port that is exposed on the left side of the peek.<br><br />
It's used for both charging and upgrading the Peek. The upgrade cable uses<br><br />
a serial TTL to USB level shifter to convert the serial TTL into a USB com port.<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| +5V(USB Standard)<br />
|-<br />
| 2 <br />
| TXD +1.8V TTL<br />
|-<br />
| 3 <br />
| RXD +1.8V TTL<br />
|-<br />
| 4 <br />
| N/C<br />
|-<br />
| 5 <br />
| GND<br />
|-<br />
| Shield<br />
| Drain wire<br />
|}<br />
<br />
=== Programming Header ===<br />
This is on the inside of the Peek under the SIM (this is also covered by the warranty sticker).<br><br />
a bootlog can be viewed using serial settings 115200,n,8,1<br><br />
<br />
{| border="1" cellspacing="0" cellpadding="5"<br />
! Pin<br />
! Function<br />
|- <br />
| 1 <br />
| Ground<br />
|-<br />
| 2 <br />
| nPowerButton (active low)<br />
|-<br />
| 3 <br />
| UART_RX +1.8V TTL (input to Peek)<br />
|-<br />
| 4 <br />
| USB_PWR +5V<br />
|-<br />
| 5 <br />
| UART_TX +1.8V TTL (output from Peek)<br />
|-<br />
| 6 <br />
| Bat+ 4.2V<br />
|}<br />
[[image:peek-header.jpg]]<br><br />
Picture from [http://www.flickr.com/photos/8728129@N05/2861989140/in/set-72157607274454694/ Maushammer on Flickr]<br />
<br />
== uClinux ==<br />
<br />
=== Bootloader ===<br />
<br />
* a bootloader will be needed to facilitate booting uClinux<br />
* need low level access to flash either via uart or jtag<br />
* [[U-Boot]] could be used, but is pretty large<br />
* [[APEX]] is small, configurable, and easily adapted for ARM7TDMI<br />
<br />
=== Kernel ===<br />
<br />
* mainline kernel has the [http://opensrc.sec.samsung.com/ basic support for ARM7TDMI] core<br />
* need basic support for the TCS2310<br />
<br />
=== Root Filesystem ===<br />
<br />
* use [http://buildroot.busybox.net/ Buildroot] for initial testing<br />
* use [http://www.uclibc.org/ uClibc] as core C library<br />
* use [[BusyBox]] as basic utilities for testing<br />
<br />
=== Tools ===<br />
<br />
* use CSST ( Cellular Systems Software Tools ) from TI for loading Flash with bootloader etc. This is the [http://focus.ti.com/download/wtbu/csst_sdp2430_releasenotes_v1_2.pdf readme] for the CSST included in SDP2430 (OMAP2430). There is a CSST included with the Peek Upgrader software from Peek. More detailed info on CSST can be found [http://wiki.davincidsp.com/index.php/CSST here.]<br />
<br />
== References ==<br />
<br />
=== Other Peek Hacking Sites ===<br />
<br />
* [http://www.peeklinux.com/ PeekLinux.com]<br />
<br />
=== Similar board bringups ===<br />
<br />
* [https://agora.cs.illinois.edu/display/SRG/OMAP2420+Software+Development+Platform+Bringup OMAP2420 with U-Boot]<br />
<br />
=== TI documents ===<br />
<br />
* {To be filled in later}</div>Joe bleauhttps://elinux.org/index.php?title=Didj&diff=7067Didj2008-09-05T18:36:13Z<p>Joe bleau: Added link to cozybit PR</p>
<hr />
<div>[[image:didj.jpg]]<br />
<br />
== Discussion ==<br />
<br />
* #edev on irc.freenode.net<br />
* [http://didjdev.freeforumhost.com/viewforum.php?f=3 didj homebrew forum]<br />
* [[Didj_How_to_Extract_Files|How to extract files from the firmware .exe]]<br />
* [[Didj_Mem_Map|Initial Memory Map Dump]]<br />
* [http://www.cozybit.com/stories.htm Cozybit boasts of their involvment in integrating Linux with the Didj]<br />
<br />
== Chip List ==<br />
<br />
processor info<br />
* BGA package<br />
* 288 pins<br />
* .65mm pitch<br />
* 15x15mm<br />
* has onboard usb device<br />
* 12mhz xtal<br />
* 27mhz xtal (suspect it is for the audio interface)<br />
* unknown barrel xtal(suspect it is rtc)<br />
* ARM926EJ-S<br />
* possible JTAG on pads<br />
* TP8 - Vcc<br />
* TP9<br />
* TP10<br />
* TP11<br />
* TP12<br />
* TP13<br />
* TP14 - Vss<br />
* marked with "LF-1000"<br />
* marked with "ARM"<br />
* marked with "N12N1D"<br />
* marked with "H0815"<br />
* onboard tft controller<br />
* onboard i2s or ac97 interface<br />
* 393MHz<br />
<br />
after some careful research and elimination, it appears that the processor might be a variation of the STn8811 or STn8815 from ST which now is a part of NXP. the bga packaging and layout of the pins appear to be very very similiar. in addition, the STn8811 and STn8815 are the only commercially announced ARM926EJ-S that operates ate 393MHz.<br />
<br />
1 Micron MT29F2G08AAC - 256megabyte nand flash 8-bit [[media:MT29F2G08AAC.pdf | datasheet]]<br />
<br />
1 Cirrus Logic CS43L22 - audio codec [[media:CS43L22.pdf | datasheet]]<br />
<br />
1 QImonda HYB25DC25616OCE-5 - 32megabyte sdram [[media:HYB25DC25616OCE-5.pdf | datasheet]]<br />
<br />
1 Giantplus GPM758A0 - 320x240 tft [http://www.giantplus.com.tw/chinese/23-lcd_module_gpg32246.htm website]<br />
<br />
1 Intersil ISL7665SACBAZ - Programmable Over/Under Voltage Detector [[media:isl7665s.pdf | datasheet]]<br />
<br />
3 TI TPS62050 - Adjustable Step-Down Converter [[media:tps62050.pdf | datasheet]]</div>Joe bleau