-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does greatfet support umap2 tool? #366
Comments
Is there a separate USB device mode? https://github.com/greatfet-hardware/azalea/blob/master/README.md
I also wrote on umap2 but this seems to be a physical device issue. |
Do you have a link to the issue you opened on umap2? |
@shtry I didn't ever hear back from you. Do you still need assistance with this issue? |
Hello, I realize this is an old thread, but I came across this issue seeking a similar solution. If it has not been resolved, I would like to reopen this and try to find a solution. |
I'm uncertain of the state of umap2 support for GreatFET but the problem may be that the operating system is not recognizing the GreatFET or assigning it a different port than What output do you see when you enter: greatfet info -a Also, try unplugging the device and run the following in a terminal: sudo dmesg -w What, if any, log entries come up when you plug the device in? Finally, unplug the device and type the following, then re-plug the device and type the following again: ls /dev Are there any new entries after you plugged the device back in? If so, that is probably the port the os assigned to GreatFET. |
The issue is that the GreatFET, while somewhat billed by many as a replacement for Facedancer, does not get a tty port. If you search for "umap2 greatfet" you will find several articles and other places across the web (including Github) where people mention the use of umap2 with GreatFET, but experience seems to show that they do not work together. If I understand correctly the GreatFET acts as a UART device and the "gf" toolset allow interaction with the GreatFET using this mode of communication. I have read that nu-map supports it but have not seen this in practice either. I am still digging into this. I will get the output of what you ask as soon as I have the chance today but I figured I'd mention this anyway. |
No, the GreatFET doesn't show up as a serial port at all. The But umap2 doesn't go through the Facedancer API, it has its own backends: There is a fork of umap2, nu-map which removes all umap2's internal backends and goes through the Facedancer (2.x) API instead. So in theory, that version should work with a GreatFET One, but I don't know if it's currently in a working state. |
A look over at the nu-map issues
First, thanks for your insight. Second, a quick look at numap shows similar commands to umap and umap2, such that numap's device emulation, device support scanning and fuzzing require specifying a target tty device as an argument on the command line. The hardware section of numap's readme does not list GreatFET as a supported board, I'm assuming for the same reasons as the other varieties of umap. It seems the path of least resistance here may be to attempt to port desired functionality into the latest GreatFET compatible facedancer implementation. |
In nu-map the https://github.com/usb-tools/nu-map/blob/master/numap/apps/base.py#L58-L60
I think that's just because it's a very quick and dirty fork that never got cleaned up and finished. In principle it looks like it might work, at least partially. |
I will give it a shot and report back. Thanks for responding! |
Sorry this took me so long...I tried a number of combinations of commands, I thought that something like: numap-scan -P=/dev/greatfet-one1-6 -v would work but I just get more errors, such as: File "/usr/local/lib/python3.10/dist-packages/numap/core/usb_device.py", line 13, in I think I will go over to the numap project and discuss there, it is getting clearer that this is not really an issue with greatfet. |
What version of the |
Aah great catch. Somehow through all my troubleshooting I wound up replacing 2.9 with 3.0. Backed it out and reinstalled. That error is gone now, but still no dice. I will keep at it though, it seems like this is so close....I posted on the numap project as well. |
Hi.
Does greatfettool support umap2?
umap2 link : https://github.com/nccgroup/umap2
In my opinion, it seems to be an error caused by not finding the physical device. "/dev/ttyUSB0".
I get a device error as below.
The text was updated successfully, but these errors were encountered: