Hi,
My understanding is that the DM42 has 1MB of internal flash on the STM32L476Z chip and 8MB of external flash available via QSPI (2MB mapped at 0x90000000 and used as an extension to internal flash and 6MB used to expose a virtual USB FAT disk).
However, https://technical.swissmicros.com/dm42/ ... ifications indicates "32 MBit external flash". Is this a mistake (and it should say "64 MBit" instead), or am I missing something?
DM42 specs: doesn't it have 8MB of external flash?
-
- Posts: 795
- Joined: Wed May 03, 2017 7:46 pm
- Location: Malone, NY USA
Re: DM42 specs: doesn't it have 8MB of external flash?
I'm not saying SM did it but some companies buy damaged chips that are functional within a well-defined subset of the original specs. I knew of a computer manufacturer that used 8K dynamic RAM chips. There were no 8K chips manufactured as such but there were defective 16K chips that had only 8K working. The company bought them for a song (cheap!) and sold a home computer with 8K RAM that was very popular. Of course when the yield of 16K RAM chips increased to the point that a full 16K chip was as cheap as a half-good 16K chip, the company bought the 16K chips at the same price it had been paying for 8K and sold 16K upgrades to its users.invariant wrote: ↑Thu Oct 28, 2021 12:12 amHi,
My understanding is that the DM42 has 1MB of internal flash on the STM32L476Z chip and 8MB of external flash available via QSPI (2MB mapped at 0x90000000 and used as an extension to internal flash and 6MB used to expose a virtual USB FAT disk).
However, https://technical.swissmicros.com/dm42/ ... ifications indicates "32 MBit external flash". Is this a mistake (and it should say "64 MBit" instead), or am I missing something?
Tom L
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Re: DM42 specs: doesn't it have 8MB of external flash?
Since the DM42 has more than 4MB free memory, 32 Mbit is probably not correct as a memory specification. With SD cards, the memory is usually specified in MB and the speed in Mbit/s - maybe the seconds have been lost.
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(256kB), HP35S, Prime, DM41X, DM42
- Over_score
- Posts: 160
- Joined: Fri May 05, 2017 9:37 pm
- Location: France
Re: DM42 specs: doesn't it have 8MB of external flash?
Here the DM42 memory map:
0x08000000 to 0x0804FFFF 320 KB flash inside ST32L476 reserved for DMCP
0x08050000 to 0x080FFFFF 704 KB flash inside ST32L476 programs like free42, WP34S, WP43S, …
0x10000000 to 0x10007FFF 32 KB high-performance RAM (with hardware parity check) a part of this RAM is used by DMCP
0x20000000 to 0x20017FFF 96 KB RAM
0x90000000 to 0x907FFFFF 8192 KB of external flash
The external flash is split the following way:
0x90000000 to 9x901FFFFF 2036 KB for system and user data
0x901FD000 to 9x901FDFFF 4 KB reserved for DMCP
0x901FE000 to 9x901FFFFF 8 KB for ?
0x90200000 to 0x907FFFFF 6144 KB for the FAT file system
0x08000000 to 0x0804FFFF 320 KB flash inside ST32L476 reserved for DMCP
0x08050000 to 0x080FFFFF 704 KB flash inside ST32L476 programs like free42, WP34S, WP43S, …
0x10000000 to 0x10007FFF 32 KB high-performance RAM (with hardware parity check) a part of this RAM is used by DMCP
0x20000000 to 0x20017FFF 96 KB RAM
0x90000000 to 0x907FFFFF 8192 KB of external flash
The external flash is split the following way:
0x90000000 to 9x901FFFFF 2036 KB for system and user data
0x901FD000 to 9x901FDFFF 4 KB reserved for DMCP
0x901FE000 to 9x901FFFFF 8 KB for ?
0x90200000 to 0x907FFFFF 6144 KB for the FAT file system
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
Re: DM42 specs: doesn't it have 8MB of external flash?
Some nitpicky questions:
Question 1 remains, however: How much of the 32kB is used by DMCP?
- Which part of the 32kB is used by DMCP?
- How are system and user data separated within the 2036kB?
- How much of the 2036kB are used by the system?
Question 1 remains, however: How much of the 32kB is used by DMCP?
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
Re: DM42 specs: doesn't it have 8MB of external flash?
Yeah, that whole "32Mbit" answer really doesn't make much sense. They really should correct the tech specs to say 8MB (or is it mb for mebibyte?) QSPI Flash, or if they want to get really detailed, 1mb SoC Flash + 8mb QSPI Flash for storage (some used by OS/env).
DM42, DM16L, and a menagerie of HPs thanks to CAS (Calc Acq Syndrome)!
Re: DM42 specs: doesn't it have 8MB of external flash?
Please remember: bit is small and byte is greater, hence Mb for megabit and MB for megabyte. And if you don't want to signal you believe in millibit or millibyte, abbreviate mega using a capital M, please. (I hardly observe any people on this side of the pond with such unit spelling problems. Don't get me guessing about the causes.)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
Re: DM42 specs: doesn't it have 8MB of external flash?
SwissMicros use "MBit"
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(256kB), HP35S, Prime, DM41X, DM42
Re: DM42 specs: doesn't it have 8MB of external flash?
Swiss exactitude
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
Re: DM42 specs: doesn't it have 8MB of external flash?
The problems originate when you bring "mebibyte" into the picture, as SI has forced. Both of these cases are, in fact, referring to mebibyte values, not megabyte values, since you want to get technical, so just throwing "MB" at it would be "more significantly" incorrect.Walter wrote: ↑Mon Nov 29, 2021 6:04 amPlease remember: bit is small and byte is greater, hence Mb for megabit and MB for megabyte. And if you don't want to signal you believe in millibit or millibyte, abbreviate mega using a capital M, please. (I hardly observe any people on this side of the pond with such unit spelling problems. Don't get me guessing about the causes.)
If we could instead coherently agree that KB and MB instead refer (appropriately) to Kibibytes and Mebibytes in all computing-related contexts other than storage marketing contexts, life would be much easier. Instead, thanks to SI we're left with KB=kilobytes (1000bytes), MB=megabytes (1000000 bytes), and no properly equivalent/usable abbreviations for Kibibyte (1024 bytes) and Mebibyte (1048576 bytes) -- KiB and MiB aren't equivalent or usable replacements, because they require three glyphs where very commonly only two glyphs worth of space is available.
SI "redefinition" of KB & MB, changing their well-established meanings, has created many more problems (some quite serious) than it "solved". They could have even allowed KB & MB represent Kibibytes and Mebibytes, but no, instead they took two very-widely-used-and-understood abbreviations and turned them into serious problems.
DM42, DM16L, and a menagerie of HPs thanks to CAS (Calc Acq Syndrome)!