I'm trying to develop an application boad with NHS3152. My application program is getting error when Program Flash using LPC-Link 2 and LPCXpresso v8.2.2 'Program Flash'.
To the NHS3152TEMOADK: NHS3152 General Starter Kit, it was done well.
Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep 5 2016 10:12:38 - crt_emu_cm_redlink.exe build 725)
Pc: ( 0) Reading remote configuration
Pc: ( 5) Remote configuration complete
Nc: Probe Firmware: LPC-LINK2 CMSIS-DAP V5.173 (NXP Semiconductors)
Nc: Serial Number: I3F2AXKU
Nc: VID:PID: 1FC9:0090
Nc: USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#7&1e1cf1da&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Pc: ( 30) Emulator Connected
Xl:
Xc:
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Connected&Reset. DpID: 0BC11477. CpuID: 410CC600. Info: <None>
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: inspected v.1 On-chip Flash Memory C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\NSS_30k_8k_IAP.cfx
Nc: image 'NSS @ 0x1fff1ff1 (May 18 2015 11:15:32)'
Nc: NXP: NHS3152 Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=true. was_stopped=false
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Nt: Loading 'ABCD_2021_PTP.axf' ELF 0x00000000 len 0x1CC0
Nc: Opening flash driver C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\NSS_30k_8k_IAP.cfx
Nt: Writing 7360 bytes to address 0x00000000 in Flash
Pb: 1 of 1 ( 0) Writing pages 0-7 at 0x00000000 with 7360 bytes
Ps: ( 0) at 00000000: 0 bytes - 0/7360
Nc:verify offset 0x0/0x1CC0[0x400/0x400]
Ps: ( 13) at 00000000: 1024 bytes - 1024/7360
Nc:verify offset 0x400/0x1CC0[0x400/0x400]
Ps: ( 27) at 00000400: 1024 bytes - 2048/7360
Nc:verify offset 0x800/0x1CC0[0x400/0x400]
Ps: ( 41) at 00000800: 1024 bytes - 3072/7360
Nc:verify offset 0xC00/0x1CC0[0x400/0x400]
Ps: ( 55) at 00000C00: 1024 bytes - 4096/7360
Nc:verify offset 0x1000/0x1CC0[0x400/0x400]
Ps: ( 69) at 00001000: 1024 bytes - 5120/7360
Nc:verify offset 0x1400/0x1CC0[0x400/0x400]
Ps: ( 83) at 00001400: 1024 bytes - 6144/7360
Nc:verify offset 0x1800/0x1CC0[0x400/0x400]
Ps: ( 97) at 00001800: 1024 bytes - 7168/7360
Nc:verify offset 0x1C00/0x1CC0[0xC0/0x400]
Ps: (100) at 00001C00: 1024 bytes - 8192/7360
Nt: Erased/Wrote page 0-7 with 7360 bytes in 2332msec
Pb: (100) Finished writing Flash successfully.
Nt: Flash Write Done
Nt: Loaded 0x1CC0 bytes in 2746ms (about 2kB/s)
Nt: Reset target (core)
but, To my boad it failed with error.
Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep 5 2016 10:12:38 - crt_emu_cm_redlink.exe build 725)
Pc: ( 0) Reading remote configuration
Pc: ( 5) Remote configuration complete
Nc: Probe Firmware: LPC-LINK2 CMSIS-DAP V5.173 (NXP Semiconductors)
Nc: Serial Number: I3F2AXKU
Nc: VID:PID: 1FC9:0090
Nc: USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#7&1e1cf1da&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Connected&Reset. DpID: 0BC11477. CpuID: 410CC600. Info: <None>
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: inspected v.1 On-chip Flash Memory C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\NSS_30k_8k_IAP.cfx
Nc: image 'NSS @ 0x1fff1ff1 (May 18 2015 11:15:32)'
Nc: NXP: NHS3152 Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=true. was_stopped=false
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Nt: Loading 'ABCD_2021_PTP.axf' ELF 0x00000000 len 0x1CC0
Nc: Opening flash driver C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\NSS_30k_8k_IAP.cfx
Pb: (100) Writing Flash ended with an error.
Ed:05: File 'ABCD_2021_PTP.axf' load failure: Ee(FF). Redlink interface error 255.
Pc: (100) Target Connection Failed
please help,
Thanks.
Solved! Go to Solution.
Hi @maezawa ,
If just the board is changed , that means the root cause should be hardware design issue. Is it a total copy of NHS3152TEMOADK? or is there any adjustment based on that? Please also check if the connection is correct.
Hope that makes sense,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Kan,
That's maybe right. My board is a custom designed one.
I'll try to check!!
Thanks, a lot.
Hi @maezawa ,
If just the board is changed , that means the root cause should be hardware design issue. Is it a total copy of NHS3152TEMOADK? or is there any adjustment based on that? Please also check if the connection is correct.
Hope that makes sense,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------