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.
Version: Beta 6 (based on 4.2.2 NETMF firmware)
This update requires a Netduino Go running v4.2.2.0+ 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. Bug fix: SPI clock 'idle high' setting now supported
This firmware includes the previous updates:
1. COM1 (shieldBase.SerialPorts.COM1 on pins D0-D1) is now available for use
2. Now compatible with legacy SecretLabs AnalogInput and PWM classes (requires 4.2.2 SDK)
3. Bug fix: SPI chip select timing corrected
4. Bug fix: PWM frequency corrected
5. GoBus 2.0 Alpha: auto-detect support for Shield Base
6. GoBus 2.0 Alpha: Pins, AnalogChannels, PwmChannels, and SPI_Devices are auto-redirected to Shield Base
7. SerialPort support (COM2/COM3 on pins D2-D3/D7-D8)
8. SPI support (SPI1 on pins D11-D13)
9. New ShieldBase.SerialPorts and ShieldBase.SPI_Devices enumerations
10. GoBus 1.5 transport: error-correction with CRCs, frame acknowledgements, retries, etc.
11. InterruptPort support (pins D2-D13, although A0-A5 can be used by advanced users)
12. New ShieldBase.PWMChannels and ShieldBase.AnalogInputs enumerations (matching Netduino 4.2)
13. PWM no longer stops working 'randomly'
14. 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
Hi Chris,
Just wondered if there is an estimated date for multiple shield base support? Also any ideas on the 1-wire support on shield base?
many thanks,
Andy
if (bytesRead == 0)
throw new Exception(); // timeout exception
if (readBuffer[0] == 0x79)
return true;
else if (readBuffer[0] == 0x1F) <-- here it is where the error happen the buffer value is 128
return false;
else
throw new Exception(); // invalid byte <-- throw this exception
}
Hi wernerotten,
Which port is your Shield Base connected to?
Are you using a long cable or a short cable? Can you try another cable really quickly?
Finally...did you unplug all the other modules while flashing the shield base (or at least the ones on that half of the board...1-4 or 5-8)?
It looks like either the data is getting corrupted or the board might be connected to the opposite GoBus channel.
Chris
I used to different cables (provided with the Netduino) connected to Port 5, the only module connected was the base shield; in both cases I got same error.
Hi wernerotten,
Can you try using port 4 instead--and changing the "5" to a "4" at the top of the code?
I'm just trying to isolate any potential issues here. Flashing is pretty straightforward...so it's possible that something here got damaged somehow (maybe even in shipping).
Chris
wernerotten,
Netduino Go running 4.2.2 firmware is fine for flashing the Shield Base.
Did you use the Shield Base (with its old firmware) prior to trying to upgrade it?
Chris
Unfortunately not, I can't tell you if it was OK before the upgrade; today I tried a small test application using Nwazet Touch screen but it halt without giving an error (inside a Try Catch block), I tried with different port (5,4 and 1) with same result.
Get error in a beginning to re flash Shield Base, even not able to reach a point to push button on Go
Error 1 Device not found or cannot be opened - USB:NetduinoGo
Heeeeeeeelp
Okay, that's a different issue. Let's try to solve that first.
The newer firmware for Netduino Go uses the USB name "Netduino" instead of "NetduinoGo". Open up project properties and go to the .NET Micro Framework tab. Change the transport from USB to Serial and then back to USB again, to make sure that it sees "NetduinoGo_Netduino" as the deployment target.
Then save the project and try to deploy again.
Does that get your Netduino Go up and running?
Chris
That was weird. I had issues deploying the updated firmware to the shieldbase. I am using a Windows 8 machine, VS 2013, net framework 4.3, Go Firmware 4.2.2.1.
Tried several times to Debug the application but it would not connect to the Go over USB, kept doing iterations to connect. In frustration, I then just deployed the solution, which worked ok. Then I started debugging and it worked fine.