henols / firestarter_app

MIT License
17 stars 3 forks source link

firestarter can't see the device in FreeBSD #2

Closed SanPollo closed 3 months ago

SanPollo commented 3 months ago

Hi there,

I am following your video, but don't seem to be able to get firestarter to work with FreeBSD 14.1-RELEASE. I'm using a Relatively Universal ROM Programmer.

I was able to install firestarter using pip install firestarter however, firestarter fw -i gives me the following:

No programmer found
Trying to install firmware version: 1.0.8
No Arduino found

I have tried specifying the port with firestarter fw -i --port /dev/ttyU0 and firestarter fw -i --port ttyU0 but I get exactly the same message as above.

An ls -al /dev/ttyU* shows that the device is connected:

crw-rw----  1 root operator 0x7e Aug 27 00:42 /dev/ttyU0
crw-rw----  1 root operator 0x7f Aug 27 00:42 /dev/ttyU0.init
crw-rw----  1 root operator 0x80 Aug 27 00:42 /dev/ttyU0.lock

And groups shows that I am a member of the operator group.

The device is currently programmed with the default firmware.

Do you have any idea what I am doing wrong? I would really like to be able to use FreeBSD (or even Windows) with firestarter, as I do not want to install a Linux-based OS just for this, so any help would be greatly appreciated.

Thanks in advance, pollito

henols commented 3 months ago

Can't test the fix right now behind a firewall and no HW around. You can test to open (create) .firestarter under your home dir and edit config.json (or add the file). Put

{"port": "/dev/ttyU0"}

Then try firestarter fw -i again.

A final fix will come.

henols commented 3 months ago

Should be fixed in version 1.1.12 Try firestarter fw -i --port /dev/ttyU0

SanPollo commented 2 months ago

@henols many thanks - I just tested in 1.1.13 and it works fine.