Help on Programming the flash..

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

Help on Programming the flash..

880 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by raghavendrabsrg on Sun Oct 30 01:07:34 MST 2011
Hello All, I'm a fresher in LPC.. I've worked a bit with Atmel series.

My question may be quite lame,

How do you program the final hex code that you get from your IDE after BUILDING your project??
In a tutorial, i saw that the tutor 'Debugs' after 'building', when this is done, the IDE will download the code to the LPC XPRESSO board, and debugging is done via help of JTAG.. right?

So will the downloaded code be there in the MCU flash even after exiting the IDE?? Is that the actual optimised code??

Please Correct me if i was stupid somewhere..

And im using LPCXPRESSO target 1114/302 with IDE version 3.63 

All i want to do is to make a simple robot that pushes its opponents off the ring. The code is ready on paper.. just have to link with libraries, and set some timers, and program to the MCU..(deadline is 3 days from now!)

Expecting a quick response.. thank you :) :)
0 项奖励
回复
3 回复数

868 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Oct 30 03:07:47 MST 2011

Quote:

Whats SWD?

Serial Wire Debug :)

Quote:

...version 3.63...

Actual version is V4.1.0 :eek:

Quote:

...is my java corrupt?

Obviously your JRE is not working. No Java, no Eclipse :mad:

Quote:

I'm lost...

Don't panic early, still 3 days left :rolleyes:
0 项奖励
回复

868 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by raghavendrabsrg on Sun Oct 30 02:48:41 MST 2011

Quote: Zero
No, SWD :eek:



Whats SWD? :confused:

yup, thanks for the quick response.. and now i have another trouble with my LPC IDE installation..

I've installed the version 3.63 on windows 7 on a 64 bit machine..

Problem:
When i try to browse to open the example files, bang a message comes, "JAVA2 runtime environment cannot be loaded"

Now, just like how i do in my PHP, i tried to put in

-vm C:/ pathto javabin in eclipse folder/bin in the lpcexpresso.ini file..

but it did not work either.. any one has an idea? is my java corrupt? or myIDE installation corrupt?? I installed a latest version of java too.. :eek: I'm lost..
0 项奖励
回复

868 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Oct 30 02:32:35 MST 2011

Quote:

the IDE will download the code to the LPC XPRESSO board, and debugging is done via help of JTAG.. right?

No, SWD :eek:

Quote:

So will the downloaded code be there in the MCU flash even after exiting the IDE??

Yes, it doesn't disappear :rolleyes:

Quote:

Is that the actual optimised code??

It's your actual code with your selected optimization :)

Quote:

Expecting a quick response..

Was that quick enough?
0 项奖励
回复