Cannot flash LPC1549 firmware with USB on a Raspberry Pi

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot flash LPC1549 firmware with USB on a Raspberry Pi

ソリューションへジャンプ
1,188件の閲覧回数
michelkuenemann
Contributor III

Hi All,

I have developped an application based on an LPC1549. My customer updates the firmware thanks to the USB connectivity my board provides.

On a Windows PC, it works fine ( I first erase firmware.bin and then I drag and trop the new binary).

My customer uses exclusively MACs. He has issues with the drag and drop method, but a command-line copy into the device works fine.

In production, he plans to perform the update thanks to a Raspberry Pi. Unfortunately neither methods work until now.

The command line he uses is the following: 

rm /Volumes/CRP\ DISABLD/firmware.bin && cp -av M644_v02_05.bin /Volumes/CRP\ DISABLD/

Does someone now who to fix this issue ?

Thank you.

Regards,

Michel Kuenemann

0 件の賞賛
1 解決策
1,083件の閲覧回数
michelkuenemann
Contributor III

Hi all,

Thanks for your reply.

Finally it works with the following command:

dd bs=1024 conv=nocreat,notrunc if=/home/pi/new_version.bin of=/media/pi/CRP DISABLD/firmware.bin

Michel

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,084件の閲覧回数
michelkuenemann
Contributor III

Hi all,

Thanks for your reply.

Finally it works with the following command:

dd bs=1024 conv=nocreat,notrunc if=/home/pi/new_version.bin of=/media/pi/CRP DISABLD/firmware.bin

Michel

0 件の賞賛
1,083件の閲覧回数
p_barcinski
Contributor I

I used openocd to flash lpcs using RPI and it worked well.

0 件の賞賛
1,083件の閲覧回数
gipis33422
Contributor I

hello Piotr Barcinski i am complete beginner to microcontroller can you please tell me that which software do i use to upload boot loader to LPC1549JBD64 and which programmer should i use can stlink v2 will work or not

0 件の賞賛
1,083件の閲覧回数
p_barcinski
Contributor I

For edu solution can be use each interface from openocd supported list. Stlinkv2 too.

Better way is use lpclink from NXP, which is compatible with lpcxpresso, openocd etc.

In my opinion you should use lpcxpresso at the beginning because its complete tool to flash lpcs and debug.

PtR

0 件の賞賛