Artec Design OÜ, Türi 10c Tallinn, 11313 Estonia European Union Tel: (+372) 6718 550 Fax: (+372) 6718 555 www.artecgroup.com info@artecgroup.com	Programmable LPC Dongle DATA SHEET FPGA based hardware debugger platform

Features:

Supports LPC memory read and IO write for POST Code capture

4 segment LED display for debug purposes

10 bit GPIO header for debug purposes

Selectable voltage source either USB or LPC bus

4 jumper selectable boot images for LPC

Third party free USB drivers for

Windows (98,2000,ME,XP)

Linux 2.40 and greater

Included:

LPC Dongle

Python based software with source (Linux and Windows supported)

USB cable

LPC cable

Index

Features:	1

LPC dongle interfaces	2

LPC	2

Mode Select	2

GPIO header	2

VCC source select	2

USB	3

LPC dongle interfaces

LPC

LPC header provides 7 IO pins used for LPC signal (see Dongle schematic). By default 1MB on flash can be accessed over LPC bus (highest MB of 4 MB available in each mode configuration). This can be changed by IO command to full 4 MB.

LPC IO write to address 0x0088 data 0xF4	turn on 4MB addressing

LPC IO write to address 0x0088 data 0xF1	turn off 4MB addressing

LPC IO write to address 0x0080 will be displayed on Post code byte

Mode Select

Mode select jumpers are intended for internal image selection from dongle flash divided into 4 separate sections.

GPIO header

GPIO pins are platform pins that are not used in the standard LPC version of the dongle but are target for tailored development for specific functions.

VCC source select

Jumper is used to define VCC source. When USB cable is used at the same time with connected target board on LPC JMP4 should be off.

USB

USB interface is used to program dongle flash or read back flash content. This can be done by Artec USB Dongle programming utility.

Usage:

dongle.py -c comport [-vq] filename address

dongle.py [-vqr] offset length filename

Options:

-c	COM port	defines USB to serial comport

-v	Verbose	more messages about operation

-q	Query	Test connection to flash

-r	Readback	Read back flash content

Examples:

dongle.py -c COM3 loader.bin 0

dongle.py -c /dev/ttyS3 content.bin 256K

dongle.py -c COM3 device 1M

dongle.py -c COM3 -r 0x0000 256 flashcontent.bin

USB programming utility can address all of the 4 MB available in any mode that is selected. It must be remembered that only 3072KB to 4090 KB in each mode configuration is directly accessible over LPC without using the 0xF4 command first (see LPC paragraph).