|
|
"Never before has anyone dared utter words of that tongue here," -- Elrond
|
|
|
|
|
Update: Solved it and am way ahead of the curve.
I recently accepted a tentative contract (contingent on a successful round of funding) to develop some stuff for embedded.
I'm using a newer STM32 offering to do so, and I've run head first into a limitation of STM32CubeIDE and the makefiles it generates. It wants to put all my arrays into DTCM ram instead of SRAM. I only have 128KB of the former, which isn't enough to drive all the devices I have to drive.
I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts which for starters I've never had to do before, and secondly i think it will blow a nuclear sized hole in my workflow.
I've got to figure this out before Tuesday, and I'm not feeling good about it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 10-Feb-24 15:51pm.
|
|
|
|
|
honey the codewitch wrote: I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts... Follow the source? Who told you that? Who do they know that told them? I'd keep going down that trail as hard as possible until someone turns up that can show you an example script. Good luck!
|
|
|
|
|
I already figured it out. It doesn't matter who told me.. I misunderstood you. Sorry. I found an example. It matters that the information is correct. It was.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 10-Feb-24 7:47am.
|
|
|
|
|
Yes, unless you can use a variable attribute, the linker script (as ugly as its syntax is) is usually the way.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I didn't realize Cube already made one for me. I just didn't see it. It was easy enough to edit.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Is it possible for you to use the Flexible Memory Controller feature in the project?
"Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers
PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
I don't know if you can map the .bss segment to it, but I couldn't say for sure. Maybe you can with STM32s. They've got some pretty wild hardware support.
Anyway, I solved the problem. Cube was creating an .ld file in my root project folder and I just wasn't seeing it. Soon as I edited, problem solved.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Tell me if I'm wrong but the only thing bss segment does is zero out the area and this is done as part of the startup.
"Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers
PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
It's the area where all uninitialized data gets placed. Things like arrays.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Wordle 966 4/6*
⬛⬛⬛⬛🟨
⬛⬛🟩🟨🟨
⬛🟩🟩⬛🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 966 2/6
⬜🟨🟩🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 966 3/6
⬛⬛⬛⬛⬛
⬛🟩⬛⬛🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 966 3/6
⬛⬛⬛⬛🟨
🟨🟨⬛🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
⬜🟩⬜⬜🟨
⬜🟨⬜⬜⬜
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 966 3/6*
⬜🟩⬜⬜🟨
⬜🟩🟨⬜🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 966 4/6
⬛⬛⬛⬛⬛
🟨⬛⬛⬛⬛
⬛🟨🟨🟩🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
A few days ago my big Intel 1U server shut down a couple of times due to thermal trip events. I did a search on the web and found a support discussion indicating that updating the firmware to the latest version might help.
I was 6 revisions behind the current version.
I've spent 18 hours on getting up to date and I'm not there yet.
Of course the server spends a lot of time apparently doing nothing but there are BIG BOLD WARNINGS saying not to interrupt the process or I might end up with a very expensive 1U brick.
Anyone else have this experience?
|
|
|
|
|
Yes...not for a server, but the idea is the same.
Did you try to jump ahead by those 6 versions in one go, or going sequentially from one to the next?
Who knows how much testing they do...but as much as I hate to suggest it, if it was for myself, I'd be more comfortable going v1 -> v2 -> [...] -> vLatest rather than taking the larger leap.
But it does sound like made progress...is there an actual problem so far, or are you just bringing up the long delays?
I hope your server's on a fully-charged UPS while you're doing that.
|
|
|
|
|
I did it one at a time for exactly the reason you give; could they have tested all those different possibilities with all the different possible configurations? Probably not, and that's also what the vendor's tech support person recommended.
I have a whole house UPS and a generator to keep the batteries charged if there is an outage.
I'm supposedly on the last step now, having made it up to the next to the last one without bricking the server. Hopefully I'll be back to actual useful work pretty soon.
|
|
|
|
|
Any time you update firmware, thou must not lose power. This is very common.
I cannot comment on your server. The firmware update process is very hardware dependent. After working on laptops for 20+ years and sundry other machines, I think I have updated firmware twice. I deem it similar to wiring a 480V panel. My hands start to shake.
Good luck. Let us know how it goes.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
My main machine, the one I'm using to post here, is 5 years old and I've never updated the firmware. One reason is that it has a non-standard memory configuration and I'm afraid that a newer firmware revision would prohibit me from using it. Also, so far I haven't found any problems that I thought meant I needed to update the firmware.
|
|
|
|
|
I remember updating the BIOS for my first time ever when I was building my Threadripper machine. The mainboard was quite expensive, and I was sweating bullets as the progress bar crept to the right.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
My motherboard wouldn't take a 13th gen Intel CPU without a firmware patch. Think about it.
I had a 13th gen CPU.
Fortunately my BIOS supports flashback which doesn't need to post in order to flash the BIOS firmware. You just pop a USB stick in the specially marked port and pray for about 8 minutes while a little red light flashes.
I was white knuckling it through the whole process. Just a flashing red light. I was waiting for it to say "I'm afraid I can't do that, Dave"
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|