Google Coral M.2 Accelerator to RaspberryPi CM4 - google-coral

my first question on stack overflow :).
So I am having troubles to figure out the right Pinout on the M.2 connector for the PCIe connection.
Hopefully you can help me.
the datasheet says:
PERn0 Pin 37
PERp0 Pin 35
PETn0 Pin 43
PETp0 Pin 41
if this is from the Accelerator Module sight, I would connect e.g.
PERn0 to PCIe_TX_N (on raspberry pi CM4)
Is this correct? Thanks!

Related

Coral Dual Edge TPU (E-key socket) undetected by BIOS

finally received a Coral TPU module and installed into the WiFi slot of a micro PC, then followed the guide and nothing -- not seen by the BIOS and therefore the OS...
Apparently a A+E key socket was needed and so I'm wondering how anyone else is able to use the E-key version?

How can I make the STM32WB55 USB dongle show up in linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have a Nucleo Pack with two STM32WB55 discovery boards. One of the boards has a 64 pin micro controller, while the other board is USB dongle with a 48 pin microcontroller.
I flashed the binary file from an example project called "BLE_p2pServer" found here onto the 64 pin micro controller using "STM32CubeProgrammer" and the board communicated just fine with an app called "ST BLE Sensor" as suggested in this tutorial.
Now I would like to flash the 48 pin USB dongle in order to make it communicate with the 64 pin board that is already working.
Unfortunately the USB dongle doesn't show up in "STM32CubeProgrammer" and flashing an example project from TrueStudio also results in an error:
ST-Link enumeration failed
Error in initializing ST-LINK device.
Reason: ST-LINK DLL error.
The boards have different names:
chandran#chandran-OptiPlex-9020:~$ lsusb
Bus 001 Device 038: ID 0483:5740 STMicroelectronics STM32F407
Bus 001 Device 039: ID 0483:374b STMicroelectronics ST-LINK/V2.1 (Nucleo-F103RB)
Both boards have the same microcontroller (STM32WB55), but maybe the USB dongle requires different udev rules?
The st-related drivers are missing in my "/dev" folder when I unplug the 64 pin discovery board and leave the 48 pin dongle connected.
When boards are connected:
chandran#chandran-OptiPlex-9020:~$ ll /dev/stlinkv2-1_*
lrwxrwxrwx 1 root root 3 Dec 30 18:32 /dev/stlinkv2-1_ -> sdb
lrwxrwxrwx 1 root root 11 Dec 30 18:32 /dev/stlinkv2-1_0 -> bsg/6:0:0:0
lrwxrwxrwx 1 root root 7 Dec 30 18:32 /dev/stlinkv2-1_1 -> ttyACM1
lrwxrwxrwx 1 root root 3 Dec 30 18:32 /dev/stlinkv2-1_2 -> sg2
lrwxrwxrwx 1 root root 15 Dec 30 18:32 /dev/stlinkv2-1_5 -> bus/usb/001/040
When only the 48 pin USB dongle is connected:
chandran#chandran-OptiPlex-9020:~$ ll /dev/stlinkv2-1_*
ls: cannot access '/dev/stlinkv2-1_*': No such file or directory
The dongle shows up as /dev/ttyACM0 on my machine.
How can I proceed to make the USB dongle work? Do I need additional drivers or udev rules?
I have asked the same question on the ST-Forum.
The problem is that you aren't connecting to your STM's directly for programming. You are connecting to a small STM32F1 which is programmed with STLINK/V2 software to act as an programmer.
The usb dongle doesn't have that chip added to it so you'll have to wire up the programming pins for the SWD connection yourself from a SWD programmer.
Your main board (with the STM32F1) can be configured using jumpers to program an external STM32. You'll need to connect the GND 3V3 SWCLK and SWIO to program it.
You can even check this for yourself by going over to ST's site and download the schematics under the resources tab. dongle link mainboard link

esp8266 / arduino serial error 3,6

I am trying to get started with a ESP8266 using Arduino and Sparkfun thing, non dev board. I have cut a trace and an fitted uploading jumper. My FTDI device is one marked 'Deek Rodot'.
I can upload and run programs (blink etc), but if I connect to serial monitor, I have tried Arduino and putty, I get:
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
with the jumper on and
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
È
with the jumper off (after switch off / on)
I've been trying to find a solution for a few days and am wondering if anyone else has gotten through the same problem.
This happens with several different bootloaders I have tried.
I solve this problem by increasing the input power of my breadboard power supply which I use to power my ESP8266-12E with 3.3V. I guess the ESP8266 requires more current to operate properly. Hope this helps.
According to my GitHub Page
You can solve this problem by using timer instead of direct function call. The reason is ESP8266 need to run some commands every 1000 clock so if the function is a callback and it taking too long it needs to break into other function and called by a timer otherwise following error appears.
rst cause:2, boot mode:(3,6)
I suggest that change the title. This is NodeMCU bug (probably not ESP8266 or arduino) in my case at least.
Be aware that this is a workaround and absolutely not a solutiion.

BeagleBone Black stops when external powered

I have a BeagleBone Black rev C with kernel 3.8.13-bone50 and Debian OS version 7.5. The problem that I have is that when I connect the external power supply (5 V) and the board is also connected to USB ( for communication with Cloud 9 IDE) it shuts down after almost 5 seconds.
I searched everywhere on Internet for an answer, but nothing. I also displayed the content of the TPS65217 PMIC but nothing. Nothing that could give me an answer why the board is simply shutting down.
Can someone help me?
Some poor quality power supplies might cause the same kind of problem.
Please see below.
http://elinux.org/Beagleboard:BeagleBoneBlack#Improper_Power_Down....All_Revisions
Seems that the board didn't shutdown after changing a bit in TPS65217 PMIC INT register.
I changed the D5 bit from Interrupt Register from 0 to 1, meaning that no interrupt will be issued when power to AC input is applied or removed.
Command used:
i2cset -f -y 0 0x24 0x02 0x20

Wifi network with 130 Access Points

I am trying to figure out how to create a WiFi network on a 130 rooms hotel. I tried some Access Points on the hallways but the signal is not getting in the rooms as I desired...
Now I am thinking to put 1 access point per room with POE. Is this something that can be done? Will the network work? There will be a lot of ip's (130 only from the AP's?) + the guests.
If anyone can give me some ideas I would much appreciate it!
Marius
You can put a high power AP in the hallway and one AP working in repeater mode in each room to enlarge the signal.
Anyway, the best solution is put an AP in each room and connect them with network interface by line which is more stable.
Hope it helps. :)

Resources