Flashing using USB MSC ISP on Linux vs Windows, LPC11U6x

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

Flashing using USB MSC ISP on Linux vs Windows, LPC11U6x

1,404 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by acker10 on Sun May 18 07:43:05 MST 2014
I have a LPC11U67 where everything seems to be in working order, but I'm observing that if use ISP MSC to copy a firmware file via Windows 7, everything is fine.  When I flash the exact same firmware via Linux by doing the following:

mount /dev/sdd /mnt
rm /mnt/firmware.bin
cp firmware.bin /mnt
sync
umount /mnt


Then it won't restart into the firmware when I power cycle the MCU.

When I power cycle and remount on Linux, if I look at a hex dump of /mnt/firmware.bin and compare the firmwares copied via Windows with the one copied via Linux, I do notice differences starting at byte location 0x400.

So something about the USB copy transaction is not working the same in Linux as it is in Windows.

Anybody have this working via Linux?

Thanks.
Labels (1)
0 Kudos
Reply
1 Reply

1,273 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drs on Fri May 23 14:12:39 MST 2014
Try skipping the rm command and including the -f flag to the cp command.
0 Kudos
Reply