No tags
|
3 replies

underconstruction
20Pのソケット2つは、mbedと同じ配列です。
Arduinoと同じ配列の部分は以下の通り。
Arduinoシールドを重ねた時、イーサーネットのコネクタの高さが干渉する場合は、別途、連結ソケットで延長してください。
| Shield pin | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mbed P_ | 27 | 28 | 21 | 22 | 23 | 24 | 25 | 26 | 29 | 30 | 8 | 5 | 6 | 7 |
| Shield pin | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| mbed P_ | 15 | 16 | 17 | 18 | 9 19 | 10 20 |
| micro SD | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| mbed P_ | 14 | 11 | 3.3V | 13 | GND | 12 |
このボードは MACアドレスを持っていないため、ソフトウェアでMACアドレスを指定する。
extern "C"
void mbed_mac_address(char *s) {
char mac[6] = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55};
memcpy(s, mac, 6);
}
ローカルエリア内であれば、他の機器とアドレスがかぶらない限り問題は発生しない。
bin ファイルをそのまま書き込む。
lpc21isp.exe -control com1 -bin filename.bin 57600 12000
lpc21isp -control /dev/ttys0 -bin filename.bin 57600 12000
http://sourceforge.net/projects/lpc21isp/
bin ファイルを hex へ変換してから書き込む。
ファイル変換には LPCXpresso や Sourcery G++ Lite などに含まれている arm-none-eabi-objcopy コマンドを使う。
arm-none-eabi-objcopy -I binary -O ihex filename.bin filename.hex
http://www.flashmagictool.com/
LPCXpresso基板のLPC-Link部とCPU部をつなぐ配線を中央で切り離し、SWD信号を引き出して接続することにより、LPCXpresso開発環境を利用することができます。
http://lpcxpresso.code-red-tech.com/

Please login to post comments.
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?