Post Reply 
Flashing HP15CE with linux
11-27-2024, 09:21 PM
Post: #24
RE: Flashing HP15CE with linux
(11-27-2024 09:13 PM)Sylvain Cote Wrote:  
(11-27-2024 07:35 PM)blackjetrock Wrote:  
Code:
openat(AT_FDCWD, "/home/menadue/tree/hp15ce_programming/sam-ba_cdc_linux/tcl_lib/at91sam4l-ek/applet-flash-sam4l4.bin", O_RDONLY) = 6
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
ioctl(6, TCGETS, 0x7ffe2c343760)        = -1 ENOTTY (Inappropriate ioctl for device)
Just a reminder, in Unix/Linux almost everything is seen as a file, including a terminal (tty).
The ENOTTY (Error Not a typewriter) message is normally happening when a program is trying to configure a terminal (tty) properties but has opened a normal file.
So in summary, it looks like the program is trying to configure the serial port but it is talking to the applet-flash-sam4l4.bin file instead, thus the ENOTTY error.
Could you give us the command line that you typed ?

The command line was

sudo sam-ba_64

which then brought up the GUI. I selected /dev/ttyACM1 as the communication port and the sam4l board.
Pressing the CONNECT button then resulted in that trace (when running strace).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Flashing HP15CE with linux - blackjetrock - 11-27-2024, 07:47 AM
RE: Flashing HP15CE with linux - RPNerd - 11-27-2024, 08:31 AM
RE: Flashing HP15CE with linux - RPNerd - 11-27-2024, 08:41 AM
RE: Flashing HP15CE with linux - rprosperi - 11-27-2024, 12:37 PM
RE: Flashing HP15CE with linux - Jase - 11-27-2024, 12:49 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 03:08 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 03:07 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 03:35 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 05:52 PM
RE: Flashing HP15CE with linux - blackjetrock - 11-27-2024 09:21 PM
RE: Flashing HP15CE with linux - Idnarn - 11-28-2024, 01:18 AM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 04:47 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:26 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:06 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:07 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:50 PM
RE: Flashing HP15CE with linux - Idnarn - Yesterday, 03:36 AM



User(s) browsing this thread: 16 Guest(s)