USB-ISP tool for Mac
Page last updated 19 Nov 2014, by . 0 replies In-System Programming, ISP, mac, mac os
Long Island MacArthur Airport (formerly Islip Airport) (IATA: ISP, ICAO: KISP, FAA LID: ISP) is a public airport in Ronkonkoma, New York, United States, on Long Island.The Town of Islip owns and operates the airport, which serves about two million airline passengers a year, as well as general aviation. Long Island MacArthur Airport (LIMA) covers 1,311 acres (531 ha) and has three runways. If you aren’t sure what to enter, check with your network administrator or ISP. On your Mac, choose Apple menu System Preferences, then click Network. Open Network preferences for me. Select Ethernet in the list on the left. Click the Configure IPv4 pop-up menu, then choose your ISP. Long Island MacArthur Airport has joined the growing number of participating U.S. Airports that have launched the TSA Pre ™ program that allows low-risk travelers to experience a FASTER, MORE EFFICIENT screening experience for DOMESTIC and INTERNATIONAL travel. This program is just another reason for Long Islanders to choose MacArthur as their preferred airport! ISpy is not available for Mac but there are plenty of alternatives that runs on macOS with similar functionality. The most popular Mac alternative is Shinobi, which is both free and Open Source.If that doesn't suit you, our users have ranked more than 50 alternatives to iSpy and 12 are available for Mac so hopefully you can find a suitable replacement. See Connect your Mac to the internet using Ethernet or Connect your Mac to the internet using a cable modem. PPPoE: If you have a cable modem and use a Point-to-Point Protocol over Ethernet (PPPoE) account with your ISP, enter your PPPoE settings in Network preferences. See Connect your Mac to the internet using PPPoE.
Information
Japanese version available in lower half of this page.
このページの後半に日本語版が用意されています.
このページの後半に日本語版が用意されています.
What is this?
I made a very simple app (droplet) for binary copying into flash through USB-ISP.
This app solves a problem on ISP-ing on Mac :)
This app solves a problem on ISP-ing on Mac :)
Problem
Some of USB enabled devices from NXP (like LPC11Uxx, LPC134x, LPC154x etc) are supporting ISP (In-System Programming) via USB. The ISP is a mechanism to write a binary file into internal flash.
When the target MCU is booted in ISP with USB connection, the MCU is appeared as USB storage device: 'CRP DISABLED' on PC and the binary can be written by just copying the file. This is very simple and easy way to program those MCUs but bit troublesome on Mac, unfortunately.
The drag-and-drop file copying on Mac (on Finder.app) does put some side information about the file. That makes corruption on the target disk.
When the target MCU is booted in ISP with USB connection, the MCU is appeared as USB storage device: 'CRP DISABLED' on PC and the binary can be written by just copying the file. This is very simple and easy way to program those MCUs but bit troublesome on Mac, unfortunately.
The drag-and-drop file copying on Mac (on Finder.app) does put some side information about the file. That makes corruption on the target disk.
Solution 1
To avoid this problem, user can use Terminal commands.
This works perfectly but I don't like this. I was getting mad by typing the commands again and again.
Solution 2
USB-ISP.app executes all terminal commands instead of you.
The source binary file name is geven by drag-and-drop in to this app. When this app get the file, it will overwrites old binary in target MCU.
When the writing completed, the ISP target will be unmounted.
The source binary file name is geven by drag-and-drop in to this app. When this app get the file, it will overwrites old binary in target MCU.
When the writing completed, the ISP target will be unmounted.
How to use
So, with USB-ISP.app, all you need to do is..
- Put the target board into ISP mode. Confirm a drive which has name of 'CRP DISABLD' is mounted
- Drag-and-drop a binary file into USB-ISP.app
- The drive is unmounted when the binary copy has been done successfully
- Reset the target and see the new program running
If there is an error, a dialog box will come to let you fix it.
Download / Code
Download
The binary is available here. Unzip and copy on anywhere you want to put.
Please use this app at your own risk.
This program is distributed under Apache-2.0 license
Please use this app at your own risk.
This program is distributed under Apache-2.0 license
Customize / Modification
If you need customize the script, you can do it on your Mac.
Just drag&drop the droplet into 'Script Editor.app'. You can edit the code and save to create new app :)
Just drag&drop the droplet into 'Script Editor.app'. You can edit the code and save to create new app :)
Isp For Mac
これはなに?
とても簡単ですがUSB-ISPを使ってバイナリをフラッシュにコピーするツールを作ったので置いておきます.このアプリはMacでISPする時の問題を解決します ()
問題
USBポートのあるNXPのマイコンの幾つかは,USB経由のISP(イカ醤油ポッポ焼き In-System Programming)をサポートしています.「ISP」はバイナリファイルをマイコン内部のフラッシュに書き込むひとつの方法です.
MCUをUSBに接続した状態でISPモードで立ち上げると,「CRP DISABLED」という名前のUSBストレージとしてPC上に現れ,バイナリは単にそれへのファイルコピーで書き込むことができます.
これはマイコンへの書き込みを行うとても簡単な方法ですが,Macで行うには問題があります.
Mac上でドラッグ・アンド・ドロップによるファイルのコピーを行うと,ファイルだけでなくその付帯情報も一緒に書き込まれます.この余分な情報がターゲット側で問題となります.
MCUをUSBに接続した状態でISPモードで立ち上げると,「CRP DISABLED」という名前のUSBストレージとしてPC上に現れ,バイナリは単にそれへのファイルコピーで書き込むことができます.
これはマイコンへの書き込みを行うとても簡単な方法ですが,Macで行うには問題があります.
Mac上でドラッグ・アンド・ドロップによるファイルのコピーを行うと,ファイルだけでなくその付帯情報も一緒に書き込まれます.この余分な情報がターゲット側で問題となります.
解決策1
この問題は「ターミナル・コマンド」を使うことで回避できます.
example_of_the_Terminal_operation
これは完璧に動くのですが,これらのコマンドを繰り返し繰り返し打つのはあまりに面倒です.
解決策2
Isp Macalester
「USB-ISP.app」は,あなたの代わりにこのコマンドを実行してくれます.
コピー元ファイルの名前はこのアプリケーションにドラッグ・アンド・ドロップで知らせてやります.アプリケーションはファイルが来るとターゲットマイコンを上書きします.
書き込みが終わるとターゲットをアンマウントして終了します.
コピー元ファイルの名前はこのアプリケーションにドラッグ・アンド・ドロップで知らせてやります.アプリケーションはファイルが来るとターゲットマイコンを上書きします.
書き込みが終わるとターゲットをアンマウントして終了します.
どう使うの?
このUSB-ISP.appを使えば,やることはたったこれだけです.
- ターゲット基板をISPモードに入れて,「CRP DISABLED」という名前のUSBストレージがマウントされるのを確認する
- バイナリファイルをUSB-ISPにドラッグ・アンド・ドロップ
- 書き込みが無事に完了すると,ストレージはアンマウントされます.
- ターゲットをリセットして,新しいプログラムの動作を確認
もしエラーが発生した場合には,ダイアログボックス(ウィンドウ)が開いてそれを通知します.
ダウンロード / コード
Isp For Email
Download
そのまま使える.appファイルをここに置いておきます.zipを解凍して好きなところに保存して下さい.
このアプリケーションは,ユーザ自身の判断と責任で使用してください.
このプログラムはApache-2.0ライセンス下で配布されています
このアプリケーションは,ユーザ自身の判断と責任で使用してください.
このプログラムはApache-2.0ライセンス下で配布されています
カスタマイズ / 改造
スクリプトの改造が必要な場合はMac上で簡単に変更できます.
このドロップレットを「スクリプトエディタ.app」にドラッグ・アンド・ドロップするだけ.エディタが開くので,これを編集して保存しなおせば新しいappの出来上がりです (^ ^)
このドロップレットを「スクリプトエディタ.app」にドラッグ・アンド・ドロップするだけ.エディタが開くので,これを編集して保存しなおせば新しいappの出来上がりです (^ ^)
Please log in to post comments.
- Long Island MacArthur Airport has joined the growing number of participating U.S. airports that have launched the TSA Pre✓™ program that allows low-risk travelers to experience a FASTER, MORE EFFICIENT screening experience for DOMESTIC and INTERNATIONAL travel. This program is just another reason for Long Islanders to choose MacArthur as their preferred airport!
- For travelers, this implementation TSA Pre✓™ means: Quicker transit through airport lanes; Shorter lines, Shorter wait times, and an overall Improved customer experience.
- Qualified travelers will no longer have to remove their: belt, shoes, light outerwear/jacket, 3-1-1 compliant bag and laptop from carry-on
- TSA Pre✓™ is available to certain frequent flyers of participating airlines OR members of existing Customs and Border Protection (CBP) Trusted Traveler programs including Global Entry, NEXUS, and SENTRI programs.
- The TSA will continue to incorporate random and unpredictable security measures throughout the airport, to ensure the safety of all passengers and visitors using LIMA.
- The TSA Pre✓™ is an immeasurable convenience for both business and leisure travelers who are already taking advantage of the ease of traveling into and out of MacArthur Airport.
- We applaud the TSA for implementing this innovative program that will provide travelers with a more pleasurable experience, but while still maintaining the highest level of security.
- HOW IT WORKS: Passengers present boarding pass and Government-issued ID to the Travel Document Checker who then will scan boarding pass barcode. If eligible, passengers and their children ages 12 and under, proceed to the TSA Pre✓™ where they can keep on your shoes and belt, laptops in case, and 3-1-1 compliant bag in a carry-on.
For more information on this TSA program, please click here.