←back to thread

206 points weatherlight | 8 comments | | HN request time: 0.689s | source | bottom
Show context
rkangel ◴[] No.45101850[source]
> MCU-class footprint (fits in 16 MB RAM)

That is absolutely not an MCU class footprint. Anything with an "M" when talking about memory isn't really an MCU. For evidence I cite the ST page on all their micros: https://www.st.com/en/microcontrollers-microprocessors/stm32...

Only the very very high performance ones are >1MB of RAM.

replies(6): >>45101994 #>>45102137 #>>45102193 #>>45102547 #>>45102910 #>>45106374 #
1. jdndnc ◴[] No.45101994[source]
RAM on MCUs is getting cheaper by the minute.

A couple of years ago it was measured in bytes. Before the RP2040 is was measured in dozens of KiB now it's measured in MiB

While I agree that 16 MiB is on the larger side for now, it will only be a couple of years for mainstream MCUs having that amount on board

replies(3): >>45102059 #>>45102323 #>>45103749 #
2. FirmwareBurner ◴[] No.45102059[source]
>RAM on MCUs is getting cheaper by the minute.

It really isn't. The RP2040 has 256KB RAM. Far away from 16MB.

>now it's measured in MiB

Where? Very few so far and mostly for image processing applications, and cap out at less than 8MB. And those are already bordering on SoCs instand of MCUs.

For applications where 8MB or more is needed, designers already use SoCs with external RAM chips.

>it will only be a couple of years for mainstream MCUs having that amount on board

Doubt very much. Clip it and let's see in 2 years who's right.

3. jbarberu ◴[] No.45102323[source]
Also curious what MCUs you're working with to give you this impression?

RP2040 is 264k, RP2350 is 520k.

I use NXP's rt1060 and rt1170 for work, and they have 1M and 2M respectively, still quite far away from 16M and those are quite beefy running at 500MHz - 1GHz.

replies(2): >>45103469 #>>45110829 #
4. tonyarkles ◴[] No.45103469[source]
While I generally agree with you, the RT106x line does support external SDRAM as well. I've got an MIMXRT1060-EVKB sitting here on my desk that has 32MB of SDRAM alongside the on-die 1MB of SRAM.
replies(1): >>45109541 #
5. pessimizer ◴[] No.45103749[source]
Bigger processors with more RAM have always been available. The question has always been whether you're going to use a $20 processor when you could do the job with a 50¢ one. It's the difference between your product being cheap and disposable, and you getting to choose your margin based on your strategy; and not being able to move a unit without losing money, hoping to sell yourself to someone who knows how to do more with less.

I'm an Erlang fanatic, and have been since forever, paid for classes when it was Erlang Training & Consulting at the center of things, flew cross-country to take them, have the t-shirt, hosted Erlang meetups myself in downtown Chicago. I'm not prototyping a microcontroller application in Erlang if I can get it done any other way. It's committing to losing from the outset.

edit: I've always been hopeful for some bare-metal implementation that would at least almost work for cheap µcs, and there have been promising attempts in the past, but they seem to have gone nowhere.

replies(1): >>45106048 #
6. toast0 ◴[] No.45106048[source]
AtomVM runs on esp32, right? It's not an ultra-cheap microcontroller, but it's pretty cheap. AtomVM isn't BEAM either, though. I have no experience with AtomVM though... it didn't seem like a good fit when I was building something with an ESP32 (I didn't see anything about outputting to LCDs, and that was reasonable with arduino libraries... I also saw a library for calendars and thought that would work for my needs and then I got dragged into making it work better), and it would have worked for the stuff i was doing with ESP8266, but I didn't know about it when I was shopping for boards, so I didn't want to pay extra.
7. theamk ◴[] No.45109541{3}[source]
Those specs are $50 for compute module - a very non-trivial cost.
8. 15155 ◴[] No.45110829[source]
> NXP's rt1060 and rt1170 for work

These both have FlexSPI controllers capable of interfacing with $3-5 in PSRAM at 8M or 16M.