Live data from Hacker News

Reverse engineering my e-scooter and rewriting the firmware in Rust

bensimms.moe

101–110 of 113 posts

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#101

Earlier quoted context omitted.

How they meant "you": https://en.wikipedia.org/wiki/Generic_you How you meant "you": https://en.wikipedia.org/wiki/Deixis#Personal I have a hunch this is not lost on you though, and you're doing this performatively. Please stop. It is beyond tiresome, and it is not going to compel anybody. On the contrary, it is a great way to induce animosity. I assure you that what you're describing is lost on no one either; rather…

> I have a hunch this is not lost on you though, and you're doing this performatively. Uh, duh? I’m trying to draw a distinction that the person isn’t doing the work, the LLM is. > On the contrary, it is a great way to induce animosity. Sorry, what had you under the impression I was trying to make friends? When people who suck show up to your spot, you make them go away by making it clear they’re not welcome.

> Sorry, what had you under the impression I was trying to make friends?

Why, are you here to make enemies instead? If not, and heaven forbid there's a space between the two, this should apply:

https://en.wikipedia.org/wiki/Cooperative_principle

Or do you really need to be explained the point of civility?

> When people who suck show up to your spot, you make them go away by making it clear they’re not welcome.

Except you were not making things clear. On the contrary, you were pretending that there was ambiguity in their words, which arguably only complicated things. This is a very cowardly and sly way to make any point.

Mind you, for the unwelcome people, the downvote and flag buttons are the way to go. Comments are for conversation.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#102
I'm surprised that all original firmwares were not protected at all.

I've tried to fix firmware of some cheap (but with good DAC and analog schematics) Chinese media player based on STM32 and firmware was protected by no-read fuses and only action possible in this case is to wipe flash, but not to read-out firmware.

And this scooter looks much more professionally-made and expensive product.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#103

> To my surprise, two of the USB-C pins were being used as a CAN bus (which smells horribly noncompliant). Oh god that's awful. Why would anyone in their right mind do this?

Mining rigs were using USB-C to transport PCIe x1 by the truckload. Because USB 3.0 cables are dirt cheap and are capable of transporting signals at PCIe x1 data rates. https://www.aliexpress.us/item/3256809341543494.html

4G/5G Telco equipment (ab)use HDMI connectors/cables in a similar way.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#104
post #59

Earlier quoted context omitted.

Yes they can. At the end of the day, whether the food was made in a microwave oven or by a Michelin starred chef, the user is fed. Doing the work means that the work happened. Anything else is secondary.

A large part of this project was my personal learning. Ultimately I didn't improve the functionality of the device by a large margin; instead I learned a lot about how these devices are built. If I'd let Claude write replacent firmware it would've all been for naught.

Apologies for hijacking this comment, but if you have any interest in doing this sort of work full-time I may have a job for you. This project is awesome.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#105

Earlier quoted context omitted.

> I have a hunch this is not lost on you though, and you're doing this performatively. Uh, duh? I’m trying to draw a distinction that the person isn’t doing the work, the LLM is. > On the contrary, it is a great way to induce animosity. Sorry, what had you under the impression I was trying to make friends? When people who suck show up to your spot, you make them go away by making it clear they’re not welcome.

What if you're the one that sucks?

Then we can agree to disagree :)

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#106

Earlier quoted context omitted.

> I have a hunch this is not lost on you though, and you're doing this performatively. Uh, duh? I’m trying to draw a distinction that the person isn’t doing the work, the LLM is. > On the contrary, it is a great way to induce animosity. Sorry, what had you under the impression I was trying to make friends? When people who suck show up to your spot, you make them go away by making it clear they’re not welcome.

> Sorry, what had you under the impression I was trying to make friends? Why, are you here to make enemies instead? If not, and heaven forbid there's a space between the two, this should apply: https://en.wikipedia.org/wiki/Cooperative_principle Or do you really need to be explained the point of civility? > When people who suck show up to your spot, you make them go away by making it clear they’re not welcome. Except…

I’m not interested in being civil with people who actually believe using LLMs give you skills. The same way I’m not interested in being civil with homophobes and flat-earthers.

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#107

Earlier quoted context omitted.

> Sorry, what had you under the impression I was trying to make friends? Why, are you here to make enemies instead? If not, and heaven forbid there's a space between the two, this should apply: https://en.wikipedia.org/wiki/Cooperative_principle Or do you really need to be explained the point of civility? > When people who suck show up to your spot, you make them go away by making it clear they’re not welcome. Except…

I’m not interested in being civil with people who actually believe using LLMs give you skills. The same way I’m not interested in being civil with homophobes and flat-earthers.

[dead]

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#108

Earlier quoted context omitted.

Reverse engineering the way they do it is very satisfying and time consuming. If you want the same results but without the sweat, LLMs are the way to go now. They eat this kind of stuff for lunch. You could literally ask one for a table with all the CAN bus messages and it would figure it out. I wrote a blog posts where I first did it the traditional way and then, a few months later, the lazy way: https://tomverbeure…

LLMs are fun until you have to break up a devices that use encrypted firmware files and non-documented interfaces.. that you are back in the past ;-) But for the rest: Yes. They will be eaten alive by the latest generation of LLMs. I use DS-Flash 4.1 a lot for this. A big helper.

Make a custom harness, literally give the AI access to as much data as possible in terms of the device and it will crack it wide open like an egg.

AI is driving digital ownership again and its formidable

Re: Reverse engineering my e-scooter and rewriting the firmware in Rust

#109
post #35

Earlier quoted context omitted.

in this context, it likely refers to an electric unicycle ( https://en.wikipedia.org/wiki/Electric_unicycle )

Thanks, are these popular besides Huaqiangbei (Shenzhen) delivery guys?

I see them fairly often in Seattle
Post reply on HN