New answers tagged

1

You may be able to build your Arduino code to run on a Raspberry Pi at https://create.arduino.cc/ but there are no guarantees. To read a serial device and do something with your data on a Raspberry Pi you're going to get more success with a simple python program #!/usr/bin/python import serial, string, time, sys output = " " ser = serial.Serial('/dev/...


0

I've dun goofed myself... As the documention on the raspberryPi website states, the uart port the Rpi3 is shared with the bluetooth module. https://www.raspberrypi.org/documentation/configuration/uart.md After disabling the bt module in the config file everything was working perfect. Nevertheless thanks.


0

I don't know if I am looking this completely wrong, but on page 23 you have the pulse width. System Main Menu>2. Communication>2. Wiegand. The default is supposed to be 100us. Now according to this: Determing Unknown Baud Rade You get this table: Time-->Baud Rate 3333µs-->300 833µs-->1200 416µs-->2400 208µs-->4800 104µs-->9600 ...


4

is there a possibility to read information trough the serial device even if there is no boot device? Yes! It is possible since Raspberry Pi 4B. The RPi 4B comes with an EEPROM containing the boot loader and that is reprogramable. Have a look at Raspberry Pi 4 boot EEPROM. There you can set a debug flag BOOT_UART=1 as described at Pi4 Bootloader ...


2

@goldilock's answer provides a good overview for debugging boot issues. However, to answer the question of: So, is there a possibility to read information trough the serial device even if there is no boot device? This would generally be done through JTAG, using a hardware debugger. This provides capabilities such as reading memory and register values, ...


4

is there a possibility to read information trough the serial device even if there is no boot device? See Ingo's answer -- which may or may not provide useful information in the context of your question. I would expect there to be some way other than connecting a screen to figure out that the device is not booting and why. This kind of circumvents the ...


0

/dev/ttyAMA0 connects to either the GPIO serial port or Bluetooth (depending on Pi). You need to find what device is the USB serial port and use that.


Top 50 recent answers are included