Author Topic: p89lpc931 isp programming issue  (Read 8136 times)

See Jay

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: p89lpc931 isp programming issue
« Reply #60 on: May 30, 2014, 09:04:55 am »
Finally we got it to work!
We had a trivial issue in driving LEDs on Rxd/Txd pins. It was overloading those pins.

Thanks for your help!

jay

See Jay

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: p89lpc931 isp programming issue
« Reply #61 on: June 17, 2014, 08:44:18 am »
I have now a reprogramming issue. I have changed following parameters in Flashmagic Device configuration and programmed blinky.hex file.

1. Clock changes: high frequency crystal or resonator (4MHz .. 20MHz) - To enable 12 MHz on board crystal
2. Enabled Reset Pin
3. Enabled Brownout Detection

Erase all flash was selected with Protect ISP Code checked.

We are unable to reprogram the device after this flashing. I am attaching FM debug file with this email for a Read Device Signature option.

Could you help us out on this issue.

Thanks, Jay

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: p89lpc931 isp programming issue
« Reply #62 on: June 18, 2014, 01:05:39 am »
Your debug file shows Flash Magic sending the three reset pulses then a 'U'. Nothing is received back. So it seems that the device is not being placed in ISP mode.

I would double-check all the signals again with a scope to make sure nothing has changed there. If it all looks fine then it must be the new configuration somehow that is stopping ISP mode from being entered. Re-reading the user manual/datasheet might yield a clue.

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: p89lpc931 isp programming issue
« Reply #63 on: November 08, 2016, 02:09:24 pm »
From LindsiWaign:

Hi,

I am using BlueBoard LPC21xx and trying to program it using USB-Serial bridge, which is there on NGX ARM USB JTAG.
I have installed FTDI drivers and serial communication is working fine Docklight  Win7.
But if i try to burn the flash using FlashMagic its not working...
If i follow the switch press procedure mentioned in User Manual...
When i press resetsw3  ISP switchsw2...flash magic hangs...saying connected at 9600 and just hangs...

Some people say FlashMagic doesnt work with FT2232 based converters...

Please Help it really urgent
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: p89lpc931 isp programming issue
« Reply #64 on: November 08, 2016, 02:10:57 pm »
Hi LindsiWaign,

Due to a forum glitch your post and account was deleted. Please re-register. Sorry for the inconvenience. I have reposted your question.

In general please start a new topic for new questions.

Please generate and send us a debug file along with details of the settings you are using. Instructions are here:

http://www.flashmagictool.com/debugfile.html
Embedded Systems Academy, Inc.
support at esacademy dot com