
Search found 218 matches
- Fri Jan 22, 2021 2:36 pm
- Forum: General
- Topic: ST-Link for debugging?
- Replies: 5
- Views: 373
Re: ST-Link for debugging?
I don't see why you would not be able to use the st-link unless ST blocks using it with any competitor microcontroller in software. A SWD capable debugger obviously works with a SWD capable microcontroller 

- Fri Oct 09, 2020 11:45 am
- Forum: General discussion
- Topic: RAM speed
- Replies: 39
- Views: 3871
Re: RAM speed
What you are likely looking for are the cache lockdown registers. Search in the Cortex-A72 technical reference manual and you will find it. ARM based CPUs had it for many years. I would not recommend you use the cache lockdown regs because they are only privileged mode accessible and everything that...
- Mon Jul 27, 2020 6:48 pm
- Forum: General discussion
- Topic: Actual memory bandwidth of raspberry pi4?
- Replies: 75
- Views: 4937
Re: Actual memory bandwidth of raspberry pi4?
The L2 cache as is was probably choosen because of cost. Don't forget this is a $35 computer. Yes, it would probably benefit from a little bigger and faster cache but it would also increase die space quite a bit. As for the DRAM not sure. Is the number you stated explicitly for a 32 bit bus? The pra...
- Sat Jul 25, 2020 5:21 pm
- Forum: General discussion
- Topic: Much Slower Than Expected Ethernet Speed
- Replies: 7
- Views: 686
Re: Much Slower Than Expected Ethernet Speed
If the site uses TLS even for the test data then that's the bottleneck. Unfortunately the crypto extensions are missing from the Cortex-A72 cores used on the Pi 4.
- Sat Apr 04, 2020 11:02 am
- Forum: General discussion
- Topic: Should you buy an A2 performance rated SD card?
- Replies: 30
- Views: 9412
Re: Should you buy an A2 performance rated SD card?
Well, having a A rating kinda implies the card is internally optimized to deal better with random reads and writes even if it isn't as fast as other cards. This will ultimately show in long term performance and lifetime. Not sure if anyone made destructive tests yet to see which cards hold up best w...
- Thu Mar 26, 2020 4:23 pm
- Forum: General discussion
- Topic: Old SD (or microSD) cards
- Replies: 14
- Views: 1280
Re: Old SD (or microSD) cards
Use them for archiving data like pictures. They should be able to hold the data at least 20 years.
- Thu Mar 19, 2020 9:42 am
- Forum: General discussion
- Topic: RPi4 external USB3 SSD Enable and Check Trim
- Replies: 32
- Views: 12571
Re: RPi4 external USB3 SSD Enable and Check Trim
Well of course. Erase takes time. But you can still enable weekly fstrim for SD cards to avoid that slowdown.
If you take into account that write operations (to pre-erased pages) in turn will be faster this slowdown may not look as bad as it seems.
If you take into account that write operations (to pre-erased pages) in turn will be faster this slowdown may not look as bad as it seems.
- Wed Mar 18, 2020 12:22 pm
- Forum: General discussion
- Topic: Raspberry Native C and Speed Tests
- Replies: 55
- Views: 7244
Re: Raspberry Native C and Speed Tests
With assembly you have to write every single instruction yourself and keep the registers in mind. A professional Assembly programmer will soon create macros and the like to save themselves from having to write every instruction by hand and move from Assembly to Macro Assembly and, in that respect, ...
- Wed Mar 18, 2020 10:32 am
- Forum: General discussion
- Topic: Raspberry Native C and Speed Tests
- Replies: 55
- Views: 7244
Re: Raspberry Native C and Speed Tests
C has nothing to do with assembly languages. C is a high level language (and one of the lowest level of high level languages). With assembly you have to write every single instruction yourself and keep the registers in mind. You also have to know the ABI. It's a pain and should not be used unless th...
- Tue Mar 17, 2020 2:05 pm
- Forum: General discussion
- Topic: RPi4 external USB3 SSD Enable and Check Trim
- Replies: 32
- Views: 12571
Re: RPi4 external USB3 SSD Enable and Check Trim
Yes, it may still be slower than weekly fstrim even with native SATA (3.1) but the majority of the slowdown comes from command handling as i understand it. If you delete lots of files you will send a flood of TRIM commands to the SSD with discard. If the SSD can't take multiple commands at once (com...
- Tue Mar 17, 2020 1:49 pm
- Forum: General discussion
- Topic: Viruses on Linux
- Replies: 22
- Views: 2081
Re: Viruses on Linux
I will take 10 packs.
[/irony]
[/irony]
- Tue Mar 17, 2020 10:18 am
- Forum: General discussion
- Topic: Viruses on Linux
- Replies: 22
- Views: 2081
Re: Viruses on Linux
I will take any E-Mail offer from any price if he can supply toilet paper 

- Tue Mar 17, 2020 10:12 am
- Forum: General discussion
- Topic: RPi4 external USB3 SSD Enable and Check Trim
- Replies: 32
- Views: 12571
Re: RPi4 external USB3 SSD Enable and Check Trim
So what is the best option for a SSD : 1 - as suggested above by @HawaiianPi : create the udev rules file for your USB SSD (or adapter) and issue a sudo systemctl start fstrim.timer command. There are quuite a few dodgy SATA <--> USB 3 adapters where uasp doesn't work properly so the weekly fstrim ...
- Mon Mar 16, 2020 10:39 am
- Forum: General discussion
- Topic: Viruses on Linux
- Replies: 22
- Views: 2081
Re: Viruses on Linux
@Heater
Ransomware is extremely popular right now. But it doesn't really target Linux desktops.
Ransomware is extremely popular right now. But it doesn't really target Linux desktops.
- Mon Mar 16, 2020 9:49 am
- Forum: General discussion
- Topic: Viruses on Linux
- Replies: 22
- Views: 2081
Re: Viruses on Linux
Yes, but there are scripts/programs searching for these vulnerable devices. They infect them if found and the infected devices themselves will search and infect others again.These infected devices will usually either mine coins or DDoS or both. That is how some of the largest botnets could be create...
- Sun Mar 15, 2020 11:33 pm
- Forum: General discussion
- Topic: Viruses on Linux
- Replies: 22
- Views: 2081
Re: Viruses on Linux
Most Linux viruses probably only target servers and IoT (or IoS how i like to call it. The S is left to your imagination ;) ). Repositories should be relatively safe. Packages are normally signed and if a malicious package slips through it would not take long until someone notices. Chances are much ...
- Sun Mar 15, 2020 11:15 pm
- Forum: General discussion
- Topic: RPi4 external USB3 SSD Enable and Check Trim
- Replies: 32
- Views: 12571
Re: RPi4 external USB3 SSD Enable and Check Trim
Regarding weekly fstrim vs. discard: It depends. For SATA SSDs discard is fine if the SSD supports command queueing (SATA 3.1). If not stuff like deleting lots of files will be noticeably slower and weekly fstrim makes more sense. For SD cards discard doesn't seem to be noticeably slower so i just e...
- Sat Mar 14, 2020 8:29 pm
- Forum: General discussion
- Topic: How To Get Mousepad (text editor) To Read Standard Text Files
- Replies: 98
- Views: 6814
Re: How To Get Mousepad To Read Standard Text Files
At least it has 1 good side: kaomojis
This guy will look terrible in some fonts.
( ͡° ͜ʖ ͡°)━☆゚.*・。゚
This guy will look terrible in some fonts.
( ͡° ͜ʖ ͡°)━☆゚.*・。゚
- Sat Mar 14, 2020 8:19 pm
- Forum: General discussion
- Topic: Why USB-C ?
- Replies: 33
- Views: 2504
Re: Why USB-C ?
Yeah, it's good the voltage levels are standardized and USB always starts at 5V unless power supply and device agree on something else. Being able to plug USB-C plugs in either way is more of a convenience feature but i can understand why people like it.
- Sat Mar 14, 2020 10:23 am
- Forum: General discussion
- Topic: How To Get Mousepad (text editor) To Read Standard Text Files
- Replies: 98
- Views: 6814
Re: How To Get Mousepad To Read Standard Text Files
Maybe the default font in Raspbian just doesn't support this insanity?
- Sat Mar 14, 2020 10:06 am
- Forum: General discussion
- Topic: How To Get Mousepad (text editor) To Read Standard Text Files
- Replies: 98
- Views: 6814
Re: How To Get Mousepad To Read Standard Text Files
Windows-1252 is a superset of ISO-8859-1 that includes the characters from ISO-8859-15 and popular punctuation such as curved quotation marks. It is common that web page tools for Windows use Windows-1252 but label the web page as using ISO-8859-1, this has been addressed in HTML 5, which mandates ...
- Sat Mar 14, 2020 9:48 am
- Forum: General discussion
- Topic: How To Get Mousepad (text editor) To Read Standard Text Files
- Replies: 98
- Views: 6814
Re: How To Get Mousepad To Read Standard Text Files
The text editors can't know what encoding is used. At best they can try and guess but it never works out really. The way Notepad displays it is just as wrong as most other text editors because it is unprintable. This way you believe it's working but in reality it's broken. This is exactly why the en...
- Fri Mar 13, 2020 3:14 pm
- Forum: General discussion
- Topic: Why USB-C ?
- Replies: 33
- Views: 2504
Re: Why USB-C ?
USB-C is much more robust than microUSB can handle more current has standardized voltages supports the old USB 2.0 interface of the SoC On top of that everything is slowly switching to this new connector. microUSB will eventually disappear. Do you need any more reasons? edit: Most people just buy th...
- Thu Mar 12, 2020 3:00 pm
- Forum: General discussion
- Topic: 64-bit operating system
- Replies: 358
- Views: 154168
Re: 64-bit operating system
That was quite a necro bump.
You can now run 64 bit software with little effort under Raspbian:
viewtopic.php?f=63&t=232417&start=125#p1621085
You can now run 64 bit software with little effort under Raspbian:
viewtopic.php?f=63&t=232417&start=125#p1621085
- Thu Mar 12, 2020 10:54 am
- Forum: General discussion
- Topic: How To Get Mousepad (text editor) To Read Standard Text Files
- Replies: 98
- Views: 6814
Re: How To Get Mousepad To Read Standard Text Files
I don't see the problem to be honest. It's just as easy to use as leafpad and even got basic features like syntax highlighting without overwhelming the useru. The encoding dialog is annoying, yes but it almost exclusively happens for stuff written in Notepad (which supports UTF-8 since many years bu...