• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update /dev/ttyAMA0 UART pinout
#4
Sure Alex I see no problem sending you the details. But just the binary content is not what you need. You need the source files of the binary.

But a step back first.  You need to understand the principle of device trees and of HAT modules which are just an alias for the NPIX modules. The general information about all this is described here https://www.raspberrypi.org/documentatio...ce-tree.md.

Designing own HATs (NPIX), the EEPROM content, compiler to generate a binary image is all described here https://github.com/raspberrypi/hats.

If you want to test writing to an EEPROM connected to the pins ID_SD and ID_SC pins you need to enable the i2c0 interface on your netFIELD Connect gateway first. So if you were successful in modifying the config.txt then also add the following line to it and reboot.
Code:
dtparam=i2c_vc=on

This line is for standard Raspberry pi and should work on netFIELD Connect as well in my eyes. After the reboot you will have the device /dev/i2c-0 additionally available on your system.

How to proceed further from a user point of view can be best explained by users as this guy here https://www.raspberrypi.org/forums/viewt...p?t=108134 and how to come to an eep file for the EEPROM, how to compile it and how to flash it.

Some remarks to this link above. 
  • The folder will be named "hats" and not "hat" like it is states
  • The site also says to flash data to the EEPROM use this command "sudo ./eepflash -w -f=myhat.eep -t=24c32" but the file is named "eepflash.sh" so the final command to use is "sudo ./eepflash.sh -w -f=myhat.eep -t=24c32"
The github link speaks about a file named eeprom_settings.txt. This file configures just the basic GPIOs setting adjusted through the EEPROM. The file for our RS232 module is appended. Also the dtbo file as zip.

The source of the *.dtbo file which is the *.dts file I dont have right now and is requested from our development team. I will send it to you when I have it.

Thx
Armin


Attached Files
.txt   1322012R1_NIOT-E-NPIX-RS232_eeprom_settings_ng.txt (Size: 2.98 KB / Downloads: 5)
.zip   nxpi_rs232.zip (Size: 623 bytes / Downloads: 1)
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Update /dev/ttyAMA0 UART pinout - by AlexRegev - January-17th-2021, 07:41 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-17th-2021, 08:05 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 11:09 AM
RE: Update /dev/ttyAMA0 UART pinout - by AlexRegev - January-17th-2021, 10:56 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-18th-2021, 07:51 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-18th-2021, 11:22 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:24 AM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 12:03 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:38 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:42 AM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 11:49 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:03 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 12:19 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:10 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:35 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 01:20 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 01:59 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 02:00 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-16th-2021, 08:17 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-16th-2021, 12:28 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-16th-2021, 12:55 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-16th-2021, 02:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)