Flashmagic does not program

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flashmagic does not program

6,197 次查看
MVWare
Contributor III

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 项奖励
回复
10 回复数

2,627 次查看
MVWare
Contributor III

Hi,  Thanks.  It was some time ago this ticket.
As I remember, the question was about ISP over the USB port, that is not working,
Over UART is works.
Or has it been fixed in the mean time?

0 项奖励
回复

4,629 次查看
DHunt978
Contributor II

Hello @MVWare,

I came to this thread because I had a similar issue.  I ended up solving my problem for an LPC802 by the way I generated the .hex file.  I noticed in the tool that the .hex file was much larger than the allowed memory, so I changed my build configuration from <debug> to <release> in MCUXpresso.  Now my .hex file only uses 50% of the memory and programmed succesfully.

 

Best Regards,

Dmitri

4,555 次查看
MVWare
Contributor III

Hi Dimitri,  thanks for your reply.  This case is old for me.  We did not proceed the problem.
If I ever get beack to this issue, i will remember you hint.  thx!

0 项奖励
回复

6,153 次查看
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 项奖励
回复

6,148 次查看
MVWare
Contributor III

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 项奖励
回复

6,143 次查看
MVWare
Contributor III

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 项奖励
回复

6,144 次查看
MVWare
Contributor III

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

0 项奖励
回复

6,117 次查看
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 项奖励
回复

6,098 次查看
MVWare
Contributor III

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 项奖励
回复

6,094 次查看
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 项奖励
回复