I've discovered that the Keil IDE has nothing to do with the ISP
problem I'm seeing.
When uploading to a Keil 2140 Eval board:
If I invoke the Philips Flash Utility via command line using
"LPC210x_ISP.EXE blinky.hex 12000 LPC2148 COM1: 38400 1", the code
loads and runs fine.
If I invoke the Philips Flash Utility and from the first screen UPLOAD
TO FLASH with blinky.hex as the file name, it loads and runs fine.
If I invoke the Philips Flash Utility and go to BUFFER, FLASH BUFFER
OPERATIONS, LOAD HEXFILE (blinky.hex), then UPLOAD TO FLASH, it does
not load correctly and therefore it won't run. The code in memory of
the first two loads is different than this last method.
Does anyone know why this method isn't the same as the first two?
What am I missing?
Sutton
--- In lpc2000@yahoogroups.com, Anand Pavaskar <anand.pavaskar@...> wrote:
>
> Hi,
>
> The code that you see on the target is as per the Linker Definition File
> (LDF or memory map ).
> hence each section of the code goes to a defined location as per the
> LDF.Youcan get a listing file generated to see the actual generated
> mamory address.
>
> ( Go to Flash -> Configure Flash tools -> listings tab)
>
> Regards
> Andy
>
>
>
> On 2/16/06, dodge1955 <sutton@...> wrote:
> >
> > Can anyone help me figure out why a certain ISP programming is not
> > working correctly?
> >
> > I can compile one of the Keil demo examples (blinky) and upload it
> > correctly if it is done through the IDE (Flash, Download) and it works
> > fine. If I manually invoke the Philips Flash Utility and do it
> > manually, it does not work. I have discovered that if I upload the
> > hex file thru the IDE and then Download the Flash (which invokes the
> > Flash Utility Program) that the code is different than when I look the
> > hex file thru an editor. The blinky.hex code viewed thru an editor
> > has code from 0-27B. When it is uploaded thru the IDE (and works), it
> > puts code in 0-7FF and some from 1000-17FF. Does the IDE have
> > specific locations for code that the raw hex file does not have? Can
> > I not generate a raw hex file that can be uploaded directly by the
> > Flash Utility Program? Just trying to understand how it works.
Thanks
> >
> > Sutton
> >
> >
> >
> >
> >
> >
> > SPONSORED LINKS
> >
Microcontrollers<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ>
> >
Microprocessor<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA>
Intel
> >
microprocessors<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw>
Pic
> >
microcontrollers<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw>
> > ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > - Visit your group "lpc2000
<http://groups.yahoo.com/group/lpc2000>"
> > on the web.
> >
> > - To unsubscribe from this group, send an email to:
> >
lpc2000-unsubscribe@yahoogroups.com<lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
Show quoted textHide quoted text
> >
> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------
> >
>
>
>
> --
> Have A Nice Day,
> Anand Pavaskar
> Ph: 91- 9886001512
> Off: 91-51197300 (ext-7053)
>
>
> [Non-text portions of this message have been removed]
>