Hi Pete,
2014-10-14: At this time I knew that this is not a solution for your problem. Reason why is in the Reply #25 & #26.
Very sorry. Using COMn as a FM's default is a best way.
Yutaro
------( 2014-10-13 posted message below )-----
Now it works fine. But it's too late ?
I gave it up last year because I met with a problem same as you.
For these past several days, I searched for the websites and challenged it again, but the result was no use.
However, I had solution by the problems this time.
The big difference is a thing with the following items.
a. 9600 [bps]
b. Enable (check mark) the "Use my timeouts for ISP operations" of "Timeouts" of
"Advanced Options..." in menu bar.
Next time you might have a same problem we had been, the solution is do the symbolic link again with ln command.
My environment:
- MacBook Air 2012 Mid model
- Mac OS X Version 10.9.5
- Silicon Lab CP210x Driver for Mac (Mac_OSX_VCP_Driver.zip)
- FlashMagic Version 8.16 ( use FM as abbr. )
- LPXpresso Version 7.4.0 ( 2014-09-16 )
- Target MCU named MARY MB with SiLab CP2104 USB chip
( NXP LPC1114LV/301, Oscillator: 12 [MHz], so NO Xtal ==> slow [bps] )
- USB cable : A to mini-B
1. Turn on the FlashMagic.app.
2. Open Terminal window.
$ cd /Applications/FlashMagic.app/Contents/Resources/dosdevices
$ ls ; <--- check the current info if COM3 disappeared.
; Next time, the COM3 will disappeared if FlashMagic abort.
3. Connect the target MCU via USB cable.
- Target program will running if programmed.
4. Go back to the Terminal window.
$ ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.SLAB_USBtoUART
/dev/cu.Bluetooth-Modem
$ ls
if symbolic link COM3 is not exist then type the following command
$ ln -s /dev/cu.SLAB_USBtoUART COM3
If some settings are wrong or not fit for FM and/or TargetMCU then
FlashMagic for Mac (v8.16) will often abort with no messages or hang up on START push.
I suppose it caused COM3 disappeared.
Flash Magic Settings:
Step 1:
COM Port: COM3
Baud Rate: 9600 ; NOT 115200
Interface: None (ISP)
Oscillator [MHz]: 12
Step 2:
"Erase blocks used by Hex File" <-- Enable
Step 3:
Step 4:
"Fill unused flash" <-- Enable
Advanced Options:
Hardware Config:
"Use DTR and RTS to control RTS and ISP pin" <-- Enable
Timeouts:
"Use my timeouts for ISP operations" <-- Enable
, and then push the "OK" button.
After pushing the "Start" button, if you have this dialogue message below,
but the way left here is merely choose one "Yes".
Warning Message from FlashMagic :
The device signature does not match the expected values, Accessing a
device using the wrong protocol could the render the device unusable.
Do you want to continue ?
Yes or No
Yutaro