Batch programming flash problem.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch programming flash problem.

603 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Wed Mar 23 06:44:09 MST 2011
With earlier versions I was able to program the flash of my LPC1113/301 part with a script like;
C:\nxp\lpcxpresso_3.6.2\bin\crt_emu_lpc11_13_nxp -wire=winusb -pLPC1113/301 -flash-load=prog_file.axf


This is discussed in;
http://support.code-red-tech.com/CodeRedWiki/CommandLineFlashProgramming

Including the command below makes no difference;
bin\Scripts\bootLPCXpresso winusb



With the new release it does not work. I get these errors;

Ni: LPCXpresso Debug Driver v2.0 (Jan 18 2011 08:09:09)
Nc: Looked for chip XML file in C:/nxp/lpcxpresso_3.6.2/bin/LPC1113/301.xml
Nc: Looked for vendor directory XML file in C:/nxp/lpcxpresso_3.6.2/bin/nxp_directory.xml
Nc: Found generic directory XML file in C:/nxp/lpcxpresso_3.6.2/bin/crt_directory.xml
Ed:02: Failed on connect: Ee(82). Device not found
Et:31: No connection to emulator device

The files in the bin directory do not exist.
I can program the part in LPCExpresso OK.

Pete.
0 Kudos
Reply
1 Reply

586 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Mar 23 09:32:31 MST 2011
It's not clear what software probe may already have DFU'd to your LPCXpresso. Disconnect/reconnect power to the board before using bootLPCXpresso.cmd. You can then select a 'winusb' or 'hid' probe, and ensure the '-wire=' command-line parameter matches.

Regards,

CodeRedSupport
0 Kudos
Reply