Target error from commit flash write

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

Target error from commit flash write

跳至解决方案
9,969 次查看
vawn90
Contributor II

Hi guys, i'm new to NXP product and I'm currently facing this problem i try to debug LPCxpresso 11u37h freertos blinky program into the LPC11u37h board. Anyone have any idea or solution for this?

15: Target error from Commit Flash write
Debug port inaccessible after access at location 0x10000000
Debugging context: nxp_lpcxpresso_11u37h_freertos_blinky LinkServer Debug

Thank you

0 项奖励
回复
1 解答
9,940 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

HI vawn90

I tested lpcopen blinky project, there is no issue. below photo is my board setting. Attached is my testing video of PC side. I use MCUXPresso IDE 11.3.0

ZhangJennie_1-1616559951499.png

 

Hope this helps,

Jun Zhang

在原帖中查看解决方案

0 项奖励
回复
7 回复数
9,932 次查看
vawn90
Contributor II

I did followed everything through your video tutorial. The D4-D7 and D2 not blinking. Can advise for further troubleshooting? 

标记 (2)
0 项奖励
回复
9,913 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Is there any download error still? If you haven't downloaded code successfully, it's not possible 

If fail download code, try update on board debug firmware with LPCScrypt.

try CMSIS-DAP first. If still fail, try Segger Jlink

ZhangJennie_0-1616637222974.png

 

Have a nice day,

Jun Zhang

 

0 项奖励
回复
9,907 次查看
vawn90
Contributor II

Hi,

I have to use the second option of debug to prevent the error from coming out. You may see the  debugging on the right side (Blue highlighted sentence).

Is there any chance, you may provide some tutorials video to troubleshoot the problem using LPCScrypt? While in the meantime, i will tryout your ideas to troubleshoot the problem.

0 项奖励
回复
9,894 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi 

I suggest you trying if IDE can connect board in ISP mode. press ISP button(SW2) on demo board when PC connects board with USB cable. To avoid old project/workspace association, test the project with a NEW project and NEW workspace.

If fail connect in ISP mode, update on board firmware with LPCScrypt, Here is LPCScrypt video and user guide.

https://www.nxp.com/design/microcontrollers-developer-resources/lpc-microcontroller-utilities/lpcscr...

Have a nice day

Jun Zhang

 

 

0 项奖励
回复
9,955 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi vawn90

Do you use demo board or own PCB?

What interface or emulator do you use?

What is the IDE?

How does it work if you create a NEW project in a NEW workspace?

Thanks,

Jun Zhang

0 项奖励
回复
9,952 次查看
vawn90
Contributor II

Hi Zhang,

I use the board as attached.
Im using MCUXpresso IDE. I'm using the example library from LPCOpen to try it. And the error came out after that.

0 项奖励
回复
9,941 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

HI vawn90

I tested lpcopen blinky project, there is no issue. below photo is my board setting. Attached is my testing video of PC side. I use MCUXPresso IDE 11.3.0

ZhangJennie_1-1616559951499.png

 

Hope this helps,

Jun Zhang

0 项奖励
回复