Using MCUExpresso to flash a hex file using LPC-Link2

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

Using MCUExpresso to flash a hex file using LPC-Link2

ソリューションへジャンプ
747件の閲覧回数
chakie
Contributor II

We have a project for an LPC-1768 done using MBed and normally flash the boards over the air or via USB using our custom software and bootloader. This works fine. However, brand new boards that do not have our own bootloader yet need to be flashed with Flash Magic using an LPC-Link2 connected to the board. It seems NXP hasn't done drivers for the LPC-Link for almost 10 years, so it doesn't work anymore on Windows 11. Flash Magic pretends to be cross platform but it only works under Windows, so that's what we have to use. The LPC-Link2 doesn't seem to be compatible with just about anything, so Flash Magic it has been for many years. Would be awesome if the LPC-Link2 worked well with something under Linux or macOS, but alas, here we are. My old Windows 7 that had Flash Magic died and I now have no way to flash new boards.

So, enter MCUExpresso. I thought that surely this software can use the LPC-Link2 and flash my own hex image, but so far I haven't seen any way to flash external stuff. I don't want to have a project or anything in MCUExpresso, the software is developed elsewhere, I just want to use it as a flasher.

Can this be done or am I fscked? I don't want to debug or anything fancy, just to flash in a given file, like Flash Magic would do.

 

0 件の賞賛
返信
1 解決策
741件の閲覧回数
chakie
Contributor II

Of course just when I had written this I found some docs mentioning the "Advanced GUI Flash Tool". It detects the LPC-Link2 just fine on my Mac and lets me select an externally built .bin file. It also flashes extremely quickly, much faster than Flash Magic did, the entire process seems to take under two seconds, but as the board boots up fine it seems to be ok. The tool also shows me the command line it uses and that let me create a script for the flashing from our own workflow.

Nice, now I'm happy.

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
742件の閲覧回数
chakie
Contributor II

Of course just when I had written this I found some docs mentioning the "Advanced GUI Flash Tool". It detects the LPC-Link2 just fine on my Mac and lets me select an externally built .bin file. It also flashes extremely quickly, much faster than Flash Magic did, the entire process seems to take under two seconds, but as the board boots up fine it seems to be ok. The tool also shows me the command line it uses and that let me create a script for the flashing from our own workflow.

Nice, now I'm happy.

 

0 件の賞賛
返信