Problems when debugging using LPCXpresso v5.2.4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems when debugging using LPCXpresso v5.2.4

1,061件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jx1 on Wed Jul 17 23:17:36 MST 2013
Hi everyone,

I  am having a problem when I debug using LPCXpresso v5.2.4. The error is " Flash driver 'UnInit' return code : 0x1 ".

This is the message when I tried to program flash


Ni: LPCXpresso Debug Driver v5.2 (Apr 26 2013 19:52:22 - crt_emu_lpc11_13_nxp.exe build 1153)
Pc: (  0 ) Reading remote configuration
Nc: Looked for chip XML file in C:/nxp/LPCXpresso_5.2.4_2122/lpcxpresso/bin/LPC1343.xml

Nc: Looked for vendor directory XML file in C:/nxp/LPCXpresso_5.2.4_2122/lpcxpresso/bin/nxp_directory.xml

Nc: Found generic directory XML file in C:/nxp/LPCXpresso_5.2.4_2122/lpcxpresso/bin/crt_directory.xml

Pc: (  5) Remote configuration complete
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu( 0 ): Conn&Reset. DpID: 2BA01477. Info: HID64HS12
Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0  Poll delay: 0.
Nc: Loaded LPC11_12_13_32K_8K.cfx: LPC11_12_13 (32K Flash, min 8K RAM) Apr 22 2013 12:14:02  On-chip Flash Memory

Nc: NXP: LPC1343  Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=false. was_stopped=true
Cr:v Registered license, download limit of 128K
Pc: ( 70 ) License Check Complete
Nt: Loading binary file 'blinky.bin' at location 00000000
Nt: Writing 1092 bytes to 0000 in Flash (assumed clock: 48.0MHz)
Pb: 1 of 1 (  0 ) Writing pages 0-0 at 0x00000000 with 1092 bytes
Ps: (  0 ) Page  0 at 00000000
Ps: (  0 ) Page  0 at 00000000: 1092 bytes
Wc: Verify of Flash failed at 00000000.
Ec: Flash driver "UnInit" return code: 0x1
Pb: (100) Writing Flash ended with an error.
Ed:06: File 'blinky.bin' load failure: Ef(5). Flash verify operation failed.
Wc: SWD Frequency (Final): 250 KHz.
Pc: (100 ) Target Connection Failed


What is the problem? Anyone knows? Thanks in advance ~
0 件の賞賛
返信
3 返答(返信)

1,042件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri Jul 19 00:29:59 MST 2013
There are no problems programming this image on an LPCXpresso LPC1343 board using LPC-Link. What target board and debug probe are you using? My guess is that it is your own board and there is an unresolved hardware issue.

Also, note that the AXF file does not match the file you were trying to program in your earlier log. With the log you posted, the flash size was 1092 bytes. With this AXF, it is 2452 bytes.
0 件の賞賛
返信

1,042件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jx1 on Thu Jul 18 18:18:34 MST 2013
Hi LPCXpresso support,

Yes, the log above is from running the GUI flash programmer to program  a bin file. I encountered the same problem even if I use the Quickstart Debug entry to launch a debug session for my project. I have not tried LPCXpresso v5.2.6 but I am currently using LPCXpresso v5.2.4 . I have attached the AXF and map file. Thanks!
0 件の賞賛
返信

1,042件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jul 18 10:38:18 MST 2013
I presume that the log above is from running the GUI flash programmer to program a bin file?

Do you see problems if you launch a debug session for your project using the Quickstart Debug entry?

Do you see the same problem if you use the latest LPCXpresso 5.2.6?

Can you provide the AXF and map file from your project?

Regards,
LPCXpresso Support

0 件の賞賛
返信