<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.openmoko.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.openmoko.org/api.php?action=feedcontributions&amp;user=Preben&amp;feedformat=atom</id>
		<title>Openmoko - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.openmoko.org/api.php?action=feedcontributions&amp;user=Preben&amp;feedformat=atom"/>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/Special:Contributions/Preben"/>
		<updated>2013-05-22T04:22:06Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.6</generator>

	<entry>
		<id>http://wiki.openmoko.org/wiki/User:Preben</id>
		<title>User:Preben</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/User:Preben"/>
				<updated>2008-01-31T14:25:46Z</updated>
		
		<summary type="html">&lt;p&gt;Preben: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''About'''&lt;br /&gt;
&lt;br /&gt;
Name: Preben Ulltang&lt;br /&gt;
&lt;br /&gt;
Location: Førde, Norway&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Interest in OpenMoko/Neo 1973'''&lt;br /&gt;
&lt;br /&gt;
 Making applications for the cell phone and get experience for later&lt;/div&gt;</summary>
		<author><name>Preben</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/wiki/User:Preben</id>
		<title>User:Preben</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/User:Preben"/>
				<updated>2008-01-31T14:25:14Z</updated>
		
		<summary type="html">&lt;p&gt;Preben: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''About'''&lt;br /&gt;
Name: Preben Ulltang&lt;br /&gt;
&lt;br /&gt;
Location: Førde, Norway&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Interest in OpenMoko/Neo 1973'''&lt;br /&gt;
 Making applications for the cell phone and get experience for later&lt;/div&gt;</summary>
		<author><name>Preben</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/wiki/User:Preben</id>
		<title>User:Preben</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/User:Preben"/>
				<updated>2008-01-31T14:24:51Z</updated>
		
		<summary type="html">&lt;p&gt;Preben: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''About'''&lt;br /&gt;
Name: Preben Ulltang&lt;br /&gt;
Location: Førde, Norway&lt;br /&gt;
&lt;br /&gt;
'''Interest in OpenMoko/Neo 1973'''&lt;br /&gt;
 Making applications for the cell phone and get experience for later&lt;/div&gt;</summary>
		<author><name>Preben</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/wiki/Debug_Board_v2</id>
		<title>Debug Board v2</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/Debug_Board_v2"/>
				<updated>2007-10-18T23:01:55Z</updated>
		
		<summary type="html">&lt;p&gt;Preben: /* Flashing with Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Debug Board | Debug Board page]] provides information on the architecture of the second version of the [[Debug Board | Neo1973 debug board]].&lt;br /&gt;
&lt;br /&gt;
[[Image:Debugboard v2 diagram.png|left|500px|Architecture Diagram]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Neo1973 debugboard v2 top annotated.jpg|left|500px|Annotated PCB Photograph]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
The [[Debug Board | debug board]] provides these key components.&lt;br /&gt;
&lt;br /&gt;
* [[Debug Board#USB Hub | USB Hub]]&lt;br /&gt;
* [[Debug Board#JTAG using FT2232 | JTAG using FT2232]]&lt;br /&gt;
* [[Debug Board#Serial Port | Serial Port]]&lt;br /&gt;
&lt;br /&gt;
=== Schematics ===&lt;br /&gt;
&lt;br /&gt;
The Schematics of this board can be found at http://people.openmoko.org/laforge/doc/hardware/neo1973_debug_board/neo1973_debugboard_v2_schematics.pdf&lt;br /&gt;
&lt;br /&gt;
=== USB Hub ===&lt;br /&gt;
&lt;br /&gt;
This bus-powered hub &lt;br /&gt;
* attaches to the laptop using its upstream port&lt;br /&gt;
* attaches to the FT2232D for JTAG and serial console on downstream port 1&lt;br /&gt;
* attaches to a free USB-A connector using downstream port 2&lt;br /&gt;
* attaches to the phone using downstream port 3&lt;br /&gt;
&lt;br /&gt;
Using the hub, you can have access to the phone, JTAG and serial simultaneously, through a single USB cable.&lt;br /&gt;
&lt;br /&gt;
You can actually even charge the phone (100mA slow charge) using that downstream port.&lt;br /&gt;
&lt;br /&gt;
For the ISB hub function, we use the TUSB2046B chip.&lt;br /&gt;
&lt;br /&gt;
=== JTAG using FT2232 ===&lt;br /&gt;
&lt;br /&gt;
Basically, we integrate a USB-JTAG adaptor similar to the [Amontec JTAGkey-tiny].  The actual reference design that we used (Thanks to Joern!) can be found at http://www.oocdlink.com&lt;br /&gt;
&lt;br /&gt;
This provides us full JTAG debugging, at about 150times the speed of the [[wiggler]]&lt;br /&gt;
&lt;br /&gt;
The actual JTAG port is connected with&lt;br /&gt;
* the phone (via debug flex cable)&lt;br /&gt;
* A separate 20-pin header using standard ARM-JTAG pinout&lt;br /&gt;
** this allows the user to use this device as JTAG adaptor even for other arm-based devices&lt;br /&gt;
&lt;br /&gt;
=== Serial Port ===&lt;br /&gt;
&lt;br /&gt;
Instead of replicating a true RS232 port, we wanted to use a USB serial converter chip,&lt;br /&gt;
such as the FT232 or the PL2303.   &lt;br /&gt;
&lt;br /&gt;
As it turns out, we can even use the second port of the FT2232 simultaneously with the JTAG.  So no extra FT232 or PL2303 is required.&lt;br /&gt;
&lt;br /&gt;
==== Tri-State Serial Port ====&lt;br /&gt;
&lt;br /&gt;
The serial port needs a tri-state driver, since it is both connected to the GSM modem AND to the debug board.  We drive the tri-state driver by an inverted GSM_EN signal (pin 7 on FPC connector).&lt;br /&gt;
&lt;br /&gt;
== Usage Instructions ==&lt;br /&gt;
&lt;br /&gt;
=== Preconditions ===&lt;br /&gt;
&lt;br /&gt;
==== FT2232D EEPROM ====&lt;br /&gt;
&lt;br /&gt;
Your Debug Board contains a small serial EEPROM which should be flashed correctly during production.  However, some boards have received incorrect/incomplete programming during production and thus you should verify this.&lt;br /&gt;
&lt;br /&gt;
If the board shows up as USB ID 1457:5118, then everything is correct.&lt;br /&gt;
&lt;br /&gt;
Only if your board shows up as USB ID 0403:6010, then you will need to flash the board!&lt;br /&gt;
&lt;br /&gt;
===== Flashing with Linux =====&lt;br /&gt;
&lt;br /&gt;
{{note|FIC has done that for you, in case you have officially been supplied with the board.  However, if you are one of the early adopters, the configuration and USB vendorID / productID might have not yet been set correctly.}}&lt;br /&gt;
&lt;br /&gt;
In order to do so, you can use the ftdi_eeprom program from &lt;br /&gt;
http://www.intra2net.com/de/produkte/opensource/ftdi/. Unfortunately, the latest version (0.2) doesn't yet contain support for our FT2232D, so you need the patch from http://people.openmoko.org/laforge/misc/debug_board_v2/ftdi_eeprom/ftdi_eeprom-0.2-moko.patch&lt;br /&gt;
&lt;br /&gt;
You may also need to apply the following patch to libftdi:&lt;br /&gt;
http://people.openmoko.org/werner/libftdi-c56-strings-dirty-hack.patch&lt;br /&gt;
(See http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=321 for additional details.)&lt;br /&gt;
&lt;br /&gt;
Furthermore, you will need the EEPROM config:&lt;br /&gt;
http://people.openmoko.org/laforge/misc/debug_board_v2/ftdi_eeprom/neo1973_debug_board_v2.ftdi&lt;br /&gt;
&lt;br /&gt;
Once you have compiled ftdi_eeprom, you can run&lt;br /&gt;
 ftdi_eeprom --flash-eeprom neo1973_debug_board_v2.ftdi&lt;br /&gt;
&lt;br /&gt;
{{warning|Make sure you don't have any other FTDI FT232 / FT2232 based devices attached to the USB while running ftdi_eeprom.  It might be wise to disconnect everything but the debug board}}&lt;br /&gt;
&lt;br /&gt;
You should get something like the following printout if everything was successful:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FTDI eeprom generator v0.2&lt;br /&gt;
(c) Intra2net AG &amp;lt;opensource@intra2net.com&amp;gt;&lt;br /&gt;
FTDI init: 0&lt;br /&gt;
Unable to find FTDI devices under given vendor/product id: 0x1457/0x5118&lt;br /&gt;
Retrying with default FTDI id.&lt;br /&gt;
Used eeprom space: 102 bytes&lt;br /&gt;
FTDI write eeprom: 0&lt;br /&gt;
Writing to file: neo1973_debug_board_v2.eeprom&lt;br /&gt;
FTDI close: 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the flashing has finished, just disconnect and reconnect, and you should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lsusb -v -d 0x1457:                                                                                                                                                                                               &lt;br /&gt;
Bus 005 Device 009: ID 1457:5118&lt;br /&gt;
Device Descriptor:&lt;br /&gt;
  bLength                18&lt;br /&gt;
  bDescriptorType         1&lt;br /&gt;
  bcdUSB               2.00&lt;br /&gt;
  bDeviceClass            0 (Defined at Interface level)&lt;br /&gt;
  bDeviceSubClass         0 &lt;br /&gt;
  bDeviceProtocol         0 &lt;br /&gt;
  bMaxPacketSize0         8&lt;br /&gt;
  idVendor           0x1457 &lt;br /&gt;
  idProduct          0x5118 &lt;br /&gt;
  bcdDevice            5.00&lt;br /&gt;
  iManufacturer           1 OpenMoko&lt;br /&gt;
  iProduct                2 Debug Board for Neo1973&lt;br /&gt;
  iSerial                 0 &lt;br /&gt;
  bNumConfigurations      1&lt;br /&gt;
  [...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Flashing with Windows =====&lt;br /&gt;
{{note|FIC has done that for you, in case you have officially been supplied with the board.  However, if you are one of the early adopters, the configuration and USB vendorID / productID might have not yet been set correctly.}}&lt;br /&gt;
&lt;br /&gt;
In order to do so, you can use the FTDI Mprog program from http://www.ftdichip.com/Resources/Utilities/MProg3.0_Setup.exe&lt;br /&gt;
 &lt;br /&gt;
You will need&lt;br /&gt;
* The EEPROM Template http://people.openmoko.org/laforge/misc/debug_board_v2/mprog_template/neo1973_debugboard_v2.ept&lt;br /&gt;
&lt;br /&gt;
==== Drivers ====&lt;br /&gt;
&lt;br /&gt;
===== Linux =====&lt;br /&gt;
&lt;br /&gt;
Please make sure you have libftdi-0.8 or later.  Earlier versions are known to cause problems&lt;br /&gt;
&lt;br /&gt;
Furthermore, you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
====== ftdi_sio module option ======&lt;br /&gt;
&lt;br /&gt;
 rmmod ftdi_sio&lt;br /&gt;
 modprobe ftdi_sio vendor=0x1457 product=0x5118&lt;br /&gt;
&lt;br /&gt;
or the equivalent in your modules.conf&lt;br /&gt;
&lt;br /&gt;
====== udev rule ======&lt;br /&gt;
&lt;br /&gt;
Please install the rules from http://people.openmoko.org/laforge/misc/debug_board_v2/udev_rules/&lt;br /&gt;
&lt;br /&gt;
===== Windows =====&lt;br /&gt;
&lt;br /&gt;
Please use the driver from http://people.openmoko.org/laforge/misc/debug_board_v2/windows_drivers/&lt;br /&gt;
&lt;br /&gt;
=== Hardware connection ===&lt;br /&gt;
&lt;br /&gt;
* [[Connecting Neo1973 with Debug Board v2]]&lt;br /&gt;
* Connect your favorite embedded project to the Debug Board v2:&lt;br /&gt;
&lt;br /&gt;
==== Pinouts ====&lt;br /&gt;
&lt;br /&gt;
* J1 - is a regular 20 pin ARM JTAG at 3.3V level with 5V tolerance&lt;br /&gt;
&lt;br /&gt;
* J10 - is a 3.3V serial connected to portB of the FTDI2232D&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pin name&lt;br /&gt;
1   TXD&lt;br /&gt;
2   RXD&lt;br /&gt;
3   RTS&lt;br /&gt;
4   CTS&lt;br /&gt;
5   DSR&lt;br /&gt;
6   DTR&lt;br /&gt;
7   DCD&lt;br /&gt;
8   RI&lt;br /&gt;
9   GND&lt;br /&gt;
10  VCC (3.3V)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Actually using it ===&lt;br /&gt;
&lt;br /&gt;
==== On Linux ====&lt;br /&gt;
&lt;br /&gt;
===== Serial Port =====&lt;br /&gt;
&lt;br /&gt;
The Linux kernel of your host system will create a virtual serial device called '''/dev/ttyUSBx''' where 'x' is a sequentially assigned number.  If you don't have any other USB serial converters attached to your machine, the device name will be '''/dev/ttyUSB0'''.&lt;br /&gt;
&lt;br /&gt;
You can use your favourite terminal emualtor (minicom, cu, zc, ...) just like for any other/real serial port. You may use gdb as well (eg. target remote /dev/ttya).&lt;br /&gt;
&lt;br /&gt;
bdb - My experience with the debug board shipped with GTA01B (v3??) was that the serial port eventually came out as /dev/ttyUSB1. I assume ttyUSB0 was the jtag. I also couldn't get the serial to work at all until after I had fired up openocd to take over the jtag. (Which disappears ttyUSB0) That could have been coincidence of course... I had also removed all flow control on the serial port settings - maybe that was the key. PS - 115200 baud.&lt;br /&gt;
&lt;br /&gt;
===== JTAG =====&lt;br /&gt;
&lt;br /&gt;
Once you have installed libftdi &amp;gt;= 0.8 and configured [[OpenOCD]] with the correct openocd.cfg from [[OpenOCD#openocd.cfg]], it should work just fine.&lt;br /&gt;
&lt;br /&gt;
Please see [[OpenOCD#OpenOCD_and_Debug_Board]] for some more information.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
We previously had [[Neo1973 Debug Board v1]] (inherited from some weird engineers who must have seen Brazil too often).&lt;br /&gt;
Version 1 was never shipped to phase-0 or phaes-1, and not sold to anyone.&lt;br /&gt;
&lt;br /&gt;
=== Changes from v1 to v2 ===&lt;br /&gt;
&lt;br /&gt;
* get rid of ethernet&lt;br /&gt;
** we don't need it, and&lt;br /&gt;
** we especially don't want a 40pin parallel 66MHz bus going between two pcb's&lt;br /&gt;
* get rid of 7-segment LED displays&lt;br /&gt;
** not really needed.  We have a serial port&lt;br /&gt;
** could be replaced by one or two GPIO LED's&lt;br /&gt;
* get rid of built-in [[wiggler]]&lt;br /&gt;
** nobody has a parallel port on the laptop these days&lt;br /&gt;
* get rid of li-ion battery (including charger)&lt;br /&gt;
** the device can be fully usb powered by the laptop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;bottom&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
{{Languages|Debug_Board}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Neo1973 Hardware Debugging]]&lt;/div&gt;</summary>
		<author><name>Preben</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/wiki/Openmoko_Local_Groups:_Norway</id>
		<title>Openmoko Local Groups: Norway</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/Openmoko_Local_Groups:_Norway"/>
				<updated>2007-10-17T19:16:55Z</updated>
		
		<summary type="html">&lt;p&gt;Preben: Added user 'Preben Ulltang' to the wiki.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is supposed to be a gathering point for all OpenMoko interested people in Norway.&lt;br /&gt;
&lt;br /&gt;
 See [[Talk:OpenMoko_Local_Groups:_Norway|discussion]].&lt;br /&gt;
&lt;br /&gt;
Currently there have been created local groups for the following cities/regions in Norway:&lt;br /&gt;
* [[OpenMoko_Local_Groups:_Oslo|Oslo]]&lt;br /&gt;
* [[OpenMoko_Local_Groups:_Trondheim|Trondheim]]&lt;br /&gt;
&lt;br /&gt;
Please sign up on this national list below (especially) if you can't find a local group near you; this national page should also be used to map the need/interest of creating more local groups. Some overlapping info may occur.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' You can now find some of us on IRC channel #openmoko-no @ Freenode (irc.freenode.net).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|border=1&lt;br /&gt;
!Name&lt;br /&gt;
!Skills&lt;br /&gt;
!Level of Interest&lt;br /&gt;
!Location&lt;br /&gt;
!Other&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Senikk|Terje Pedersen]]&lt;br /&gt;
|Linux, Embedded Linux (Etrax), Electronics, Programming&lt;br /&gt;
|User and developer, waiting for GTA02&lt;br /&gt;
|Haugesund&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Henrikw|Henrik Width]]&lt;br /&gt;
|Linux, electronics&lt;br /&gt;
|Awaiting GTA01Bv4, Neo Basic &lt;br /&gt;
|Trondheim&lt;br /&gt;
|Runs the www.mokoapps.org site&lt;br /&gt;
|-&lt;br /&gt;
|[[User:aevin|Eivind S]]&lt;br /&gt;
|Linux, programming&lt;br /&gt;
|User and developer, waiting for GTA02&lt;br /&gt;
|Oslo&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:JørgenTjernø | Jørgen Tjernø]]&lt;br /&gt;
|Linux, programming (studying electronics)&lt;br /&gt;
|GTA01Bv4 (Neo Basic) Owner&lt;br /&gt;
|Trondheim&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Vegar|Vegar]]&lt;br /&gt;
|GNU/Linux, programming&lt;br /&gt;
|User and developer, waiting for GTA02&lt;br /&gt;
|Alta&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:hakonaj | Håkon Andreas Jensen]]&lt;br /&gt;
|GNU/Linux, programming&lt;br /&gt;
|Awaiting GTA01Bv4, Neo Basic&lt;br /&gt;
|Oslo&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:terje | Terje Sannum]]&lt;br /&gt;
|Linux, programming, electronics&lt;br /&gt;
|GTA01Bv4 owner &lt;br /&gt;
|Oslo&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Goxboxlive | Goxboxlive]]&lt;br /&gt;
|User, bug-finder&lt;br /&gt;
|Make Linux run on HTC devices&lt;br /&gt;
|Oslo&lt;br /&gt;
|Maintaining [http://www.linuxtogo.org/~htcpxa htcpxa] and make various Linux images for HTC devices]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:meus| Bjarte Stien Karlsen]]&lt;br /&gt;
|GNU/Linux, programming&lt;br /&gt;
|User and developer, waiting for GTA02 Advanced&lt;br /&gt;
|Kristiansand&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Canute| Knut Saua Mathiesen]]&lt;br /&gt;
|GNU/Linux, programming&lt;br /&gt;
|User and developer, waiting for GTA02&lt;br /&gt;
|Stavanger&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Preben | Preben Ulltang]]&lt;br /&gt;
|GNU/Linux, programming&lt;br /&gt;
|GTA01Bv4, Neo Advanced (Owner)&lt;br /&gt;
|Førde&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>Preben</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/wiki/User:Preben</id>
		<title>User:Preben</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/User:Preben"/>
				<updated>2007-10-17T18:34:32Z</updated>
		
		<summary type="html">&lt;p&gt;Preben: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;My name is Preben, I am 18 years old and I have about 3 years with Linux/Unix experience. My Primary computer system is OSX, but Gentoo and OpenSUSE are both very nice and lovely.&lt;br /&gt;
&lt;br /&gt;
I've joined openmoko because I think this is a good project.&lt;/div&gt;</summary>
		<author><name>Preben</name></author>	</entry>

	</feed>