Comments (12)
i have successfully built and flashed the firmware on Linux / Ubuntu
from solo1.
Serial port works fine on Linux but I had some problems at first. Since it looks like a modem, the linux daemon ModemManager
will automatically start messing with it. I had to disable it:
systemctl stop ModemManager
Might be something that can be changed in the USB descriptors to prevent this from happening, opening #62 for it
from solo1.
Serial port works fine on Linux but I had some problems at first. Since it looks like a modem, the linux daemon
ModemManager
will automatically start messing with it. I had to disable it:systemctl stop ModemManager
Might be something that can be changed in the USB descriptors to prevent this from happening, opening #62 for it
there is no need to disable ModemManager, just add the folowing to your udev rules and ModemManager will ignore it. (taken from ModemManager docs)
ACTION!="add|change|move", GOTO="mm_usb_device_blacklist_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", ENV{ID_MM_DEVICE_IGNORE}="1"
LABEL="mm_usb_device_blacklist_end"
from solo1.
And shouldn't we include debug symbols? AFAIK they don't increase size in flash.
from solo1.
Why don't they increase size?
from solo1.
Why don't they increase size?
There's no use for them on the MCU (only on the host where GDB runs), so they don't get loaded. I can't seem to find a good reference for this - we should probably collect some "basics of embedded gdb/openocd flashing+debugging" somewhere. But you can for instance compare arm-none-eabi-size /path/to/your.elf --format=SysV
with the output of load
in gdb
when flashing an ELF containing debug_info
.
from solo1.
Hi @nickray! You have mentioned in #19 (comment), that firmware got stuck in your case. Could you elaborate?
from solo1.
I am afraid I don't remember. Word of warning though, Linux builds currently don't work properly (they build, but flashing them has issues), only Windows ones. I am hoping @conorpp comes up with a fix for that soon!
from solo1.
Do you have a specific issue @szszszsz?
from solo1.
@nickray I was trying then to run the firmware on Nucleo board, and could not identify the problem. It was fixed 2 days ago by @conorpp, thank you!
Now I hope to connect to its serial port, and look inside. Have you tested this under Linux? Or do you work only on Windows with it?
from solo1.
@conorpp It looks like that was the cause in my case as well (Fedora 29, Gnome 3) - I have disabled that service entirely. Thank you for the tip! Works as advertised now.
from solo1.
Why don't they increase size?
A "kind of" reference: https://mcuoneclipse.com/2012/06/01/debug-vs-release/
from solo1.
Related Issues (20)
- Not showing under WSL HOT 2
- Cant register Solo 1 Tap USB-A
- Documentation Udev rules Linux is wrong
- Non compliance with spec in ctap_parse_client_pin ?
- CTAP Error - NOT_ALLOWED when trying to program firmware HOT 1
- Registered key not recognised
- Opened by mistake
- New solo key usb-c not recognized by login sysem on linux HOT 6
- Cant proceed firmware update for Solo2
- Problem adding ssh key to the SSH agent. HOT 1
- Solo2 fails to register with Okta as NFC device
- Project dead? HOT 3
- Compatibility with ESP-WROOM-32?? HOT 4
- broken link in docs/contributing.md
- Docker build all failed on macOS HOT 3
- Solo1 Ubuntu passwordless login HOT 1
- Solo Hacker Not Found with WSL HOT 3
- fido2.ctap.CtapError when running `solo1 key keyboard 'sequence'` HOT 1
- SoloKey dead after updating firmware to 4.1.5 HOT 1
- Broken link in FAQ https://solokeys.com/pages/faq
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solo1.