I have Banana Pi M2 Ultra, I bought Samsung Micro SD Card (Class U1), uploaded image I downloaded from Allwinner's site, but I can't recieve HDMI output. I can connect to the board via SSH, and the system (debian) seems to be running fine, however there's no video output. Monitor is turning on every time I power up the board, but there is no image on both HDMI->HDMI and HDMI->DVI cables. How do I fix this?
The state of the Linux kernel boot etc on these Chinese SBC boards are legendarily bad .. you will be using a very old v3.x kernel and if you are savvy with the old pre mainline kernel compilation - fex uboot kernel etc then its better just to compile the lot from scratch as so much isn't working properly in their images.
If not tech savvy then banana pi have several images setup for lcd's hdmi output etc ..
Hope it helps .. software lets down these SBC boards badly particularly with so much malware flying around
Related
I'm trying to mimic what arducam does https://www.arducam.com/product/arducam-1mp4-quadrascopic-camera-bundle-kit-for-raspberry-pi-nvidia-jetson-nano-xavier-nx-four-ov9782-global-shutter-color-camera-modules-and-camarray-camera-hat-b0331/
So I have got an FPGA that does combine 4 camera streams and output them into one big frame buffer CSI MIPI.
The problem right now is with the platform either Linux or TDA4 from texas instruments which don't support video4linux.
But that's not an issue, I would like to know actually how would one write a V4L driver that separates that big frame into 4 virtual cameras in linux ?
Vision Components supplies open-source linux device drivers for their line of MIPI-CSI cameras. If you need to write device drivers, you at least can look at a reference. They interface to a Lattice FPGA that they configure with i2c over a variety of platforms.
Lattice sells very small form factor FPGAs and provides a MIPI-CSI IP core you can use if you're interested in developing your own camera.
This may be a template you can explore..
https://www.vision-components.com/fileadmin/external/documentation/software/vc_mipi_driver_list/index.html
https://www.latticesemi.com/csi2rx
I am trying to learn Linux by following instructions in "Mastering Embedded Linux Programming" by Chris Simmonds. By following the book and with some help from Stack_Overflow_1, i was able to build the MLO and u-boot.img.
However, when i connect USB cable to my PC and execute the ls /dev/tty* command, i cannot find any device with /dev/ttyUSB. All i can see are devices with /dev/tty0-63, /dev/ttyS0-31 and one /dev/ttyprintk.
Also, when i press down the S2 button and connect the USB cable, i can only see the power led glowing and nothing else.
I have properly built the u-boot (three attempts to get it right).
Also, as per the instructions in the book, i am only testing the u-boot stuff and yet to reach the kernal part.
If i remove the sd card and connect the USB, im an able to talk to my BBB over ssh (192.168.7.2).
How to i get the u-boot to work? Thank you!
If you don't have one yet, I'd recommend to get a USB-to-serial device (3.3V Vref). You connect it to the debug UART (J1) which is located next to the P9 side. Nowadays those are very cheap and can cost below 1$. Ones that feature a genuine FTDI part will be 5-10$ at least.
The serial port you are referencing is only available once the device has passed through U-Boot, booted the kernel and finally userspace has set up the communications.
Especially when working with U-Boot and the Kernel, low level UART access is crucial.
As a further note, could it be that the Book refers to the (white) original Beaglebone? That has a FTDI USB-to-UART chip on board and will allow you even U-Boot access. You can do the same things if you have the above mentioned USB device.
https://groups.google.com/g/beagleboard/c/eNDjK05spY8/m/GPvhcP52BAAJ shows that one needs to hold the space key to enter u-boot.
Also, the info. here might be more up to date compared to the book.
https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black
There is no way to copy and paste everything from the eewiki. I just left you the link. Enjoy!
I don't know if this is the right place to ask this. Sorry if I'm wrong.
I'd like to know if you can run code in an Xbee module without being connected to the computer or another device like arduino.
For example, I want to have 2-3 Xbee modules that communicate with each other sending information and then take decisions by code dynamically without using the X-CTU software. And I don't want those Xbee modules to be connected to the PC or other devices, they have to run by themselves with a coin cell battery and run some code previously written into their memory. Is this possible? If so, can you provide me some info/documentation to take a look? which language do you have to use to program the code? Which Xbee model do I need?
Thank you!
The XBEE modules can not do such tasks without a host. You can not run your own code on the module.
If you want to run you own code on the same device as the ZigBee stack then you should choose a solution from a silicon/stack provider.
You could achieve your goal using the Texas Instruments ZigBee Home automation SDK from www.ti.com/tool/z-stack which runs the ZigBee stack and your application on one of the TI ZigBee SoC's. But there are likely other similar providers as well.
Regards, TC.
XBees can be configured to initialize themselves with network data, i.e. the PAN ID, so they're aware of how to communicate on start up without requiring external configuration. However, they cannot run headlessly; they must to have some idea of the data that needs to be sent. They're fundamentally designed to act as a transparent serial bridge between computers to aid communications on personal networks. They cannot however be configured to do something bespoke.
It sounds like you're worried about power, so you could try looking for a low-power microcontroller that possesses a USART; this is all you'll need in order to communicate with an XBee via Serial.
It isn't possible to put your own code on a standard XBee module, but Digi does offer a Programmable XBee that includes a Freescale HCS08 co-processor that you can write code for. They offer a development kit with sample programs to get your started.
For a small-scale project where you don't need to be ZigBee certified, that might be easier than getting up to speed with a ZigBee development kit from TI, Freescale or Silicon Labs.
I'm trying to make a new app that talks to a bluetooth low energy chip. I have never played around with bluetooth or BLE before, so I'm trying to learn as much as I can about it. I know that I have to implement Apple's Core Bluetooth framework, and from there I have a few very basic questions.
Is the code for writing apps with classic bluetooth the same as apps with BLE, or are they different?
What's the deal with AT commands, I tried reading a bit into it but are those something I have to mix with Objective-C while making a call to the device?
Central and peripheral. I noticed that when you are making two devices talk to each other, one has to be central and one peripheral. Lets say I make an app that turns on a light via a bluetooth low energy chip. Would the iPhone be the peripheral, and the chip / light be the central?
Bluetooth "classic" and Bluetooth Low Energy don't work the same way. Bluetooth Low Energy works with Peripheral->Service(s)->Characteristic(s) (it's like a tree)...
There are a few videos at the WWDC 2012 session (from the Portal iOS Developers) dealing with Bluetooth Low Energy and the CoreBluetooth.framework.
There is also sample code (CoreBluetooth Temperature Sensor) from Apple.
Apps to play with and free : LightBlue & BLE Utility, which can convert them into Peripheral/Central and interact...
I have successfully talked to the computer from an Arduino via serial USB port and I had the idea that I could make a keyboard or mouse with the arduino. Say I wanted to translate the computer's mouse 1 pixel to the left. What message would I have to send over the serial line in order to achieve this?
Google is a wonderful thing. "use arduino as mouse" returns 1.7 million hits. The third hit on the list takes you to the Arduino Playground for an example using the new Leonardo board.
Note:
The Leonardo differs from all preceding boards in that the ATmega32u4 has built-in USB communication, eliminating the need for a secondary processor. This allows the Leonardo to appear to a connected computer as a mouse and keyboard, in addition to a virtual (CDC) serial / COM port.
Assuming you don't have that board, here is another site for some other specific boards and yet another that is log for a project including hardware and software for older boards.
Hope this helps (and is a better answer to the question).
You would have to reconfigure the USB interface chip to appear as a USB HID endpoint.