Target error from commit flash write

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

Target error from commit flash write

Jump to solution
2,441 Views
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 Kudos
Reply
1 Solution
2,413 Views
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

View solution in original post

0 Kudos
Reply
7 Replies
2,405 Views
vawn90
Contributor II

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

Tags (2)
0 Kudos
Reply
2,386 Views
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 Kudos
Reply
2,380 Views
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 Kudos
Reply
2,367 Views
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 Kudos
Reply
2,428 Views
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 Kudos
Reply
2,425 Views
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 Kudos
Reply
2,414 Views
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 Kudos
Reply