For the moment, I'm done...
I'll give it a break and soon I'll give it a fresh restart!
Briefly what I've done:
- pi Zero ( without WIFI/bluetooth )
- Raspbian GNU/LINUX 11 (bullseye) ( no desktop )
- free pascal 3.2.0 ( text based )
- raspi-config: disable SHH/serial
- config.txt ( various adjustments )
- cmdline.txt ( various adjustments )
- used code:
https://wiki.lazarus.freepascal.org/Serial_unitHave done it in many variations, combinations and followed multiple 'manuals'
but only got 'Status: -1' and 'Error: unable to send'.
( of course no signal Tx-signal on my oscilloscope.
I also did lots of variations, regarding in ComPortName:=
Tried it also with lost of tty- and ttyAMA variations
( tty0, tty0:, tty1, tty1:. tttAMA0, etc...) )
including the corresponding setting in the config.txt and cmdline.txt
I'll give the it a break for a week...
Continuing of the rest of sw-project, lots to do!
( The rx/tx between some Arduino2560's is working fine,
controlling 6-DOF robot arm, DIY:
https://www.youtube.com/watch?v=E2g6hWzkJIA&list=PLcCKmeWXkrzQ_kWBD6VObuYYiVe-x1Ymo )
Kind regards. Marcel