Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Philips Flash Utility V2.2.1 question

Philips Flash Utility V2.2.1 question

2005-02-11 by gregdeuerling

I have a program that has several 16x16 tables that are stored in 
fixed locations in flash memory. I'm using Keil's compiler and using 
the _at_ attribute to do this, it works great.

My tables change quite often but the code does not change at all.  
I'd like a way to be able to reprogram just the tables in flash and 
not touch the code section.

I was wanting to use Philips Flash Utility (PFU from here on) to 
program JUST the table locations I want to change.  I generate a 
hex386 file of just the table data and fire up the "Flash Buffer 
Operations" in PFU and load the hex file.  My new tables show up 
exactly where they are supposed to be, but when I hit the "Upload to 
Flash" button PFU programs the entire flash memory.  I have 
the "selected range" button selected with the proper range in it.

The only way I've gotten this to work is to open the orginal hex 
file into a text editor and append the new table hex file to the end 
of it.

Can I not just program certain pages in flash and leave the rest 
alone?

Thanks...

Re: [lpc2000] Philips Flash Utility V2.2.1 question

2005-02-11 by Robert Adsett

At 07:40 PM 2/11/05 +0000, gregdeuerling wrote:
>Can I not just program certain pages in flash and leave the rest
>alone?

Another option would be to use Martins LPC21ISP program.  I think it 
programs the whole flash as well but it would be easy enough to modify it 
to do a subset.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

RE: [lpc2000] Philips Flash Utility V2.2.1 question

2005-02-11 by Greg Deuerling

Sent: Friday, February 11, 2005 1:47 PM
To: lpc2000@yahoogroups.com; lpc2000@yahoogroups.com
Show quoted textHide quoted text
Subject: Re: [lpc2000] Philips Flash Utility V2.2.1 question

At 07:40 PM 2/11/05 +0000, gregdeuerling wrote:
>Can I not just program certain pages in flash and leave the rest
>alone?

> From: Robert Adsett [mailto:subscriptions@...]
> Another option would be to use Martins LPC21ISP program.  I think
> it programs the whole flash as well but it would be easy enough
> to modify it to do a subset.

Hi Robert,

Martin's webpage is no longer there?
It was there a few weeks ago?
Anyways, I'm using a LPC2194 and Martins web page said that LPC21ISP did
not support the newer chips like the LPC2194 with 256K of flash.  I've
never tried it for that reason.

Thanks for the reply!


Greg Deuerling
Fermi National Accelerator Laboratory
Feynman Computing Center, Room 370, MS 368
P.O.Box 500 Batavia, IL 60510

Re: [lpc2000] Philips Flash Utility V2.2.1 question

2005-02-11 by capiman@t-online.de

Hello,

> Martin's webpage is no longer there?
> It was there a few weeks ago?
> Anyways, I'm using a LPC2194 and Martins web page said that LPC21ISP did
> not support the newer chips like the LPC2194 with 256K of flash.  I've
> never tried it for that reason.

The website still exists under this address, but it seems to have a 
temporary failure. I contact my ISP for the reason !

You can try to programm small programm, but the newer chips have a different 
page structure.
Usually you don't break anything, but it just reports an error.

Regards,

          Martin

RE: [lpc2000] Philips Flash Utility V2.2.1 question

2005-02-11 by Robert Adsett

At 02:07 PM 2/11/05 -0600, Greg Deuerling wrote:
>At 07:40 PM 2/11/05 +0000, gregdeuerling wrote:
> >Can I not just program certain pages in flash and leave the rest
> >alone?
>
> > From: Robert Adsett
> > Another option would be to use Martins LPC21ISP program.  I think
> > it programs the whole flash as well but it would be easy enough
> > to modify it to do a subset.
>Anyways, I'm using a LPC2194 and Martins web page said that LPC21ISP did
>not support the newer chips like the LPC2194 with 256K of flash.  I've
>never tried it for that reason.

Ahhh, it does need updating for that as well.  It should be straight 
forward, but apparently those with an interest haven't had either the time 
or a chip to work with.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Re: [lpc2000] Philips Flash Utility V2.2.1 question

2005-02-11 by capiman@t-online.de

Hello again,

> Martin's webpage is no longer there?

Webpage is online again :-)

see http://www.clibb.de/lpc21xx/isp/index.html   or

http://guest.engelschall.com/~martin/lpc21xx/isp/index.html (same server)

Regards,

        Martin

Re: Philips Flash Utility V2.2.1 question

2005-02-11 by Richard

Try using Keils JTAG loader.  I have had to do the same sort of thing
to test IAP erase rotines and I was able to fill the flash with a
pattern and load code through the JTAG without disturbing the extra
flash space.  Make sure that, in the Utility settings that the flash
loader is set to erase sectors, not the entire chip.

Richard

te:
Show quoted textHide quoted text
> 
> 
> I have a program that has several 16x16 tables that are stored in 
> fixed locations in flash memory. I'm using Keil's compiler and using 
> the _at_ attribute to do this, it works great.
> 
> My tables change quite often but the code does not change at all.  
> I'd like a way to be able to reprogram just the tables in flash and 
> not touch the code section.
> 
> I was wanting to use Philips Flash Utility (PFU from here on) to 
> program JUST the table locations I want to change.  I generate a 
> hex386 file of just the table data and fire up the "Flash Buffer 
> Operations" in PFU and load the hex file.  My new tables show up 
> exactly where they are supposed to be, but when I hit the "Upload to 
> Flash" button PFU programs the entire flash memory.  I have 
> the "selected range" button selected with the proper range in it.
> 
> The only way I've gotten this to work is to open the orginal hex 
> file into a text editor and append the new table hex file to the end 
> of it.
> 
> Can I not just program certain pages in flash and leave the rest 
> alone?
> 
> Thanks...

RE: [lpc2000] Re: Philips Flash Utility V2.2.1 question

2005-02-11 by Greg Deuerling

> From: Richard [mailto:richas@...] 
> Sent: Friday, February 11, 2005 3:16 PM
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] Re: Philips Flash Utility V2.2.1 question
>
> Try using Keils JTAG loader.  I have had to do the same sort of
> thing to test IAP erase rotines and I was able to fill the flash
> with a pattern and load code through the JTAG without disturbing
> the extra flash space.  Make sure that, in the Utility settings
> that the flash loader is set to erase sectors, not the entire chip.

Yes I can do it that way, but the guys in the field don't have a seat of
Keil's CKARM and JTAG loader.  Was looking not to purchase another seat of
CKARM :)

It's no big deal appending the new table hex file to the end of the code
hex file.  The guys who are updating the tables or VERY non-techi and
asking them to do this with a text editor is asking for trouble.  I'll
have to come up with a program or script that does it form them, then
fires up the flash utility with the file loaded.  Then all they have to do
is push "Program".

Thanks for the reply...


Greg Deuerling
Fermi National Accelerator Laboratory
Feynman Computing Center, Room 370, MS 368
P.O.Box 500 Batavia, IL 60510

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.