Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/26/09 10:01
Read: times


 
#168555 - Tried boot loader update
Responding to: ???'s previous message
Jan Waclawek said:

What exactly means "I am not able to read back BLOCK1", does it read all FFs, or does it refuse to read? Can chiperase be switched off? Are there any other options to set? Can you program BLOCK1 alone?


The programmer is ALL11 from Hi-Lo, (it is now 12years old!), I keep updating the programmers firmware from their website, but now they have discontinued this model, their last firmware supports the P89V51RD2 from Philips.

I can independently erase or program BLOCK0 or BLOCK1 with hex or binary files, but reading back reads only BLOCK0 and not BLOCK1, I think this is the programmers limitation.

Jan Waclawek said:

I know only of one: http://www.flashmagictool.com/assets/re...Update.zip . Beware, this is an "updater", not the bootloader itself (it does contain the bootloader, though, and COULD be made workable, but that's not quite trivial). It is supposed to be programmed to BLOCK0 while the original bootloader still sits in BLOCK1, and then upon subsequent running of the chip, running from BLOCK0 it would reprogram BLOCK1. But that won't work if you program it into BLOCK1 (besides, it is bigger than the 8kB of BLOCK1, isn't it?)


Philips - Upgrade instructions.. said:

Updating using ISP to load a bootloader update utility
The bootloader update utility is an application program that, when running as a user application program, will erase and reprogram
the bootloader memory with the bootloader Version 05 code. The bootloader update utility is first programmed into the
user code memory of the microcontroller using an ISP tool such as FlashMagic. Next, the bootloader update utility is run as an
user application. The update requires only a few seconds. After completion, the device will contain the Version 05 bootlaoder
and the utility residing in the user code memory can be erased using ISP tools such as FlashMagic.


OK, from what I understood from the above I did the following:

1. I erased the device completely both the BLOCK0 and BLOCK1

2. Programmed this file : P89V51RD2_V05_UPD_ISP.hex - in BLOCK0

3. Next placed this device in my target application and powered up for 10 to
15 seconds. This is supposed to update BLOCK1 with the new boot loader.

4. Still not working.

I think for the above method to work the old boot loader should be present in BLOCK1 to jump to BLOCK0 and execute the boot loader update which will in turn program BLOCK1 with the new boot loader.

OK - so Jan has already mentiond this:
Jan Waclawek said:

It is supposed to be programmed to BLOCK0 while the original bootloader still sits in BLOCK1


I think the problem is with my programmer, it is not able to program BLOCK1 with provided hex code.

John.



List of 11 messages in thread
TopicAuthorDate
P89V51RD2 from NXP programming problem            01/01/70 00:00      
   you need a "bootloader"            01/01/70 00:00      
      NXP Device Resources            01/01/70 00:00      
         ... and more...            01/01/70 00:00      
            P89V51RD2 from NXP programming problem            01/01/70 00:00      
               beware of "bootloader updater"            01/01/70 00:00      
                  Probably boot loader confusion            01/01/70 00:00      
                     questions, questions, questions            01/01/70 00:00      
                        Tried boot loader update            01/01/70 00:00      
                           try this            01/01/70 00:00      
                              ISP did not work            01/01/70 00:00      

Back to Subject List