Author Topic: Via firmware, how to tell if LPC932 or LPC932A1?  (Read 3654 times)

GarryK

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Via firmware, how to tell if LPC932 or LPC932A1?
« on: September 11, 2007, 06:44:21 am »
I have a design that was developed using the LPC932.
From the firmware, an iap_write call is used to disable the watchdog timer and enable the ISP mode.

The part has now changed to the LPC932A1 and the iap_write command no longer works... ouch.
It looks like I will need to add an extra setting to get the iap_write command working with the newer part and
I will end up with a mix of boards in the field....

Is there a way from the firmware running on the part that I can detect which part the firmware is running on?
(LPC932 vs LPC932A1)

Thanks

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Via firmware, how to tell if LPC932 or LPC932A1?
« Reply #1 on: September 20, 2007, 09:08:11 am »
Can you try calling iap_write and see if it is successful or not? Perhaps by waiting a certain period? What does the A1 device do when you try to call iap_write?

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

GarryK

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Via firmware, how to tell if LPC932 or LPC932A1?
« Reply #2 on: September 21, 2007, 09:10:20 am »
I have added the code for the LPC932A1 after the code for LPC932, and it seems to work correctly with
both versions of the part...:)

Thanks for the response.