Author Topic: FlashMagic from Dell Core Duo Laptop  (Read 33967 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: FlashMagic from Dell Core Duo Laptop
« Reply #30 on: October 24, 2007, 12:50:49 pm »
Are you looking at Options -> Advanced Options -> Communications Tab? If so when an LPC2xxx device is selected the 6 clock/12 clock option shouldn't be shown as they are not relevant.

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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: FlashMagic from Dell Core Duo Laptop
« Reply #31 on: October 24, 2007, 12:51:53 pm »
Sorry, forgot you are using the command line. Use zero as it doesn't apply.

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

Shawn

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: FlashMagic from Dell Core Duo Laptop
« Reply #32 on: October 24, 2007, 12:52:37 pm »
I am writing for the command line interface.  But your answer gives me what I need.  For the LPC2378, the option is unused and sent as a 0.

Thanks yet again.

Shawn

Shawn

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: FlashMagic from Dell Core Duo Laptop
« Reply #33 on: October 24, 2007, 01:56:40 pm »

Hi Andy.

Don't hate me yet.

I tried highspeed mode (in the GUI) and recorded these results.  I get a failed to read device signature when I try to program.  I answer NO when it asks if I want to continue.  I answered yes once but it still failed.

Is there anything in these files that would help you guide me to be able to use highspeed mode?

Shawn

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: FlashMagic from Dell Core Duo Laptop
« Reply #34 on: October 25, 2007, 10:03:07 am »
In both cases FM ends up using 38400 baud as the device cannot manage 57600 baud at 12MHz. Here FM sends the new baudrate:

Code: [Select]
tx> B 38400 1\d\a
rx> B 38400 1\d\a
rx> 0\d\a

The '0' means that the device accepted the command. FM then switches to 38400, but keeps getting corrupted data back from the device:

Code: [Select]
rx> ??38?9?077??
I'm not sure why this is happening. I would use a scope to measure the pulse widths at each end of the communication path (device TxD pin and PC com port).

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

Shawn

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: FlashMagic from Dell Core Duo Laptop
« Reply #35 on: October 25, 2007, 10:19:06 am »

Does the clock setting in the device command set the clock?  Is there a reason NOT to set it higher?

Shawn

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: FlashMagic from Dell Core Duo Laptop
« Reply #36 on: October 25, 2007, 10:22:50 am »
Do you mean the crystal frequency you enter into Flash Magic? The device needs to know how fast it is running for the bootloader to function correctly. This must be accurate. If you are using 12MHz then enter 12.000.

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