Post Reply 
Flashing HP15CE with linux
11-27-2024, 09:29 PM (This post was last modified: 11-27-2024 09:33 PM by Sylvain Cote.)
Post: #25
RE: Flashing HP15CE with linux
(11-27-2024 09:21 PM)blackjetrock Wrote:  
(11-27-2024 09:13 PM)Sylvain Cote Wrote:  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).
ok ... let me think ... an invalid file permission could also produce this type of error.

type:
Code:
ls -la /home/menadue/tree/hp15ce_programming/sam-ba_cdc_linux/tcl_lib/at91sam4l-ek/applet-flash-sam4l4.bin

edit: added command line

Sylvain Côté
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 - Sylvain Cote - 11-27-2024 09:29 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: 23 Guest(s)