Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - njwork

#1
version 3.30 Ok! Thank You .
#2
I used version 2.51 work well!
command line is :
fm.EXE DEVICE(P89LPC903,7.373)  ERASE(DEVICE,PROTECTISP) COM(1,19200)
result :
Flash Magic Version 2.51
flashmagic.dll Version 1.97
(C) Embedded Systems Academy 2000-2006 All rights reserved
Connected
Device selected
Erase complete (DEVICE)


used version 3.27
E:\>fm.EXE DEVICE(P89LPC903,7.373)  ERASE(DEVICE,PROTECTISP) COM(1,19200)
Flash Magic Version 3.27.130
8051/XA Driver Version 2.14.130
ARM Driver Version 1.13.128
(C) Embedded Systems Academy 2000-2006 All rights reserved
Connected
Device selected
Then computer Halt!
#3
I use command line
fm.EXE DEVICE(P89LPC903,7.373)  ERASE(DEVICE,PROTECTISP) COM(1,19200)
screen display device selected  ,then halt

but i Use fm.EXE DEVICE(P89LPC903,7.373)  ERASE(1,PROTECTISP) COM(1,19200)  ,result Success;
fm.EXE DEVICE(P89LPC903,7.373)  ERASEUSED(c:\temp.hex,PROTECTISP) COM(1,19200)  ;result Success also.
#4
LPC2xxx / Re: LPC2132 Hex File Program Error
September 15, 2006, 06:39:08 PM
I'm using Flash Magic (V3.27.130) .ARM Driver Version 1.13.128
I  Try it  again ,error again .

Lpc2132 Hex file first line is
:020000040000FA
:1030000018F09FE518F09FE518F09FE518F09FE590
....

so i now  write a program delete Hex First Line Then Program .

problem 2

Erase lpc2132 block 8 Used Erase(0x80,protectisp) ,result Ok!
but Erase lpc2132 block 9 Used Erase(0x100,protectisp) ,result error!
Soft Display:
ERROR: Invalid parameters for ERASE directive: erase(0x100,protectisp)

so I only use ERASEUSED(c:\tst.hex,PROTECTISP

Author: Andrew Ayre
Date:   09-15-06 11:29

The ERASE command recently changed. The first parameter should be the number of the block (0 to n). Make sure you are using the latest version of FM.

now i try it ,my command line is
"C:\Program Files\Flash Magic\FM.EXE" "COM(1,57600) DEVICE(LPC2132,11.59200) ERASE(1,PROTECTISP)  HEXFILE("C:\TEMP\Host.HEX",NOCHECKSUMS,NOFILL,PROTECTISP) "

lpc2132 have 9 blocks,I Use Fm  command  ERASE(1,PROTECTISP) result erase flash 0x00-0xfff. block 1
ERASE(2,PROTECTISP) erase 0x1000-0x1fff    block 2
ERASE(4,PROTECTISP) erase 0x2000-0x2fff block 3
but  ERASE(3,PROTECTISP) erase 0x0000-0x1fff   (block 1 2)
so analogically I Erase block 9 Used  ERASE(0x100,PROTECTISP) but error
#5
LPC2xxx / Erase(0x100,protectisp) LPC2132 BLOCK 8 Error!
September 14, 2006, 11:19:34 PM
Erase lpc2132 block 8  Used Erase(0x80,protectisp)  ,result Ok!
 but Erase lpc2132 block 9  Used Erase(0x100,protectisp)  ,result error!
  Soft Display:
ERROR: Invalid parameters for ERASE directive: erase(0x100,protectisp)

so I only use ERASEUSED(c:\tst.hex,PROTECTISP)  erase ;
#6
LPC2xxx / LPC2132 Hex File Program Error
September 14, 2006, 08:24:15 PM
In MY Lpc2132 Hex file  first line is
:020000040000FA
:1030000018F09FE518F09FE518F09FE518F09FE590
....
program from 0x3000 start ,but Used flash magic program at 0x0000-0x0001 Address Write 00 00 code .
    my hex file first line is
         :020000040000FA

   not is
        :020000000000FE

please help me !