<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>optixx &#187; ARM</title>
	<atom:link href="http://optixx.org/category/arm/feed/" rel="self" type="application/rss+xml" />
	<link>http://optixx.org</link>
	<description>About Linux and Console Hacking</description>
	<lastBuildDate>Sun, 08 Jan 2012 16:31:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Update on 64&#215;48</title>
		<link>http://optixx.org/2008/12/07/update-on-64x48/</link>
		<comments>http://optixx.org/2008/12/07/update-on-64x48/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 20:53:14 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://optixx.org/2008/12/07/update-on-64x48/</guid>
		<description><![CDATA[Made some progress. Nice sunday hacking.]]></description>
			<content:encoded><![CDATA[<p>Made some progress. Nice sunday hacking. </p>

<p><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-6d042459-f5aa-4d6e-a2f1-1c1e46def8f7.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-6d042459-f5aa-4d6e-a2f1-1c1e46def8f7.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8120c295-700d-4b43-9263-14538360ea16.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8120c295-700d-4b43-9263-14538360ea16.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8dd51acd-83e3-4746-a3ce-5bf2edf66d3c.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8dd51acd-83e3-4746-a3ce-5bf2edf66d3c.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-321d417e-77bd-4e0b-9afb-4510240d7b31.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-321d417e-77bd-4e0b-9afb-4510240d7b31.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-c246673a-8f11-4792-b827-c3f81b7cd344.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-c246673a-8f11-4792-b827-c3f81b7cd344.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/12/07/update-on-64x48/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Toshiba LED Dot Matrix Double Action</title>
		<link>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-double-action/</link>
		<comments>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-double-action/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 21:06:35 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://optixx.org/?p=95</guid>
		<description><![CDATA[more to come&#8230; [flash]http://vimeo.com/2399376[/flash]]]></description>
			<content:encoded><![CDATA[<p>more to come&#8230;</p>

<p>[flash]http://vimeo.com/2399376[/flash]</p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-double-action/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Toshiba LED Dot Matrix First Success</title>
		<link>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-first-success/</link>
		<comments>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-first-success/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 17:10:26 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://optixx.org/?p=93</guid>
		<description><![CDATA[First success&#8230; [flash]http://vimeo.com/2396571[/flash] [flash]http://vimeo.com/2396646[/flash] [flash]http://vimeo.com/2396662[/flash]]]></description>
			<content:encoded><![CDATA[<p>First success&#8230;</p>

<p>[flash]http://vimeo.com/2396571[/flash]</p>

<p>[flash]http://vimeo.com/2396646[/flash]</p>

<p>[flash]http://vimeo.com/2396662[/flash]</p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-first-success/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Led Matrix 16&#215;16</title>
		<link>http://optixx.org/2008/11/28/led-matrix-16x16/</link>
		<comments>http://optixx.org/2008/11/28/led-matrix-16x16/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 11:58:44 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2008/11/28/led-matrix-16x16/</guid>
		<description><![CDATA[New toy&#8230;Thx Max. Datasheet Toshiba LED Dot Matrix Modul TLMM 501 B2]]></description>
			<content:encoded><![CDATA[<p>New toy&#8230;Thx Max.</p>

<p><a href="http://optixx.org/download/ledmatrix16x16/DOC081121.pdf">Datasheet Toshiba LED Dot Matrix Modul TLMM 501 B2</a></p>

<p><a href="http://optixx.org/wp-content/uploads/2008/12/p-640-480-dc3cf68c-27f6-4694-ade7-ea6e07a72d4a.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/p-640-480-dc3cf68c-27f6-4694-ade7-ea6e07a72d4a.jpeg" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/p-640-480-7f4511b5-9cea-4ce5-a505-bf4c3703db0e.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/p-640-480-7f4511b5-9cea-4ce5-a505-bf4c3703db0e.jpeg" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/p-640-480-61c9e52f-a6a2-44f1-9742-b7b6cd616852.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/p-640-480-61c9e52f-a6a2-44f1-9742-b7b6cd616852.jpeg" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/11/28/led-matrix-16x16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toying with a Juicebox</title>
		<link>http://optixx.org/2007/01/21/toying-with-a-juicebox/</link>
		<comments>http://optixx.org/2007/01/21/toying-with-a-juicebox/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 17:08:00 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2007/01/21/toying-with-a-juicebox/</guid>
		<description><![CDATA[Got a new Toy. It&#8217;s a Juicebox from Mattel, a kids video and mp3 player. Actually it&#8217;s a linux based and has Samsung S3C44B0 ARM CPU, 8MB Flash and 2MB Ram. Since it has JTAG Pinouts you can use it as a really cheap ARM Dev Board. You can&#8217;t get one for around $10 at [...]]]></description>
			<content:encoded><![CDATA[<p>Got a new Toy. It&#8217;s a Juicebox from Mattel, a kids video and mp3 player. Actually it&#8217;s a linux based and has Samsung S3C44B0 ARM CPU, 8MB Flash and 2MB Ram. Since it has JTAG Pinouts you can use it as a really cheap ARM Dev Board. You can&#8217;t get one for around $10 at ebay. You find a lot of good info <a href="http://www.elinux.org/wiki/JuiceBox">here</a>.</p>

<p>Made some LCD test stuff, a 3d starfield and a simple fire demo. This code runs directly on the hardware not on top of the build-in linux. You need a JTAG cable to download the code directly into the RAM.</p>

<p>I&#8217;m using <a href="http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger">openocd</a> for this:</p>

<pre>
halt 
wait_halt 
poll 
load_binary lcd_3.bin 0x0c001000 
resume 0x0c001000
</pre>

<p><img src="http://optixx.org/images/juicebox/hardware.jpg" alt="pic1" title="" />
<img src="http://optixx.org/images/juicebox/fire.jpg" alt="pic1" title="" /></p>

<p><a href="http://optixx.org/download/lcd3.tar.gz">download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2007/01/21/toying-with-a-juicebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia 6100 LCD</title>
		<link>http://optixx.org/2007/01/07/nokia-6100-lcd/</link>
		<comments>http://optixx.org/2007/01/07/nokia-6100-lcd/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 22:52:11 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2007/01/07/nokia-6100-lcd/</guid>
		<description><![CDATA[Got my Nokia 6100 LCD working. Long story of failures. First try was a LCD with a Epson controller from ebay for 10 Euros. But somehow someone failed to solder the smd socket proberly and it went a way ( thx max ) . Next try was a Epson based LCD including a header board [...]]]></description>
			<content:encoded><![CDATA[<p>Got my Nokia 6100 LCD working. Long story of failures. First try was a LCD with a Epson controller from ebay for 10 Euros. But somehow someone failed to solder the smd socket proberly and it went a way <img src='http://optixx.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ( thx max  ) . </p>

<p>Next try was a Epson based LCD including a header board from 
<a href="http://www.sparkfun.com">sparkfun</a> . But this time i wasn&#8217;t able to run some demo code which was made for the LPC2138 on my LPC2148. I think the board was to fast to talk to the display. I wasn&#8217;t able set up SPI on the LPC2148 correct. Need more investigation on that topic.</p>

<p>So i gave up at this point and decided to go for a atmega16. I did a devel board for that which is losy based on this <a href="http://wiki.koeln.ccc.de/index.php?title=Atmel_Mikrocontroller_Kickstart">schematics</a>. The boads uses simple parport icsp and has a serial line for debugging and sending data.</p>

<p>Finally i  threw some code together using the init commands found in this <a href="http://www.e-dsp.com/controlling-a-color-graphic-lcd-epson-s1d15g10-controller-with-an-atmel-avr-atmega32l">project</a>. Added support for receiving images via uart and wrote an little python client for sending images.</p>

<p>Future plans are to port the <a href="http://www.apetech.de/article.php?artId=3&amp;nnId=12">glcd</a> lib to the epson based lcd.</p>

<p><img src="http://optixx.org/images/nokia/board.jpg" alt="pic1" title="" />
<img src="http://optixx.org/images/nokia/lcd.jpg" alt="pic2" title="" /></p>

<p><a href="http://optixx.org/download/nokia_epson_lcd_send.tar.gz">download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2007/01/07/nokia-6100-lcd/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>EFSL for the ARM LPC2148</title>
		<link>http://optixx.org/2006/12/19/efsl-for-the-arm-lpc2148/</link>
		<comments>http://optixx.org/2006/12/19/efsl-for-the-arm-lpc2148/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 22:03:29 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2006/12/19/efsl-for-the-arm-lpc2148/</guid>
		<description><![CDATA[Found a LPC2138 port of the Embedded Filesystems Library. Took this stuff and made this working on my LPC2148. Now i can access an SD-Card attached to the LPC2148. Currently the FAT filesystem is supported. The sample pgramm includes an minimal serial line shell which supports file reading and directoy listings. MMC/SD Card Filesystem Test [...]]]></description>
			<content:encoded><![CDATA[<p>Found a LPC2138 port of the <a href="http://www.efsl.be/">Embedded Filesystems Library</a>. Took this stuff and made this working on my LPC2148. </p>

<p>Now i can access an SD-Card attached to the LPC2148. Currently the FAT filesystem is supported. 
The sample pgramm includes an minimal serial line shell which supports file reading and directoy listings.</p>

<pre>
MMC/SD Card Filesystem Test (P:LPC2148 L:EFSL)
CARD init...spiInit for SSP/SPI1
Card is initialising.
CSD: 00 26 00 32 5F 59 83 C8 BE FB CF FF 92 40 40 D7
Drive Size is 1015808000 Bytes (1984000 Sectors)
Init done...
Press Command: d r a 
You pressed : d
Directory of 'root':
TEST01      ( 6 bytes )
TEST02      ( 6 bytes )
TEST03      ( 6 bytes )
TEST04      ( 6 bytes )
TEST05      ( 6 bytes )
TEST06      ( 6 bytes )
TEST09      ( 6 bytes )
TEST10      ( 6 bytes )
LOGDAT9 TXT ( 833 bytes )
DUMMY   LOG ( 2754 bytes )
</pre>

<p><a href="http://optixx.org/download/efsl.tar.gz">download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2006/12/19/efsl-for-the-arm-lpc2148/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARM LPC2148 and Linux</title>
		<link>http://optixx.org/2006/12/18/arm-lpc2148-and-linux/</link>
		<comments>http://optixx.org/2006/12/18/arm-lpc2148-and-linux/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 21:42:20 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2006/12/18/arm-lpc2148-and-linux/</guid>
		<description><![CDATA[Just got my ARM LPC2148 Dev Board from Olimex I put together a small overview how to get things working using a linux host system. Toolchain GNU Compiler Toolchain Serial Programmer Sample Code Crt0 Linkerscript Init Routine Simple IO Test SIO Debug Console GNU Compiler Toolchain I use a standard arm GNU toolchain. Actuallay found [...]]]></description>
			<content:encoded><![CDATA[<p>Just got my ARM LPC2148 Dev Board from <a href="http://www.olimex.com">Olimex</a></p>

<p>I put together a small overview how to get things working using a linux host system.</p>

<p><strong>Toolchain</strong>
<li>GNU Compiler Toolchain</li>
<li>Serial Programmer</li></p>

<p><strong>Sample Code</strong>
<li>Crt0</li>
<li>Linkerscript</li>
<li>Init Routine</li>
<li>Simple IO Test</li>
<li>SIO Debug Console</li></p>

<p><strong>GNU Compiler Toolchain</strong></p>

<p>I use a standard arm GNU toolchain. Actuallay found <a href="http://www.mikrocontroller.net/en/arm-gcc">this binary</a> download from mikrocontroller.net.  But also my GBA Toolchain worked and produced good binaries. So a Gentoo ARM Crossdev should to the work.
Think that the LPC is not too picky about that.</p>

<p><strong>Serial Programmer</strong></p>

<p>I tried <a href="http://guest.engelschall.com/~martin/lpc21xx/isp/">lpc21isp</a> but it didn&#8217;t work for me. So i ended up using <a href="http://www.pjrc.com/arm/lpc2k_pgm/">lpc2k_pgm</a>. It has little gui and where you can setup all needed configs. I use iHex format to upload to the dev board, where i had best results using quite slow sio speed like 9600bps. You have to enable BSL on the LPC2148 for  ICSP. On my LPC the switch is called &#8216;ICSP1&#8242; which needs to be set into ON position. </p>

<p><strong>Crt0</strong></p>

<p>Nothing special about that. Took it from similar LPC based projects.Just setup stack sizes and default IRQ
vectors. Worked out of the box.</p>

<p><strong>Linkerscript</strong></p>

<p>Tooks this from a other LPC project. The script specifies the memory layout of the target system and defines the sections for the binary output.</p>

<p><strong>Init Routine</strong></p>

<p>Code found in startup.c does the PLL init. The LPC2148 has 12 Mhz internal crystal but can run up to 60Mhz when setting the PLL. Also the default IRQ Handlers are defined here.</p>

<p><strong>Simple IO Test</strong></p>

<p>I used the on-board leds for a simple IO test. </p>

<p><code></code></p>

<pre>

int main(void)
{
    unsigned int i;
    Initialize();
    ConsoleInit(60000000 / (16 * BAUD_RATE));
    puts("Init done\n");
    IODIR0 |= 1 < < 10;          // P0.10 is an output
    IODIR0 |= 1 << 11;          // P0.10 is an output
    IOSET0 = 1 << 10;           //LED off
    IOSET0 = 1 << 11;           //LED off

    while (1) {
        for (i = 0; i < 1000000; i++);
        IOSET0 = 1 << 10;       //LED off
        IOCLR0 = 1 << 11;       //LED on
        puts("led1: off  led2: on\n");
        for (i = 0; i < 1000000; i++);
        IOCLR0 = 1 << 10;       //LED on
        IOSET0 = 1 << 11;       //LED off
        puts("led1: on   led2: off\n");
    }
}
</pre>

<p></p>

<p><strong>SIO Debug Console</strong></p>

<p>Addes a little module that uses one of the two serial line for debugging output. I use the same serial port as for for the ICSP, so after the flashing lpc2k_gpm will display the output directly without any setup changes. </p>

<p><img src="http://optixx.org/images/arm/small_dsc01985.jpg" alt="pic1" title="" />
<img src="http://optixx.org/images/arm/small_prog.png" alt="pic2" title="" />
<img src="http://optixx.org/images/arm/small_console.png" alt="pic3" title="" /></p>

<p><a href="http://optixx.org/download/blink2148.tar.gz">download source</a></p>
</pre>]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2006/12/18/arm-lpc2148-and-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 15/21 queries in 0.007 seconds using disk: basic

Served from: blog.optixx.org @ 2012-05-22 07:04:42 -->
