|
A) It's battery.
B) even if it wasn't, the program code is too big to fit on flash, meaning literally even if i could just store the code in PSRAM it would have to be downloaded to the device every time you turned it on.
C) even if it weren't for B there's no way to set the external RAM as executable AFAIK. It's not addressable as program code space.
Real programmers use butterflies
|
|
|
|
|
More confused, 320K working ram ( running program, scratch ( or are you running from flash and ram just as scratch? )) 4M flash, 4M PSRAM.
My picture was; on power-up load PSRAM, then swap from PSRAM into RAM ( or flash ) the parts you need as you go.
Either as small programs or overlays ( a hell I've never been involved in. )
So, yes, load the PSRAM on every boot, which may take too long, may not be feasible with the connections you have.
So 1. I wasn't thinking ( as I should ) running from flash,
2. wasn't clear that I meant swapping. AND having to re-load every boot.
Of course, that grief is likely not worth it. Unless you only needed the WIFI rarely and could swap that in / out as needed. And wouldn't get bricked when the swap failed.
Oh, well, life's a witch and then you fly.
|
|
|
|
|
Yeah, overlays aren't really practical. I think i can keep this within 4MB of total storage. I'm using some of the flash to store session data, but I could use the 4MB of PSRAM for that instead and that would give me a little more space for program code. I think i can fit it when i do that.
The reason i'm not doing that currently is I'm using a WROOM not a WROVER for the current device. A WROOM does not have the 4MB of PSRAM, it only has the 320kb of ram (which includes the program's variables and such but not the program code itself which i think runs straight off of the flash)
Oh and to be clear,
WROVER: 4MB of non-volatile flash. 4MB of volatile PSRAM (accessible as RAM), 320kB of core RAM available
WROOM: 4MB of non-volatile flash.. 320kB of core RAM
Real programmers use butterflies
|
|
|
|
|
I'm playing with toys from the same family. You can get the ESP32-DEVKIT-VIE[^] with 8MB flash.
OTA upgrade is a PITA. If at all possible, try to explain to your client all the security issues he can have and steer him away from it. The way it is currently implemented is brain-dead: for the smallest change you need to have twice the amount of flash.
If there are more of us playing with these toys maybe CP can open a discussion forum where we would not annoy everyone else with technical details. Just a thought.
Mircea
|
|
|
|
|
I agree with you about the OTA generally, but it depends on what your device does. Sometimes security isn't an issue with these things, like if they're just taking sensor readings.
Real programmers use butterflies
|
|
|
|
|
So, when can we expect an article on how to build your own Bluetooth stack that only need a tenth of the memory?
|
|
|
|
|
Not if I can avoid it!
Real programmers use butterflies
|
|
|
|
|
So the latest Edge update silently changed my PDF default app from FoxIt Reader to the Edge browser.
And when I went to change it back, it gave me a "Are you sure you want to" prompt.
Has this happened to anyone else?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I use Brave.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Yes, it has to me. I use Samatra, FWIW, so I noticed it too.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
What irritates me about Windows updates, is that it changes some of my preferences / settings. We have 3 printers on our home network. She has her own paintjet, so do I, and we share a laserjet for everyday print jobs. The laserjet is my default printer, except after an update. Then my default printer is her paintjet, for which I don't even have a driver installed. Yuck!
Get me coffee and no one gets hurt!
|
|
|
|
|
I wear a mask and use Chrome.
|
|
|
|
|
Got a condome on your router, eh?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
well according to Captain Faucci, you need to wear 2 masks now.
|
|
|
|
|
WTF?? . . . presumably one for his mouth and the other for his ___ (Rhymes with Pass)?
|
|
|
|
|
Faucci...this is the guy who went from:
March of last year: Don't use masks; it's pointless for the general population. Leave them to doctors and nurses.
A few months later: Everybody should wear masks. We were just worried back then about a shortage.
Now: Double and triple layers.
I'm not part of "that group", but this is easy to see through: Now that everyone's shifted their manufacturing to producing them, there's an oversupply and we need to sell more so nobody's sitting on a huge inventory.
If double-masks made sense, why haven't medical staff been wearing them that way since forever?
|
|
|
|
|
Prolly not, got a host file installed. Can't remember the request.
Even if so; that's just a "yes" to the prompt?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Happened to me too.
Edge isn't the virus though: MS Update is the virus 8(
|
|
|
|
|
I use it as well, and for the most part it's a good browser.
But in the long run, it would serve us all best to go back to Firefox.
|
|
|
|
|
Your message was duplicated, I have deleted the other copy.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
That's not really about edge and more about Windows. Edge doesn't have the power to change default apps on its own.
I do enjoy the browser, but do hate Windows and its anti-trust behaviors which are not limited to Edge browser. As far as browser is concerned I actually moved to Edge because of Chrome's privacy issues and been happy since, because to me is a better browser overall.
To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson
Our heads are round so our thoughts can change direction - Francis Picabia
|
|
|
|
|
Fabio Franco wrote: I do enjoy the browser, but do hate Windows and its anti-trust behaviors which are not limited to Edge browser.
Microsoft went through that two decades ago.
Remind me who's being investigated for anti-trust now? And who's curiously missing from that list this time around?
|
|
|
|
|
Yes, it used to regularly happen with Windows Updates. Doesn't seem to any more.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
It's been happening to the computers that I manage for about 2 years now. Our programming code currently requires us to use Adobe although we are in the process of negating that requirement. Microsoft should leave our settings ALONE! It is extremely intrusive and disruptive for them to change/revert settings on an update. I've even experienced Firewall Rules being overwritten during an OS update.
|
|
|
|
|
I used to be a fan of FoxIt. Dropped them when the included spyware optional software was getting more and more invasive, and difficult to avoid during the installer.
I like Sumatra, but on systems that can run Edge, I honestly have no problem sticking with it.
|
|
|
|