Author Topic: Custom ISP problems  (Read 2751 times)

Ruben

  • Guest
Custom ISP problems
« on: July 28, 2004, 06:23:36 am »
Good morning,

 I'm working with the Philips P89LPC922 and I'm flashing the micro via ISP using FlashMagic.
 I have no problem but I want to make my own "flashmagic" to flash the micro.

 I've seen how does FM sends the information and I have some questions.
 I tried sending starting bytes (read security bytes, write status byte, clean sectors and pages),  the whole HEX file and the finishing bytes (read boot vector, ...) as FM do and the micro doesn't works.

 Comparing the hex file and the information flashed, I have noticed that sometimes FlashMagic "cuts" the information and sends it in 2 different lines.

For example:
 Code Line ->   :100036002A004672656375656E636961204F555483

 Sended info-> :0A0036002A004672656375656E636B.
                        :060040006961204F5554D8.


There's a relationship whit this "cuts" and 64bytes sended but I don't know.

 Has somebody any idea about it???

 Thanks for all

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2163
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Custom ISP problems
« Reply #1 on: July 28, 2004, 08:05:17 am »
You cannot program across page boundaries.

Embedded Systems Academy, Inc.
support at esacademy dot com