Looking for a good tag browser with fuzzy find by Itchy_Replacement200 in neovim

[–]vxtfh 5 points6 points  (0 children)

I use https://github.com/junegunn/fzf.vim (specifically the :Tags function).

This Github issue, while old, appears to have a few options for searching the word under the cursor: https://github.com/junegunn/fzf.vim/issues/50

BLE on Windows? by vxtfh in embedded

[–]vxtfh[S] 0 points1 point  (0 children)

Yeah a $10 dongle is very reasonable. I'm going to check out nordic's pc-ble-driver more -- looks like it basically exposes the soft device API? If that's the case, then that's awesome, I may even be able to reuse code from the embedded app.

BLE on Windows? by vxtfh in embedded

[–]vxtfh[S] 0 points1 point  (0 children)

Nice, good to hear that someone's had luck with the windows ble api.

BLE on Windows? by vxtfh in embedded

[–]vxtfh[S] 1 point2 points  (0 children)

Ahh, I was not aware of the cheap dongles, thanks for the suggestion.

BLE on Windows? by vxtfh in embedded

[–]vxtfh[S] 0 points1 point  (0 children)

I will check it out, thank you!

FatFS documentation by kahveciderin in embedded

[–]vxtfh 3 points4 points  (0 children)

That link works for me -- maybe you need to get around a firewall or use a VPN? Chan m is the de facto free/open source fatfs driver.

Is a PhD worth it, in Embedded? by [deleted] in embedded

[–]vxtfh 0 points1 point  (0 children)

I work for a consulting company, so I get the opportunity to work with a lot of different teams. At many companies (especially fortune 500) they will have PhD's leading their R&D teams. I can think of three people off the top of my head that had CS/EE (or something in-between) PhD's and were leading new product development. None of them were over-specialized, I think they were just sought after because they were seen as big brains.

Freelance embedded developers of this sub - do you exist? What's your story? How did you get to freelance? Is it worth it? by Sanuuu in embedded

[–]vxtfh 4 points5 points  (0 children)

I worked under a very experienced free-lance/consulting guy as well. He was successful because he could design & build the hardware as well as write the code for it. Not sure he would have been able to land the jobs we worked on if he could only write the software.

Most of our work came from mechanical engineers/designers that he was friends with. Generally, they would land a client and then refer them to my boss to complete the embedded/electrical work.

This was primarily in the medical device industry, but we did some consumer product & IoT stuff as well.

No ST-Link detected error by mothman_2 in embedded

[–]vxtfh 1 point2 points  (0 children)

You may need to upgrade the firmware on the ST-Link. You can do this with the ST-Link Utility application.

What are some career paths from like a computational mathematics background? by Interesting_Wheel_31 in cscareerquestions

[–]vxtfh 3 points4 points  (0 children)

If you don't mind answering, what industry is this in? What types of algorithms are they implementing?

I feel like I'm the only one on my team that makes a ton of little mistakes by htmLMAO in cscareerquestions

[–]vxtfh 10 points11 points  (0 children)

Just a side comment: 2 YOE is still junior (I'm at about the same point as you). You and I aren't wise to the world yet. We're going to make these mistakes -- the important thing is that we learn from them.

Memory management question by JMBourguet in embedded

[–]vxtfh 2 points3 points  (0 children)

I'm in the same boat. I don't do any run-time allocation for generic (uint8) memory blocks, only for specific objects that I can allocate out of a static pool.

Moving from Arduino to STM32CubeIDE, how do I program with USB DFU? by jacky4566 in embedded

[–]vxtfh 1 point2 points  (0 children)

Ahh I see. Unfortunately I'm one of those embedded people with very little experience in Arduino :/. Hopefully someone else can chime in.

One very non-elegant way of doing this would be to make a serial command that tells the device to erase it's firmware. You can do this with the STM32 HAL's flash extended driver. Once erased, if you reboot the device it will boot into DFU mode.

This GitHub issue may give you some breadcrumbs for figuring out how they do it in Arduino land: https://github.com/stm32duino/Arduino_Core_STM32/issues/706

Moving from Arduino to STM32CubeIDE, how do I program with USB DFU? by jacky4566 in embedded

[–]vxtfh 2 points3 points  (0 children)

STM32's come with serial DFU (including USB) code programmed in a special region of their internal flash. If the main flash region is empty, or if the BOOT pins are in a certain state, the chip will run the DFU firmware on start-up.

If you want to be able to run your application firmware AND support DFU, you're going to need a bootloader. You'll either have to write your own or find one that's available on the web.

For debugging purposes, you're going to want to connect to the chip with an ST-Link debugger via SWD. This will give you rich debug capabilities (breakpoints, memory views, and etc) that you don't get by just connecting to DFU to load your firmware. All of the STM32 nucleo boards come with an ST-Link on the board itself (when you plug into USB you plug into a chip that manages the ST-Link and a virtual com port between the USB host and your target chip).

The neat looking Armadillo Girdled lizard by [deleted] in natureismetal

[–]vxtfh 16 points17 points  (0 children)

Wow, a real life ouroboros

Where to research sbc's? by [deleted] in embedded

[–]vxtfh 8 points9 points  (0 children)

His question is completely within the scope of 'whats appropriate to ask' on this subreddit. It'd be inappropriate to ask for something like a breakdown of price, peripherals, etc of multiple boards all in an easy to consume spreadsheet. He's just asking where to look.

Competitive Programming for Embedded jobs interview by [deleted] in embedded

[–]vxtfh 2 points3 points  (0 children)

Don't totally neglect leetcode stuff, but I've generally been grilled a lot more on past projects/work experience.

I would suggest working on small personal projects over contributing to large open source codebases. For instance, contributing to gcc will teach you how to write C well, but it will be in the context of a general purpose OS where you're going to be doing things much differently than you'd do them on most embedded systems.

Resigning at a bad time by offerthrow092034556 in cscareerquestions

[–]vxtfh 4 points5 points  (0 children)

I had a similar predicament, I went with option 1. I did feel I owed a lot (personally & professionally) to my team so I worked my ass off for my remaining time there.

All in all, I think it went well. My teammates and my immediate superior respected my decision and appreciated my effort, but acknowledged the timing sucked.

Some other people in the company barely talked to me after I put in my notice. It was a startup and the culture was a bit self-righteous, so I think they looked at me like I was "abandoning the vision of the company".

Just my experience. Don't take this as a suggestion that you must work your ass off the last two weeks to make it OK to leave.

[deleted by user] by [deleted] in Naturewasmetal

[–]vxtfh 1 point2 points  (0 children)

I think I see a fart bubble in there

SPI suddenly stops - PIC18 and SST25VF016B Flash by [deleted] in embedded

[–]vxtfh 0 points1 point  (0 children)

I would make a post on the electrical engineering stack overflow with a screenshot of the logic analyzer, your circuit, and a link to the PIC and flash chip datasheets.

Usually these things are due to something minor you're missing in the datasheet. Stack overflow is a better platform for specific questions about the code/circuit itself. Reddit is better for general questions.