Flashmagic does not program

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

Flashmagic does not program

1,124 Views
MVWare
Contributor II

Hi, I developed a board with the NXP LPC55S69. I have already developed a program with the Xpresso IDE.
My applications runs fine with the Segger Jlink on the SWD port.

I added the USB connection on USB1 of the device in the design.
I installed latest Flashmagic: 13.50 build 6367, it has USB driver 3.02 on windows 10

I enable the ISP with a jumper. Connect the USB ; from PC to my board. (Which also powers my PCB)
I folowed the setup of flashmagic: select USB LPC55S69. A hex file.
Device LPC55S69 (USB, LPC5500)
Interface tiegf6JWnvo5 (USB Bootloader)
   reading Signatures works.
   reading sectors works
   erasing sectors works.
But programming works not: (pressing START)
LPC55S69(USB, LPC5500) Operation Failed. (programming - failed to send data to the device)

In the Preferences:
hardware tab shows the UART selection bullets (as if the programmer will use UART? )
other tabs are default.

What is going wrong here? or do I do somthing wrong?
I enables debug mode, but can not find the debug file.

0 Kudos
7 Replies

1,080 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @MVWare,

Could you please take a look to the following information?

Also, may be useful to try the following recommendations:

Let us know if any of this helps you.

Best regards, Raul.

0 Kudos

1,075 Views
MVWare
Contributor II

Hi Paul,

Interface tiegf6JWnvo5 (USB Bootloader)
   reading Signatures works.
   reading sectors works
   erasing sectors works.

So I woulkd like to conclude that the ISP interface is communicating.  right?
Afterthis, programmig does not work...

Is flashmagic still alive? That forum is quite dead.

0 Kudos

1,070 Views
MVWare
Contributor II

next update:
So On my board with LPC55S69 the flashmagic ISP works on UART.
It does not work on USB1,  although signature, read and erase works fine.
On the 55S69 NXP Eval board:  exactly the same behaviour!

On USB the flashmagic crashes very often. just exit at once.

Is flashmagic supported somewhere?  by NXP?  The site it's self does not reactot any forum question.
BLHost seems not very practical.

0 Kudos

1,071 Views
MVWare
Contributor II

In the mean time:   ISP with flashmagic on the UART port works.

0 Kudos

1,044 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @MVWare,

As you mention, ISP communication is working, but FlashMagic is failing at programming. This issue should be reviewed by FlashMagic team, please try to contact them through this way: Contact Support - Flash Magic, since you do not have success in the Forum.

As a recommendation, you could try and use our MCU Secure Provisioning Tool, we test the LPC55S69 EVK for uploading a binary trough USB1 and works.

Best regards, Raul.

0 Kudos

1,025 Views
MVWare
Contributor II

Hi Raul,  thanks for helping.
Does this MCU SPT work on  the ISP of the LPC55?
I don't read any thing about ISP in this tool...
in the mean time i'm still waiting for flashmagic support aswell...

0 Kudos

1,021 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @MVWare,

Yes, MCU SPT work on ISP for the LPC55xx. The compatible devices list is at the following link: MCUXpresso Secure Provisioning Tool | NXP Semiconductors.

RaulRomero_0-1676560701934.png

[MCUXpresso Security Provisioning Tool List of Supported Devices]

Also, there you may find the MCUXpresso Security Provisioning Tool User Manual, which might come in handy if you decide to use the tool: MCUXpresso Secure Provisioning Tool User Guide v.5. In here it mentions the possibility and use of ISP in the supported devices.

RaulRomero_1-1676560701940.png

[MCUXpresso Security Provisioning Tool User Manual. Section 6.1.5. Connection]

Best regards, Raul.

0 Kudos