Introducing Netduino Plus 2 - Page 4 - Netduino Plus 2 (and Netduino Plus 1) - Netduino Forums
   
Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Introducing Netduino Plus 2


  • Please log in to reply
195 replies to this topic

#61 Lunddahl

Lunddahl

    Advanced Member

  • Members
  • PipPipPip
  • 152 posts
  • LocationEurope, Denmark

Posted 09 November 2012 - 01:42 AM

Did you ever run some performance comparison with competitors boards? Could you please publish some preliminary results about tests just published here: http://www.tinyclr.c...share/entry/597 ?


3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067
98214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196

Duration: 00:03:51.2062390 - On Netduino Go compiled with debug.
Duration: 00:02:55.4585450 - On Netduino Go compiled without debug.

Solution for Netduino Go attached.

;)

Attached Files



#62 mikepo

mikepo

    Member

  • Members
  • PipPip
  • 29 posts

Posted 09 November 2012 - 02:30 PM

So it looks like Ethernet is done with the ENC28J60 over SPI. What were the advantages for using that chip over using the on-chip Ethernet controller on the STM32 or using a WIZNET chip or the same chip as on the Netduino Plus?

#63 egeorgiou

egeorgiou

    Member

  • Members
  • PipPip
  • 28 posts
  • LocationLondon - United Kingdom

Posted 09 November 2012 - 02:49 PM

thanks for an amazing update!!! ordered; un-boxing video coming soon...

#64 tibel

tibel

    Member

  • Members
  • PipPip
  • 14 posts

Posted 09 November 2012 - 03:13 PM

Great new hardware :D Is the Netduino Plus 2 Firmware based on https://netmf4stm32.codeplex.com/ ? Or did you a complete new port?

#65 neslekkim

neslekkim

    Advanced Member

  • Members
  • PipPipPip
  • 350 posts
  • LocationOslo, Norway

Posted 09 November 2012 - 03:32 PM

Is the Netduino Plus 2 Firmware based on https://netmf4stm32.codeplex.com/ ?
Or did you a complete new port?


as stated earlier:

Netduino Plus 2 firmware uses a port created by KodeDaemon, with contributions by CW2 and the Secret Labs team. It's based on the earlier STM32F1 porting work done by the Oberon team, although we're working to merge in some of the STM32F4 port to get the best of all worlds and would like to give Oberon credit for all their work there too. Thank you to all of them.


--
Asbjørn


#66 tibel

tibel

    Member

  • Members
  • PipPip
  • 14 posts

Posted 09 November 2012 - 03:47 PM

Thanks, I must have missed that.

#67 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 09 November 2012 - 03:52 PM

So it looks like Ethernet is done with the ENC28J60 over SPI. What were the advantages for using that chip over using the on-chip Ethernet controller on the STM32 or using a WIZNET chip or the same chip as on the Netduino Plus?

I read the same comment on hackaday, which got a nice reply:

makapuf on 09 November 2012 - 8:44 am said:

The STM32f4 has an ethernet MAC integrated, sure, but no PHY. So you’ll need an external PHY chip, which can be more complex to set up (and even maybe more expensive) than an ENC chip.

Given the fact that you might rarely need to process more than 1MBps on such limited hardware, it can make sense.


"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#68 neslekkim

neslekkim

    Advanced Member

  • Members
  • PipPipPip
  • 350 posts
  • LocationOslo, Norway

Posted 09 November 2012 - 03:59 PM

and maybe the required pins was taken?, the discoveryboard have used the pins, so you have to remove an part to get the ethernet controller in action. http://blog.tkjelect...g-external-phy/

--
Asbjørn


#69 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 09 November 2012 - 05:45 PM

thanks for an amazing update!!! ordered; un-boxing video coming soon...

Awesome; I love Netduino unboxing videos! :)

Chris

#70 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 09 November 2012 - 05:46 PM

I guess it was done to save valuable resources (RAM, flash). ENC28J60 has dedicated memory buffers and can handle a lot of things by itself...

#71 neslekkim

neslekkim

    Advanced Member

  • Members
  • PipPipPip
  • 350 posts
  • LocationOslo, Norway

Posted 09 November 2012 - 05:56 PM

Is it the ENC that also enables updating the stm on its own?

--
Asbjørn


#72 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 09 November 2012 - 05:57 PM

Hi mikepo,

So it looks like Ethernet is done with the ENC28J60 over SPI. What were the advantages for using that chip over using the on-chip Ethernet controller on the STM32 or using a WIZNET chip or the same chip as on the Netduino Plus?

There were a few considerations that went into this.

First, by offloading the MAC to the external ENC28J60 chip we were able to reduce the load on the STM32F4 microcontroller. We basically gain a co-processor to handle some of the IP networking tasks which enables the STM32F4 to focus on your NETMF application. The chip also includes memory buffers for IP packets, allowing us to dedicate extra memory on the microcontroller towards your application or towards larger buffers for overall improved network performance.

The ENC28J60 also requires fewer pins, allowing us to deliver more features on the board itself. We looked at running an external PHY in RMII mode (at 50MHz), but this adds cost and complexity and potentially noise to the board design.

The final issue is reliability. The ENC28J60 drivers have been built into NETMF for years and we're able to use one single chip on multiple boards. Networking is a complex feature and by using a single configuration we're able to keep quality up across the entire Netduino product line.

Chris

#73 ajcg1973

ajcg1973

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 09 November 2012 - 07:25 PM

Will there be a serial firmware option like on the original so running USB Client might be possible?---AJB

#74 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 09 November 2012 - 07:55 PM

Will there be a serial firmware option like on the original so running USB Client might be possible?---AJB

We could definitely support that. In fact we can probably take USB client support to the next level, since the new USB circuitry on Netduino Plus 2 can force re-enumeration on the fly.

We'll have to take a look at the USB code, to see what it would take to enable custom configurations, etc. But I'll put this on our high priority list.

Chris

#75 ajcg1973

ajcg1973

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 09 November 2012 - 09:34 PM

We could definitely support that. In fact we can probably take USB client support to the next level, since the new USB circuitry on Netduino Plus 2 can force re-enumeration on the fly.

We'll have to take a look at the USB code, to see what it would take to enable custom configurations, etc. But I'll put this on our high priority list.

Chris


Thanks Chris!

So glad that you didn't stop with using the STM32 chip with just the Netduino GO and Shield Base products. I was hoping you guys would keep going with updating the Netduino and Netduino Plus as well.

P.S. My Netduino Plus 2 is arriving on Tuesday Nov 13th, and I'm very excited to get started with it.---AJB

#76 Stephen Carlson

Stephen Carlson

    New Member

  • Members
  • Pip
  • 2 posts

Posted 10 November 2012 - 01:20 AM

Can this board be programmed/debugged using the SWD protocol implemented by some ST debuggers (like the STM32F4 Discovery's onboard ST-LINK v2)? It looks as if the pins are broken out straight to the Mini JTAG header, but are there other issues stopping this idea from working?

#77 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 November 2012 - 02:31 AM

Can this board be programmed/debugged using the SWD protocol implemented by some ST debuggers (like the STM32F4 Discovery's onboard ST-LINK v2)? It looks as if the pins are broken out straight to the Mini JTAG header, but are there other issues stopping this idea from working?

Yes, absolutely! Just solder a MiniJTAG (SWD) connector to the 10-pin header and connect your STLink/V2 (using the $20 TI JTAG to MiniJTAG adapter, if necessary).

That's it. This is actually how we program/debug .NET Micro Framework itself.

To flash firmware in-field, just press and hold the pushbutton while plugging in via USB. That will activate the ST bootloader, at which point you can flash the board via USB using ST DFUSE.

Chris

#78 ImplicitSystems

ImplicitSystems

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationLake Havasu City, AZ

Posted 10 November 2012 - 06:27 AM

Hi Andy,


That is a good question. There's enough space left that you could actually run one app which flashes and loads another app. Not an overnight thing, but we have allocated a little bit of space for future potential on-chip storage...so that might help along the same lines.

The other thing we may be able to do with this board: local deployment/debugging over Ethernet. There were some issues with the lwIP implementation that prevented this, but it may be possible with NETMF 4.2/4.3.

Chris


Hey Chris,

Thanks for the quick response. I am using html for device control/management so what I am in visioning is a firmware upload page like a home router. So I believe that the on-chip storage is where I need to be. All the devices I am building will have an SD card; is it possible to save the file to the SD then do a flash at this time or will I have to wait till 4.3? I should have my v2 Saturday. Can't wait to see the power! thank God I didn't route the board yet. Is there a new schematic available?

Local deployment/debugging over Ethernet is defiantly going to a nice feature.


Andy
Andy

#79 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 November 2012 - 06:33 AM

Hi Andy, Here's the schematic for Netduino Plus 2 (from the product specs page): http://www.netduino....2/schematic.pdf It would be cool to put a file on the SD card and then load it to flash...but NETMF doesn't support that at this time. There is a concept for this, but it can require losing up to half your flash. It is something that could be added to the firmware though, for sure. Right now what you _could_ do is put your assemblies on the card and then load them dynamically at runtime. With 100+ KB of RAM, doing this in real-world applications has suddenly become a realistic proposition. Chris

#80 ImplicitSystems

ImplicitSystems

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationLake Havasu City, AZ

Posted 10 November 2012 - 07:11 AM

Hi Andy,

Here's the schematic for Netduino Plus 2 (from the product specs page):
http://www.netduino....2/schematic.pdf

It would be cool to put a file on the SD card and then load it to flash...but NETMF doesn't support that at this time. There is a concept for this, but it can require losing up to half your flash. It is something that could be added to the firmware though, for sure.

Right now what you _could_ do is put your assemblies on the card and then load them dynamically at runtime. With 100+ KB of RAM, doing this in real-world applications has suddenly become a realistic proposition.

Chris


This might change my product/marketing ideas. So essentially I could sell SD cards with major updates and or develop my board/device to support multiple applications sort of like a PSP gaming device. I can definitely see a huge reduction in costs yet it could bring the cost of the device up. I'll have to research that one. But regardless I like this idea. Is this something you have tried?

Any sample by chance? Don't go out of your way if not I know you're busy.


I forgot you're on the east coast, I hope you weren't affected by that crazy storm too much.

Thanks,
Andy
Andy




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.