Help us understand the problem. What is going on with this article?

El Capitanでswddude

More than 1 year has passed since last update.

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)で焼く必要があるようです。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした