Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:34 01 Aug 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 : Pico programming

Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 12:20pm 13 Nov 2021
Copy link to clipboard 
Print this post

I have a slight problem
It's probably a simple answer to this but I've got a Pico that I've been programming with MM Edit
So far it's been flawless
However today I removed the SD card reader from the Pico as I don't need an SD card for my project
When I try and program the Pico I get this error

  Quote  
Starting process...
Chat closed
File manager closed
Connection Handle: 142280368 0
sending NEW
Clearing...
Checking device...
PRINT MM.DEVICE$
PicoMite
>
>
Checking version...
print mm.ver
5.070106
>
>
CMM2
MMBasic Version V  5.0701 detected
Sending C:\Users\lew24\OneDrive\Desktop\temp.bas
Blocks:88
XMODEM RECEIVE "TEMP.BAS"
Error : SDcard not configured
>
>
Failed to start

Saving program


How can I program it without the SD card
The built in editor would take too long to type it all out and cut and paste into the editor doesn't work
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 01:07pm 13 Nov 2021
Copy link to clipboard 
Print this post

Hi Lewis,

You'll have to check the manual but there is a way to use XMODEM RECEIVE without a filename which will save it into RAM and then another mechanism to save from RAM into one of the "flash" slots. If you are using MMEdit then this is probably automated in some way, maybe you need a newer version?

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 01:18pm 13 Nov 2021
Copy link to clipboard 
Print this post

You can use
XMODEM RECEIVE
to load text or BAS files into the PicoMite over USB.
Also, you can use
AUTOSAVE
then paste a text or BAS file into the PicoMite, finish with a Ctrl-Z to save the program or Ctrl-C to abort. (You'll almost certainly need a decent line delay in the terminal for this to work).

I tend to cut & paste chunks of program in Notepad, XMODEM it into the MMBasic platform and tweak it in the editor. You don't need to go to these lengths on the CMM2.

Once you have it you can save to a flash slot using
FLASH SAVE <slotnumber>

The CMM2 needs the SD card as you are editing the ASCII file on it. The PicoMite doesn't need it as the ASCII file is held in RAM during editing. I'm confused by the text you are seeing, particularly the reference to CMM2. I don't use MM Edit. I wonder if you've left the OPTION SDCARD in and it's confused?
Edited 2021-11-13 23:20 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 01:56pm 13 Nov 2021
Copy link to clipboard 
Print this post

Thanks everyone
I got it by changing MM Edit to the Pi
It doesn't have a setting for the Pico
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:48pm 13 Nov 2021
Copy link to clipboard 
Print this post

There are many different devices in the maximite family and almost as many different requirements for transferring data to/from them.
If you don't have a SDcard on the system, you cannot use a configuration that expects a file storage system.
Lew has worked that out already so problem resolved (for now)

The new version of MMEdit will make it easier to resolve issues like this but you will still need to know if your device has a SDcard fitted and if it can run without one.

Personally, I only use XMODEM as a last resort when transferring to the 'mite. AUTOSAVE is much tidier and that is what the new MMEdit uses by default.
You will still need to know about SDcard or not.

The file manager is the last part of MMEdit to get incorporated into MMEdit V5 but it will happen (eventually).

V5 has drag and drop, so to transfer a file to the 'mite, open Windows explorer, drag the BAS file onto the MMControlCentre (or shortcut) and it's done.

Jim
Edited 2021-11-14 06:53 by TassyJim
VK7JH
MMedit
 
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