Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Yutaro Oguchi

General Discussion / Re: OS X support
October 14, 2014, 07:44:32 AM
Hi Andy ( & Pete ),

I may have to apologize for former comment (Reply #24) I posted that is NOT a solution for Pete's problem.
I have written wrong comment by the matter that I overlooked.

In Andy's Reply #25:>
   On startup FM deletes all symbolic links and recreates them. ...

I just knew the function of the initial movement of FM in what Andy pointed out above.
I connected the target, and then checked the symbolic links on startup FM.

   $ cd /Applications/
   $ ls -l COM*
   lrwxr-xr-x  1 yutaro  admin  31 Oct 14 22:24 COM4 -> /dev/cu.Bluetooth-Incoming-Port
   lrwxr-xr-x  1 yutaro  admin  23 Oct 14 22:24 COM5 -> /dev/cu.Bluetooth-Modem
   lrwxr-xr-x  1 yutaro  admin  22 Oct 14 22:24 COM6 -> /dev/cu.SLAB_USBtoUART
   lrwxr-xr-x  1 yutaro  admin  32 Oct 14 22:24 COM7 -> /dev/tty.Bluetooth-Incoming-Port
   lrwxr-xr-x  1 yutaro  admin  24 Oct 14 22:24 COM8 -> /dev/tty.Bluetooth-Modem
   lrwxr-xr-x  1 yutaro  admin  23 Oct 14 22:24 COM9 -> /dev/tty.SLAB_USBtoUART

COM6 (that I overlooked) is appeared as a correct symbolic link for my target MCU.

FM's settings:
   Step 1:
      Baud Rate: 115200 [bps]   ;
   Advanced Options:
      Hardware Config:
         "Use DTR and RTS to control RTS and ISP pin" <-- Enable
         "Use my timeouts for ISP operations" <--- No check

By using COM6, my problem has gone away, and it works VERY FINE very fast.
Thank you, Andy.

So I think for now it should remove the last post (Reply #24).

General Discussion / Re: OS X support
October 13, 2014, 11:18:26 AM
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.


------( 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 (
   - 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
2.   Open Terminal window.
   $ cd /Applications/
   $ 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
   $ 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
         "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