Version 8 can't flash (no flash configured)... Could with v7.5

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

Version 8 can't flash (no flash configured)... Could with v7.5

4,943 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AndreiS on Thu Jan 28 10:37:38 MST 2016
Hello,
   For several months have been using version 7.5 along with Link2 to debug/flash a LPC1768.  I'm pretty confident the HW is ok.  I upgraded to the latest V8 of the IDE and then I couldn't debug.  Using the forums posts I found that the USB driver was old(V1.0) and I managed to upgrade to (v2.0)...  Still didn't work, but another post suggested project properties->MCU settings->Refresh MCU cache and that got me debugging again with version 8.

   However, now I can't flash the chip and get the error below.  This now happens with version 7.5 as well.  I "think" I have the flash driver(LPC175x_6x_512.cfx) correct...  What am I missing? 

Thanks, Andrei

Ni: LPCXpresso RedlinkMulti Driver v8.0 (Nov 17 2015 10:18:17 - crt_emu_cm_redlink.exe build 556)
Pc: (  0) Reading remote configuration
Pc: (  5) Remote configuration complete
Nc: Probe Firmware: LPC-LINK2 CMSIS-DAP V5.134 (NXP Semiconductors)
Nc: VID:PID:  1FC9:0090
Nc: USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#7&de4dbc8&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: 2BA01477. CpuID: 410FC230. Info: <None>
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: loaded v.2 On-chip Flash Memory C:\nxp\LPCXpresso_8.0.0_526\lpcxpresso\bin\Flash\LPC175x_6x_512.cfx
Nc: image 'LPC175x_6x (512K) Nov  2 2015 16:52:02'
Nc: NXP: LPC1768  Part ID: 0x0029BD24
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=false. was_stopped=false
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Ed:05: File 'WindingModule.bin' load failure: Ef(11). No flash configured.
Pc: (100) Target Connection Failed
0 项奖励
回复
7 回复数

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AndreiS on Fri Jan 29 09:56:14 MST 2016
Understood, thanks for the explanation.
0 项奖励
回复

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Jan 29 08:42:00 MST 2016
I'm glad to hear that you got things working.

An address does not need to be specified for an AXF file (which is what is shown in the FAQ), as the address information can be lifted from within the AXF file itself.

But it is required for a plain .BIN file, as this contains no address information.

We'll look into trapping this situation with a clearer error message in a future release.

Regards,
LPCXpresso Support.
0 项奖励
回复

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AndreiS on Fri Jan 29 07:45:10 MST 2016
Thank you for the help.  It appears that we got it working!  Yes, I am using the GUI flash programming tool (see attached screen shot).  Note in the screen shot that I have entered a 0x0 for the "Base address" parameter.  It was previously blank and it now works!  That said, I don't remember seeing/setting that base address in version 7.5.  Nor does the above link to the Gui programming tool show that parameter set explicitly...  I assumed it was set behind the scenes from the MCU settings.
0 项奖励
回复

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Jan 29 01:25:10 MST 2016
Please confirm exactly how you are trying to program the flash? From the log you provided, its appears that you are using the GUI flash programming tool?

https://www.lpcware.com/content/faq/lpcxpresso/gui-flash-programming-tool

Please post a screenshot of the setup you are using, and the actually command that is being executed.

From the log it also appears that you are programming a binary file, and the error suggests that the address you are trying to program to is not in the flash bank.

Regards,
LPCXpresso Support
0 项奖励
回复

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jan 28 15:29:52 MST 2016

As a next step, refresh the MCU Cache, then delete and recreate your lauch configuration(s). Let me know how you get on.

Thanks and regards,
LPCXpresso Support
0 项奖励
回复

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AndreiS on Thu Jan 28 12:32:42 MST 2016
Checked the MCU settings and they are still there.  Please see attached screen shot.
0 项奖励
回复

3,841 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jan 28 12:25:15 MST 2016

Check your File- > Properties -> C/C++ Build -> MCU settings to ensure you didn't delete the flash configuration entry in your memory configuration.

Thanks and regards,
LPCXpresso Support
0 项奖励
回复