![]() |
Forum Index : Microcontroller and PC projects : identify what cpu running on (picomite)
Author | Message | ||||
vincenthimpe Regular Member ![]() Joined: 14/10/2018 Location: United StatesPosts: 63 |
is there a command that can tell me what cpu i am running on ? RP2040 , RP2350A RP2350B and so on ? |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3310 |
Try ?mm.device$. I don't have a way at present to determine whether it distinguishes between RP2040, RP2350A, RP2350B. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
vincenthimpe Regular Member ![]() Joined: 14/10/2018 Location: United StatesPosts: 63 |
that just prints PicoMite. i need to know the actual cpu . the base address for the control registers is different . since i'm writing a library i want to make it self-detecting. |
||||
ebbandflow Newbie ![]() Joined: 31/08/2023 Location: United StatesPosts: 35 |
In absence of a more direct solution, what about setting pins (or other options) that will only work on specific models, and use the error/lack of error and the process of elimination? |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
print mm.device$ WebMite RP2350A > print mm.ver 6.0002 > VK7JH MMedit |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 971 |
All using RP2350A have it appended to mm.device$ All using RP2350B have it appended to mm.device$ If neither is present it is an RP2040 ? mm.device$ PicoMiteHDMIUSB RP2350A Latest F4 Latest H7 FotS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |