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: > > > 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...
Message
Re: Philips Flash Utility V2.2.1 question
2005-02-11 by Richard
Attachments
- No local attachments were found for this message.