0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

El Capitanでswddude

Last updated at Posted at 2018-07-27

swddudeをMac OS Xで使ってみたをEl Capitanで試してみた。

libusbはconfigureを実行してmakeするとビルドできます。libftdiは前のページに書いたように手動でビルドします。

私のgithubのリポジトリをclone --recursiveして必要なヘッダーとlibをコピーして、ビルドできました。

El CapitanはAppleのFTDIのドライバがロードされるので、デバイスをつないだ後に、このドライバのunloadが必要です。

$ sudo kextunload /System/Library/Extensions/AppleUSBFTDI.kext

これで実行できます。

$ source/release/swdprobe -programmer um232h
 Notice..: SWD communications initialized successfully.
 Notice..: SWD-DP IDCODE = 0BB11477
 Notice..:   Version:   0
 Notice..:   Part:      BB11
 Notice..:   Designer:  23B
 Notice..: Scanning for connected Access Ports...
 Notice..: Access Port #0: IDR = 04770021
 Notice..:   Found MEM-AP.
 Notice..: Device @E00FF000
 Notice..:   Device is ROM table: 4096 bytes
 Notice..: Device @E000E000
 Notice..: Heuristic detection failed, component unknown.
 Notice..: Device @E0001000
 Notice..: Heuristic detection failed, component unknown.
 Notice..: Device @E0002000
 Notice..: Heuristic detection failed, component unknown.

ichigojamを焼いてみました。

$ source/release/swddude -flash ichigojam-ntsc-jpkbd.bin -fix_lpc_checksum

さらのLPCには焼けるのですが、一度ichigokjamを焼いてしまうとSWDのピンをプログラムが使っているようで焼けなくなります。焼き直しの場合はISP(lpc21isp)で焼く必要があるようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?