Live data from Hacker News

I got almost all of my wishes granted with RP2350

dmitry.gr

241–250 of 356 posts

Re: I got almost all of my wishes granted with RP2350

#241

Earlier quoted context omitted.

> My hope is that they'll eventually provide a library of ready-made "soft peripherals" Perhaps they could be more ready-made, but there are loads of official PIO examples that are easy to get started with. https://github.com/raspberrypi/pico-examples/tree/master/pio

These examples are cute, but this isn't a comprehensive collection. Not even close. Given that PIO's most compelling use case is replacing legacy MCUs, I find it disappointing that they haven't provided PIO boilerplate for the peripherals that keep those archaic architectures relevant. Namely: Ethernet MII and CANbus. Also, if RP2xxx is ever going to play ball in the wireless space, then they need an out-of-box Bluet…

Well open source CAN and MII implementations do exist. Perhaps you can help provide a pull request to the official repo that checks in appropriate versions of that code, or file an issue requesting them to do it.

https://github.com/KevinOConnor/can2040

https://github.com/sandeepmistry/pico-rmii-ethernet

My biggest issue with their wireless implementation is that I get my boards made at JLCPCB and Raspberry Pi chose a specialty wireless chip for the Pico W which is not widely available, and is not available at JLCPCB.

Re: I got almost all of my wishes granted with RP2350

#242

Earlier quoted context omitted.

> My hope is that they'll eventually provide a library of ready-made "soft peripherals" Perhaps they could be more ready-made, but there are loads of official PIO examples that are easy to get started with. https://github.com/raspberrypi/pico-examples/tree/master/pio

These examples are cute, but this isn't a comprehensive collection. Not even close. Given that PIO's most compelling use case is replacing legacy MCUs, I find it disappointing that they haven't provided PIO boilerplate for the peripherals that keep those archaic architectures relevant. Namely: Ethernet MII and CANbus. Also, if RP2xxx is ever going to play ball in the wireless space, then they need an out-of-box Bluet…

Just feed the boilerplate templates to Claude and ask it to "write a CANbus driver, use boiler plate as example" and done?

Re: I got almost all of my wishes granted with RP2350

#243

Earlier quoted context omitted.

It saves cost and none of the features of USB-C (speed, power delivery etc) are supported. Makes sense.

How about connections not becoming flaky after you've plugged in the cable a few times. Micro USB was horribly unreliable. USB-C isn't great either, but it's an improvement. Maybe they will get it right some day.

I always hear that but I never had a micro usb fully fail on me but my phone's usb-c are lint magnets and get super loose and refuse to work. When that happened on micro it was usually the cable tabs a bit worn but the cable always worked.

Re: I got almost all of my wishes granted with RP2350

#244

Earlier quoted context omitted.

You can certainly do that, sure, but any Cortex-M MCU can do that, and plenty of others have hardware AES acceleration that would make the process much less asinine. Also, 520K of RAM wouldn't be enough to fit a the whole application + working memory for any ARM embedded firmware I've worked on in the last 5 years.

> Also, 520K of RAM wouldn't be enough to fit a the whole application + working memory for any ARM embedded firmware I've worked on in the last 5 years. what are you smoking? I have an entire decstation3100 system emulator that fits into 4K of code and 384bytes of ram. I boot palmos in 400KB of RAM. if you cannot fit your "application" into half a meg, maybe time to take up javascript and let someone else do embedded…

There are plenty of embedded applications that require megabytes or even gigabytes.

For example medical imaging.

As well as plenty that require 16 bytes of RAM and a few hundred bytes of program memory. And everything in between.

Re: I got almost all of my wishes granted with RP2350

#245

Earlier quoted context omitted.

> My hope is that they'll eventually provide a library of ready-made "soft peripherals" Perhaps they could be more ready-made, but there are loads of official PIO examples that are easy to get started with. https://github.com/raspberrypi/pico-examples/tree/master/pio

These examples are cute, but this isn't a comprehensive collection. Not even close. Given that PIO's most compelling use case is replacing legacy MCUs, I find it disappointing that they haven't provided PIO boilerplate for the peripherals that keep those archaic architectures relevant. Namely: Ethernet MII and CANbus. Also, if RP2xxx is ever going to play ball in the wireless space, then they need an out-of-box Bluet…

Just pick whatever fits best in your application. No µC is going to solve everything for everyone.

RP2350 is about the best I can think of for interfacing with legacy protocols. Well, short of using FPGAs anyways.

Re: I got almost all of my wishes granted with RP2350

#246

I can't imagine someone using an RP2040 in a real product, but the RP2350 fixes enough of my complaints that I'd be really excited to give it a shot. There's a lot going for the 2040, don't get me wrong. TBMAN is a really cool concept. It overclocks like crazy. PIO is truly innovative, and it's super valuable for boatloads of companies looking to replace their 8051s/whatever with a daughterboard-adapted ARM core. But…

We ship a large quantity of RP2040’s in real products, and agreed that the RP2350 looks great too!

Part of the reason we went with RP2040 was the design philosophy, but a lot of it was just easy availability coming out of the chip crunch.

Re: I got almost all of my wishes granted with RP2350

#247

Earlier quoted context omitted.

I wonder how well it's been verified.

This is a really big deal. Verifying a core is hard, and if the repo doesn't come with a testbench, I'm very suspicious.

Even if it does I'm suspicious. The open source RISC-V verification systems are not very good at the moment:

* riscv-arch-tests: ok, but a very low bar. They don't even test combinations of instructions so no hazards etc. * riscv-test: decent but they're hand-written directed tests so they aren't going to get great coverage * TestRig: this is better - random instructions directly compared against the Sail model, but it's still fairly basic - the instructions are completely random so you're unlikely to cover lots of things. Also it requires some setup so they may not have ran it.

The commercial options are much better but I doubt they paid for them.

Re: I got almost all of my wishes granted with RP2350

#248

I can't imagine someone using an RP2040 in a real product, but the RP2350 fixes enough of my complaints that I'd be really excited to give it a shot. There's a lot going for the 2040, don't get me wrong. TBMAN is a really cool concept. It overclocks like crazy. PIO is truly innovative, and it's super valuable for boatloads of companies looking to replace their 8051s/whatever with a daughterboard-adapted ARM core. But…

>>> extremely limited in third-party SDKs like Zephyr

So is almost any non-trivial peripheral feature. Autonomous peripheral operation, op-amps, comparators, capture/compare timers…

Zephyr tries to provide a common interface like desktop OSes do and this doesn't really work. On desktop having just the least common denominator is often enough. On embedded you choose your platform because you want the uncommon features.

Re: I got almost all of my wishes granted with RP2350

#249

Earlier quoted context omitted.

yes, piqued. English, so weird! ;-) (Although, interest peaking is possible!)

> English, so weird Borrowed from just-as-weird French "piquer" - to stab or jab.

It is kind of funny that both of the incorrect versions, peaked or peeked, sort of make more sense just based on the definitions of the individual words. “Peaked my interest” in particular could be interpreted as “reached the top of my interest.”

Way better than stabbing my interest, in a French fashion or otherwise.

Re: I got almost all of my wishes granted with RP2350

#250
post #216

Earlier quoted context omitted.

Signed boot. Unless someone at DEF CON wins our $10k bounty of course.

Do you have any protection against power/clock glitching attacks?

Yes, several approaches. More here: https://x.com/ghidraninja/status/1821570157933912462
Post reply on HN