Search Notebooks
Galileo7 LPC1769 マイコンボードでmbedのプログラムを動かす

Page owner: user Suga koubou

Created 24 Dec 2011.
Last updated 16 Feb 2012

Galileo7 LPC1769 マイコンボードでmbedのプログラムを動かす

Page last updated 16 Feb 2012, by   user Suga koubou   tag No tags | 3 replies  

Galileo7 LPC1769 マイコンボードでmbedのプログラムを動かす

underconstruction

Specification - 主な仕様

I/O

Pin assign - ピンアサイン

20Pのソケット2つは、mbedと同じ配列です。

Arduinoと同じ配列の部分は以下の通り。
Arduinoシールドを重ねた時、イーサーネットのコネクタの高さが干渉する場合は、別途、連結ソケットで延長してください。

Digital

Shield pin012345678910111213
mbed P_272821222324252629308567

Analog

Shield pin012345
mbed P_151617189
19
10
20

micro SD

micro SD12345678
mbed P_14113.3V13GND12

Download - ダウンロード

Distribution - 販売

Ethernet

このボードは MACアドレスを持っていないため、ソフトウェアでMACアドレスを指定する。

Code

extern "C"
void mbed_mac_address(char *s) {
    char mac[6] = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55};
    memcpy(s, mac, 6);
}

ローカルエリア内であれば、他の機器とアドレスがかぶらない限り問題は発生しない。

Flash(ROM)書込み

lpc21isp

bin ファイルをそのまま書き込む。

Windows

  lpc21isp.exe -control com1 -bin filename.bin 57600 12000

UNIX

  lpc21isp -control /dev/ttys0 -bin filename.bin 57600 12000

http://sourceforge.net/projects/lpc21isp/

Flash Magic

bin ファイルを hex へ変換してから書き込む。

ファイル変換には LPCXpresso や Sourcery G++ Lite などに含まれている arm-none-eabi-objcopy コマンドを使う。

bin->hex

  arm-none-eabi-objcopy -I binary -O ihex filename.bin filename.hex

http://www.flashmagictool.com/

SWD接続

LPCXpresso基板のLPC-Link部とCPU部をつなぐ配線を中央で切り離し、SWD信号を引き出して接続することにより、LPCXpresso開発環境を利用することができます。

http://lpcxpresso.code-red-tech.com/

/media/uploads/okini3939/g7lpc1769_swd.jpg


3 comments on Galileo7 LPC1769 マイコンボードでmbedのプログラムを動かす:

25 Dec 2011

It is very cool. There are 2 type of pin row. The inside row is compatible 40 pins assigned with Mbed (only width that different). The outer row is compatible with Arduino shield. When is it will be available from web store?

20 Jan 2012

Thank you. Specifications are as you say.

Sorry, It's sold in only Japan. If better the sales, we may sell to the world. However, it's expensive than mbed.

21 Jan 2012

Hi,

wonderful board I would love to add this board to my collection. Where is it sold in Japan? Can you please give me an address?

Please login to post comments.