Multiple LPCXpressos

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

Multiple LPCXpressos

1,261 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Tue Jun 12 16:46:03 MST 2012
I'm thinking if using the 1227 as a network interface chip, as such I will need to be developing on several devices (N, where N == 4 to start with but may be more) at the same time as I bootstrap the design up from nothing, sometimes with the same code on each device, sometimes with different code.

My questions then...

Is this practical with the LCPXpresso hardware and IDE? For example if I plug N boards into a USB hub are they all visible as separate devices?

Can I have a single project but simply swap USB devices on a menu to download code into N boards (one at a time presumably)?

Can I have N projects loaded into the IDE and swap between them?

If not can I have N IDE instances loaded at once?

Any other thoughts on this?

______
Rob
0 Kudos
Reply
13 Replies

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Sun Jun 17 05:47:46 MST 2012
Nice-looking board, I'm interested in interfacing what I'm doing to an Android but don't know much about them.

That looks like it may be a good way to learn but it will have to wait for a while.
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat Jun 16 08:57:31 MST 2012

Quote: graynomad

Close, a monitoring and control network originally for the truck but also aimed at various applications like solar system monitoring etc.

   Some of the main features are...
  [FONT=Symbol]·         [/FONT]Open design, no royalties, licensing fees or costs for intellectual property. Creative Commons and/or GNU licenses will apply.
  [FONT=Symbol][/FONT]



I'll have to order some 1227 boards too ;)
Have you seen the Android Open Accessory Application Kit ([U]see this link[/U]) from Embedded Artists? I don't care too much about Android (this Old Man eats Apples for breakfast) but it contains an lpc11C24 that connects to an lpc1769 via CAN.

Regards,
[INDENT]Rob
[/INDENT]
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Sat Jun 16 07:03:10 MST 2012
Yeah I've looked at dozens of existing protocols and of course know about CAN, I also designed some protocols for building control in the 80s. I guess I just like the idea of rolling my own, as they say "I like standards so much I wrote my own" :)


Quote:
programming this nodes via CAN.


That's a very important feature actually, the ability to update node software remotely is a must once a system is in place. I plan to do that when I learn how to write a bootloader.
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Jun 16 05:39:30 MST 2012

Quote:

a monitoring and control network originally for the truck but also aimed at various applications like solar system monitoring etc.

Are you aware that this network stuff can easily done by CAN?

And that chips like LPC11Cx4 are including CAN bootloader?

You're an old dog, so you can imagine my big grin :D while I'm sitting 50m away form my CAN node in my dry, warm office and programming this nodes via CAN.
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Sat Jun 16 05:17:23 MST 2012

Quote:
You made a right CHOICE

As I said I was also looking at the Mega1284 with one of the main criteria being two UARTs. The 1284 is (or can be) Arduino compatible and that would have been nice, but the 1227 is just a better fit, with exactly the hardware required.


Quote:
But if you're half at good at programming as you are in building RVs then I don't expect that many questions.

He he, we'll see about that. I was a hardware/software engineer for about 20 years, I retired at 45 and didn't do much for about 10 years but now am well interested in embedded systems again.


Quote:
What kind of network are you building? A CAN network for the electrical system in Wothahellizat Mk2 ???

Close, a monitoring and control network originally for the truck but also aimed at various applications like solar system monitoring etc.

   Some of the main features are...
  [FONT=Symbol]·         [/FONT]Open design, no royalties, licensing fees or costs for intellectual property. Creative Commons and/or GNU licenses will apply.
  [FONT=Symbol]·         [/FONT]Up to 255 nodes per network, unlimited IO points per node.
  [FONT=Symbol]·         [/FONT]Multiple networks easily connected.
  [FONT=Symbol]·         [/FONT]Currently only implements a low-level transport layer similar to the OSI layers 1 and 2, the data in the frame payload is not defined at this point.
  [FONT=Symbol]·         [/FONT]Implements a "publishing and subscribing" model, nodes publish at will and subscribers act on the published data.
  [FONT=Symbol]· [/FONT]Very fault-tolerant redundant-ring topology.
  [FONT=Symbol]·         [/FONT]Physical level can use any medium but RS-485 is currently defined.
  [FONT=Symbol]·         [/FONT]Rogue applications, short circuits, cut wires cannot kill the network.
  [FONT=Symbol]·         [/FONT]Eight-wire CAT5/6 cable and RJ45 8/8 modular jacks. Wiring includes power and data signals.
  [FONT=Symbol]·         [/FONT]Data rate fixed at 115200bps (maybe faster).
  
I had designed a prototyping PCB using the 1284 but now will use the Xpresso boards for the proof of concept.

There's a lot to figure out, what with the protocol design and learning a new processor.
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Jun 15 23:36:59 MST 2012

Quote: graynomad
IDE downloaded and installed, 4x Xpresso 1227s ordered.

Brace yourselves for many questions :)


Hi...!!!

You made a right CHOICE.....!!!!

:)
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Fri Jun 15 22:37:47 MST 2012

Quote: graynomad
Brace yourselves for many questions :)


We are ready to go. But if you're half at good at programming as you are in building RVs then I don't expect that many questions.

I'm not that gray (yet) and don't have a beard as large as yours but that definitely won't stop me in trying to answer your questions.

What kind of network are you building? A CAN network for the electrical system in Wothahellizat Mk2 ???

Regards,
[INDENT]Rob
[/INDENT]
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Fri Jun 15 08:08:42 MST 2012
IDE downloaded and installed, 4x Xpresso 1227s ordered.

Brace yourselves for many questions :)
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Thu Jun 14 05:33:22 MST 2012
OK, thanks, it looks like it's doable one way or another.

Now I have to decide between the LPC1227 and the ATMega1284 for the job, yes I know talk about comparing apples and oranges but they are the two contenders, each for different reasons.

______
Rob
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Jun 13 09:40:05 MST 2012
You can connect and debug as many LPC-Links as you want, but you should be aware of the following restriction.

It is not possible to uniquely identify an individual LPC-Link. Therefore, you should connect each board and launch a debug session before connecting the next.

In LPCXpresso4, it is recommended that you start a new IDE instance for each debug session. This limitation will be removed in a future release.

HTH
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by stalisman on Wed Jun 13 08:14:18 MST 2012

Quote: graynomad
I'm thinking if using the 1227 as a network interface chip, as such I will need to be developing on several devices (N, where N == 4 to start with but may be more) at the same time as I bootstrap the design up from nothing, sometimes with the same code on each device, sometimes with different code.

My questions then...

Is this practical with the LCPXpresso hardware and IDE? For example if I plug N boards into a USB hub are they all visible as separate devices?

Can I have a single project but simply swap USB devices on a menu to download code into N boards (one at a time presumably)?

Can I have N projects loaded into the IDE and swap between them?

If not can I have N IDE instances loaded at once?

Any other thoughts on this?

______
Rob



Xpresso running under windows recognises one LPC-Link at a time.

What the link is plugged into is of no concern to windows but it matters to the Xpresso IDE.

So as long as the IDE is happy that the board on the other end of the link mirrors the mcu for which the build was made then there ought not be any problems connecting different units.

Note that these are physical changes to connectivity,  also multiple IDE's could be run but only one would be able to have control of the link at any one moment, and switching means terminating one IDE's control before attempting an other.
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Tue Jun 12 18:39:25 MST 2012
He he, you can run but you can't hide.

Please don't tell the Arduino guys or the Freaks :eek:

______
Rob
0 Kudos
Reply

1,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by js-nxp on Tue Jun 12 17:54:41 MST 2012
Not even an attempt to disguise yourself with a false name... :D
0 Kudos
Reply