I went to use the Intel XDK IDE with node.js and noticed all the samples and templates assume that you are connected to a Arduino Breakout Board. I am not connected to a Arduino Breakout Board, I am using Sparkfuns GPIO block. When I run any of the sample apps, I get the following error:
ERROR: Failed to write to export
Intel Edison Failed to initialise Arduino board TriState,
check i2c devices! FATAL
Is it possible to use the Intel XDK to develop node.js apps for the Edison without the using the Arduino Breakout Board? If so, how? If not, can you use Eclipse or any other IDE to do so?
You can find some tips here - https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md The main one is using libmraa
Today I troubleshot this same error message. An update to Yocto 1.6.1 solved it. It was very strange as the code ran on my Edison with 1.6 but did not run on my friends with 1.6. I would try upgrading if you have not solved this issue.
Update your version of mraa - you can do this using npm or opkg, just check the README on the mraa project - https://github.com/intel-iot-devkit/mraa.
0.6.0 or higher is recommended for using anything but the arduino breakout. I've used it on some of the sparkfun boards and it works.
So basically, all boards have different GPIO (and other peripheral port handle) names. These are named after the SOC/SOM documentation for each supported board.
For SparkFun, you further have two options:
GPIO Block : you go for mraa. Ref : https://github.com/intel-iot-devkit/mraa
Pi Block : you can easily work on it like you do on RasPi with all i2c Ports and everything! Ref : https://developer.android.com/things/hardware/edison-sparkfun-io.html
PS : I strongly suggest using Pi Block, if you are new to IoT. Reason : You might need the i2c bus to get readings from SDA and SCL.
Related
I was wondering what module instead of RN-52 can I use for my project which requires a Bluetooth module supporting the AVRCP profile?
It seems this product is retired and I don't know what alternative module I can choose.
I would appreciate it if you could help with this problem.
You have a few options for this. There are many Bluetooth modules out there and you can even use an HCI dongle on a Linux machine with BlueZ (the Linux Bluetooth stack). Have a look at the links below:-
Any alternative to RN-52
Microchip's BM62 and BM64
Laird's BTM51x series
I have done pairing of Intel Edison and pi bluetooth dongle successfully but whenever I try to connect pi from Edison I always get.
Connected Yes
Connected No
I am using bluetoothctl to connect
Try flashing an older version of the firmware. The problem seems to be with the recent update of Edison firmware.
The flashing should be done manually because, as far as I know, the wizard can only install the latest version (if you are using Windows, follow 32bit instruction on Intel website). If you found some easier way using the wizard, please share it. Thanks.
Apologies for asking a time dependant question, but does anyone know when Microsoft are going to sort out there drivers for the Raspberry Pi 3's on-board Bluetooth chip?
Currently the console Device Settings just display the following exception error code relating to a fault with the OS files:
The device is not ready for use. (Excep_FromHResult 0x800710DF)
Or does anyone know of a workaround to this problem?... Short of developing your own drivers and creating a custom OS image for the board.
Many thanks for your help.
Raspberry Pi 3 onboard Bluetooth support is in a future release of Windows IoT Core Insider Preview, per the page it should come soon, so please be patient.
The workaround is to use a compatible USB Bluetooth dongle, check out here to find the list.
If you want to develop your own driver and create a custom image for hobby or fun, you can find very good code samples in https://github.com/ms-iot/bsp/tree/master/drivers, and follow https://msdn.microsoft.com/windows/hardware/commercialize/manufacture/iot/iot-core-manufacturing-guide
to create custom windows IoT core image.
Update!!!
Onboard Bluetooth driver seems to be included in the latest preview build version 14376. I did not test it thoroughly but per the snapshots below, it looks very promising.
I have been trying to pass serial communications between the Jetson and an Arduino Nano, and have discovered that the Jetson will not provide the Arduino with a serial port (should be something like ttyACM0). lsusb in the terminal doesn't identify an Arduino, instead, it lists a generic "Future Technology Devices International" USB serial device. My assumption is that there is a driver issue, but I can find no helpful information for installing or even finding any drivers. Any help would be greatly appreciated.
I eventually got this to work, using this tutorial. I had tried it before, couldn't get past the Configuring the kernel section. Having tried it again in desperation yesterday, it worked fine. I must not have been paying attention!
Just install the current version of the "grinch" kernel, this custom kernel
has the drivers included.
find more info on the Nvidia dev forum:
grinch kernel
I've been involved with a project where I have to install and use a USB GPRS modem on an ARM board (RSC-W910) with Windows CE 6.0 installed.
The modem is the Sierra Wireless product GL6110 (GL61x0) and I need to use it only for data, making HttpWebRequests (TCP) send/receive XML data. Prefered development tool is C# and .Net Framework 3.5.
When the modem is connected via USB to the board, the error message that appears is saying "Unidentified USB Device" which I believe its normal.
Siera Wireless(SW) provides a driver for ARM920, but it failed to install using 'wceload.exe'. The error was "Setup Failed" that I could see on the small LCD screen attached to the board. To install the driver I connect to the board via Telenet and CAB file is stored on SD card.
Am I right to think that the failure to install the driver could be related to the fact that the Win CE image has RAM-based Registry?
If SW does not provide a driver for the modem, could this mean that I have to develop my own driver? or is there a generic driver that I can use instead?
Will I have to create a new Win CE image for the board to support the modem, or is it possible to use code within the C# application to access it?
Any help will be very much appreciated!
Thanks,
Nick
There's no generic driver, no. Sierra modems generally have CE support (I'm not checked this model, but it's likely to work). What you need is:
A Driver DLL, build for ARM and for CE 6.0 or 7.0 (the CE 5.0 driver model differs, so a CE 5.0 driver probably won't work)
The registry entries the device.exe looks for when the device is enumerated
These sometime come in a CAB, sometimes not. Generally I prefer it when they don't but either will work.
If the CAB file fails to install, it's probably because it's marked for some other platform. I'd use something like WinZip or WinRAR to pull it apart, rename the DLL and extract the necessary reg entries (depends on the CAB format how easy/hard this will be).
Generally, though, you need to copy the driver DLL to the \Windows Folder, then apply the registry entries. Then when the device is plugged in, it will read the registry, which will point it to the DLL, which is then loaded. "Unidentified USB device" typically means the registry entries were not found.
This can all be done without rolling a new OS image, though sometimes a new image is simpler than doing the necessary copying at startup, especially if the device is plugged in at boot.