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

Shield Base Firmware (beta 7)


  • Please log in to reply
13 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 October 2013 - 05:53 AM

Version: Beta 7 (based on 4.2.2 NETMF firmware)

This update requires a Netduino Go running v4.2.2 or newer firmware.

This firmware uses the GoBus 1.5 UART transport, so it temporarily requires use of 4 GoPorts (1-4 or 5-8). We will remove this restriction in an upcoming release by moving to the fast GoBus 1.5 SPI transport. Because this firmware uses an un-optimized implementation of the GoBus UART transport, SerialPort and SPI operations run at a reduced speed.

This firmware includes the following updates:
1. TristatePorts now supported

This firmware includes the previous updates:
1. Bug fix: SPI clock 'idle high' setting now supported
2. COM1 (shieldBase.SerialPorts.COM1 on pins D0-D1) is now available for use
3. Now compatible with legacy SecretLabs AnalogInput and PWM classes (requires 4.2.2 SDK)
4. Bug fix: SPI chip select timing corrected
5. Bug fix: PWM frequency corrected
6. GoBus 2.0 Alpha: auto-detect support for Shield Base
7. GoBus 2.0 Alpha: Pins, AnalogChannels, PwmChannels, and SPI_Devices are auto-redirected to Shield Base
8. SerialPort support (COM2/COM3 on pins D2-D3/D7-D8)
9. SPI support (SPI1 on pins D11-D13)
10. New ShieldBase.SerialPorts and ShieldBase.SPI_Devices enumerations
11. GoBus 1.5 transport: error-correction with CRCs, frame acknowledgements, retries, etc.
12. InterruptPort support (pins D2-D13, although A0-A5 can be used by advanced users)
13. New ShieldBase.PWMChannels and ShieldBase.AnalogInputs enumerations (matching Netduino 4.2)
14. PWM no longer stops working 'randomly'
15. PWM scale now works properly

NOTE: if you are using your Shield Base (with upgraded STM32F2 chip) as a standalone NETMF board, you can build the 4.2.2 NETMF firmware from source or use the original 4.2.0 firmware for Shield Base.

To upgrade your Shield Base:
1. Plug your Shield Base into GoPort 5 on your Netduino Go.
2. Deploy the attached updater app, and watch your Output window.
3. When prompted, press the Netduino Go's onboard button to start the flashing process.
4. While flashing your Shield Base, GoPort 5's LED will flash and the Output window will provide status.
5. When the Shield Base is completely updated, the white power LED will flash.

After the upgrade, simply deploy a new app to your Netduino Go mainboard. If you have trouble communicating with the shield base, power cycle your Netduino Go.

Please post in this thread if you have any troubles.

Thank you for beta testing the Shield Base,

Chris

Attached Files



#2 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 21 October 2013 - 07:25 PM

Chris Tristate is great, will try to test it today.

1 more issue related to mis-synchronization NGO and SB, you need to put a thread.sleep before NGO initialized then it can initialize SB



#3 mcinnes01

mcinnes01

    Advanced Member

  • Members
  • PipPipPip
  • 325 posts
  • LocationManchester UK

Posted 17 November 2013 - 10:27 PM

Wow I can't believe I've only just found this thread and I'm surprised its so quiet on here :(

 

Good work Chris! Its nice to see work is happening on Go! Bus still :) 

 

I have been mad busy rewiring my house for hopefully what will be a netduino controlled system eventually (lots of work to go with what will be about 80 relays to control)

 

I will definitely have a play when I get a chance.

 

Can I ask for a little (or fairly detailed if you can) update on Go! Bus 2.0?

 

In notice there are some alpha features on there now, perhaps you could tell us where things like:

 

Where the SPI transport is up to

Support for multiple SBs

The generic firmware for STMs and the ability to flash from the N Go!

When the next release is due

 

Many thanks and keep up the great work

 

Andy



#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 November 2013 - 12:59 AM

Hey Andy, For Netduino Go, we've been busy working on GoBus 1.5 and related firmware for STM32 and STM8S. We'll be updating the GoBus 1.5 beta spec doc soon with the first official profiles. :) Shield Base Beta 7 is probably the last beta firmware using the UART transport; we're super-focused on moving it to SPI transport so we can take Shield Base out of beta. On GoBus 2.0: GoBus 2.0 will primarily add support for hubs. We already have the first hub test hardware in the lab and are working out the underlying protocol details. But GoBus 1.5 will come out of beta first. We'll be publishing the generic firmware for GoBus 1.5 (including source) alongside some new hardware, so that able community members can tinker on their own modules and provide feedback as we finalize the profiles. More to come, Chris

#5 chris9876

chris9876

    New Member

  • Members
  • Pip
  • 7 posts
  • LocationAustria

Posted 15 December 2013 - 02:05 PM

Hi Chris,

i have a problem updating shield base with Firmware beta7: Every thing went fine till to the point below-mentioned.

Any idea was going wrong?

 

....

......

.......

ER_PROXYAPP: reading data at 0x08065800 (of 0x08065904)

ER_PROXYAPP: verifying data at 0x08065800 (of 0x08065904)

ER_PROXYAPP: writing data at 0x08065900 (of 0x08065904)

ER_PROXYAPP: reading data at 0x08065900 (of 0x08065904)

ER_PROXYAPP: verifying data at 0x08065900 (of 0x08065904)

*** ERROR: FLASHING FAILED ***

 

 

Christian Mayr


mfG

Christian


#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 December 2013 - 10:24 PM

HI Christian, Do you have any other devices plugged into your Netduino Go? Can you try swapping out cables really quick? Have you reflashed your Shield Base before successfully? Welcome to the Netduino community, Chris

#7 chris9876

chris9876

    New Member

  • Members
  • Pip
  • 7 posts
  • LocationAustria

Posted 18 December 2013 - 03:32 PM

Hi Chris,

yesss...this was the problem(i swappt out the cables)..thanks for your speedy answer.

 

Just one more question:

There are several c# code examples more? You know... in particular how to treat with the ShieldBase I/Os (programm runs on the GO)?
In particular about the I/O-virtualization corresponding to ShildBase.

mfG

Christian


#8 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 December 2013 - 09:41 PM

Hi Christian, When working with Shield Base, you have two options: 1. Create a Netduino 2 Application and use Shield Base as if it were the native pins on a Netduino 2. 2. Create a Netduino Go Application, create a new instance of Shield Base, and reference Shield Base pins as shieldBase.Pins.###. Your code, with shield base, is basically the same as every other Netduino project. Thanks to the virtual I/O. Chris

#9 theTroll

theTroll

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts

Posted 01 March 2014 - 08:32 PM

Chris,

 

Just ordered a Shield Base from Amazon, will it be Beta-7 or will I need to update it after I get it. 



#10 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 02 March 2014 - 01:22 AM

Hi theTroll,

Just ordered a Shield Base from Amazon, will it be Beta-7 or will I need to update it after I get it.

For Shield Base, you'll want to update it once you receive it. Because it's beta and not release firmware, we don't necessarily flash the latest minor-release firmware onto the boards.

Chris

#11 theTroll

theTroll

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts

Posted 07 March 2014 - 05:28 PM

Chris,

 

Got it flashed, all is working well. 



#12 Billy Propes

Billy Propes

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts
  • LocationVincent, OH, USA

Posted 01 April 2014 - 02:09 PM

Hey Chris,

 

Is there any chance of getting a sneak-peek at the ShieldBase Source?  It used to be on the downloads page but it looks like it's not there anymore.  Looking forward to see how the various profiles are implemented.



#13 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 April 2014 - 02:17 PM

Hey Billy,

Is there any chance of getting a sneak-peek at the ShieldBase Source?  It used to be on the downloads page but it looks like it's not there anymore.  Looking forward to see how the various profiles are implemented.

I believe the source is over on the Wiki, but I'd have to check. We typically focus on publishing source once it's out of beta.

BTW..the profiles in the current Shield Base firmware are temporary. We'll be replacing them with official profiles in conjunction with 4.3 firmware.

Chris

#14 Billy Propes

Billy Propes

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts
  • LocationVincent, OH, USA

Posted 02 April 2014 - 04:44 PM

Ok. I see it. Thank you. :-)




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.