Author Topic: Programing 8k code on LPC932  (Read 6958 times)

Simon

  • Guest
Programing 8k code on LPC932
« on: October 30, 2004, 02:09:27 pm »
Hi
I use Flash magic for a long time and work fine! Now I have problem. My program is 7677bytes long. I need to erase ISP flash. There is problem. I unset protect ISP and try to programing, but everytime when I start  programing (erasing) flashmagic stop. It is not hang on, but do nothing (command cancel work). Simply I can't program chip with full 8k ! any solutions? I use last version flash magic.
btw. Do someone know how to program in parallel mode? I have WILLEM programator. Some other parallel programator? Pse shematic. I have some chips with erased bootROM.....

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programing 8k code on LPC932
« Reply #1 on: October 30, 2004, 10:26:16 pm »
When Protect ISP is turned on, Flash Magic will erase all the way up to the start of the bootloader, which begins at 1E00H. Your code should still fit.

If you turn Protect ISP off, then when you perform the erase you also erase the bootloader. Flash Magic appears to stop because it is stuck waiting for the response from the erase command - a response which will never arrive.

No, you cannot program the full 8k of the device when using ISP. The top part of memory is always used for the bootloader.

If you are going to program the device in a parallel programmer only, then you can erase the whole 8k and program the whole 8k. ISP will no longer work.

Embedded Systems Academy, Inc.
support at esacademy dot com

Simon

  • Guest
Re: Programing 8k code on LPC932
« Reply #2 on: November 01, 2004, 12:53:00 pm »
Hi Andy
I know this is off tropic but, do you have some schematic for parallel programator?

TNX on help
Simon


erikm

  • Guest
Re: Programing 8k code on LPC932
« Reply #3 on: November 01, 2004, 02:30:23 pm »
I know this is off tropic but, do you have some schematic for parallel programator?
fortunately more and more manufactureres (including Philips) do not release parallel programming info due to the many disasters with kitchen table programmers.

There are many programmers out there selling at prices from $300 up.  If a single chip, maybe your friendly locan Philips FAE can program the ISP code back for you.

Erik

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programing 8k code on LPC932
« Reply #4 on: November 01, 2004, 03:04:25 pm »
Sorry, I don't have one.

Embedded Systems Academy, Inc.
support at esacademy dot com

number5

  • Guest
Re: Programing 8k code on LPC932
« Reply #5 on: December 02, 2004, 07:08:18 am »