Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:51 18 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : identify what cpu running on (picomite)

Author Message
vincenthimpe
Regular Member

Joined: 14/10/2018
Location: United States
Posts: 86
Posted: 07:12pm 07 May 2025
Copy link to clipboard 
Print this post

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 States
Posts: 3412
Posted: 10:02pm 07 May 2025
Copy link to clipboard 
Print this post

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 States
Posts: 86
Posted: 10:55pm 07 May 2025
Copy link to clipboard 
Print this post

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
Regular Member

Joined: 31/08/2023
Location: United States
Posts: 42
Posted: 11:05pm 07 May 2025
Copy link to clipboard 
Print this post

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: Australia
Posts: 6302
Posted: 11:30pm 07 May 2025
Copy link to clipboard 
Print this post

print mm.device$
WebMite RP2350A
> print mm.ver
6.0002
>

VK7JH
MMedit
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1025
Posted: 02:38am 08 May 2025
Copy link to clipboard 
Print this post

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


F4 H7FotSF4xGT
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025