Author Topic: MAC OS Settings  (Read 6892 times)

gjimenez

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
MAC OS Settings
« on: August 05, 2015, 06:08:22 pm »
I am trying to Firmware flash a device (a calculator) connected to my Mac Mini (OS Yosemite), on a USB port, but I am not being able to connect to this device

I don't know what COM Port to use, or what baud rate

Thank you for your help !
« Last Edit: August 06, 2015, 01:04:12 am by Andy Ayre »

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: MAC OS Settings
« Reply #1 on: August 06, 2015, 01:04:45 am »
Please start a new topic for new questions. I've fixed it for you this time.

What microcontroller is being used?
Embedded Systems Academy, Inc.
support at esacademy dot com

gjimenez

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: MAC OS Settings
« Reply #2 on: August 06, 2015, 02:54:47 pm »
Thank you Andy.  The CPU on the "device"  (a calculator) is the LPC1115

Giovanni

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: MAC OS Settings
« Reply #3 on: August 07, 2015, 12:58:16 am »
Start off with 19200 baud, which is slow but should be reliable.

For the COM port please carefully read through this:

http://forum.flashmagictool.com/index.php?topic=4130.0

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

gjimenez

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: MAC OS Settings
« Reply #4 on: August 07, 2015, 12:51:52 pm »
Hello Andy,

This is what I see in terms of available COM ports:
lrwxr-xr-x  1 gjimenezdorigo  admin  24 Aug  7 15:32 COM10 -> /dev/tty.Bluetooth-Modem
lrwxr-xr-x  1 gjimenezdorigo  admin  23 Aug  7 15:32 COM11 -> /dev/tty.EV3-SerialPort
lrwxr-xr-x  1 gjimenezdorigo  admin  32 Aug  7 15:32 COM12 -> /dev/tty.GiovanniJimenezsiPod-Wi
lrwxr-xr-x  1 gjimenezdorigo  admin  23 Aug  7 15:32 COM13 -> /dev/tty.SLAB_USBtoUART
lrwxr-xr-x  1 gjimenezdorigo  admin  31 Aug  7 15:32 COM4 -> /dev/cu.Bluetooth-Incoming-Port
lrwxr-xr-x  1 gjimenezdorigo  admin  23 Aug  7 15:32 COM5 -> /dev/cu.Bluetooth-Modem
lrwxr-xr-x  1 gjimenezdorigo  admin  22 Aug  7 15:32 COM6 -> /dev/cu.EV3-SerialPort
lrwxr-xr-x  1 gjimenezdorigo  admin  31 Aug  7 15:32 COM7 -> /dev/cu.GiovanniJimenezsiPod-Wi
lrwxr-xr-x  1 gjimenezdorigo  admin  22 Aug  7 15:32 COM8 -> /dev/cu.SLAB_USBtoUART
lrwxr-xr-x  1 gjimenezdorigo  admin  32 Aug  7 15:32 COM9 -> /dev/tty.Bluetooth-Incoming-Port

So I assume I should use either Com 8 or COM 13

When I use COM 13, I get the "Failed to Autobaud - step 1" error msg.  I went to the forum page but cannot figure out what I need to do to make the connection. The calculator I am trying to connect is new, and the cable (micro USB - USB) is new as well, so I doubt the issue is with the calc or the cable

Thanks !


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: MAC OS Settings
« Reply #5 on: August 07, 2015, 01:57:30 pm »
How are you putting the LPC1115 into ISP mode exactly?

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

gjimenez

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: MAC OS Settings
« Reply #6 on: August 07, 2015, 03:56:54 pm »
Yes, I selected  LPC1115/303

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: MAC OS Settings
« Reply #7 on: August 08, 2015, 02:55:28 am »
Selecting a microcontroller in Flash Magic doesn't put it into ISP mode. It is done by setting the state of specific pins on the microcontroller while resetting it. Please see the LPC1100 user manual from NXP for full details. Look at the flash programming chapter.
Embedded Systems Academy, Inc.
support at esacademy dot com