Run without connecting to computer

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

Run without connecting to computer

281 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gigi095 on Wed Nov 14 15:14:09 MST 2012
Hi all,

I have a stupid question.:confused: Now I've done my coding and would like to know how do I turn it on and off without connecting to my computer. And I guess eventually I would have to break my LPC1114 into two parts and use only the part that contains pins? Because my main doesn't contains a forever loop, I would have to be able to restart it again and again.
Thanks in advance!


Gina
0 Kudos
4 Replies

275 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gigi095 on Wed Nov 14 18:20:29 MST 2012
Thanks!
0 Kudos

275 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Nov 14 16:37:56 MST 2012

Quote: Gigi095

I just tried the option 1, but it seems that doesn't work. Is it because I am using semihost library?


Of course.


Quote: Gigi095
I then commented out those printf and change to Redlib(none)/Newlib(none), but got error messages for both.
What should I do?:(



Often it's easier to switch to 'Release' configuration (it's default setting is Redlib(none). If you get errors, solve them ;)
0 Kudos

275 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gigi095 on Wed Nov 14 16:26:28 MST 2012
Thanks Zero!

I just tried the option 1, but it seems that doesn't work.
Is it because I am using semihost library?
I then commented out those printf and change to Redlib(none)/Newlib(none), but got error messages for both.
What should I do?:(
0 Kudos

275 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Nov 14 15:30:59 MST 2012
#1 Easiest way: supply your Mini-USB with 5V

#2 VIN (4.5-5.5V) EXT_POWX (J6-2) of target board

#3 Seperate LPC-Link and target board and supply 3.3V to J6-28

See schematic: http://www.embeddedartists.com/sites/default/files/docs/schematics/LPCXpressoLPC1114revA.pdf

And of course don't use semihost library without PC ;)
0 Kudos