Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 01:53 30 Mar 2024 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 : MMEdit

     Page 1 of 2    
Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 10:57pm 13 Sep 2021
Copy link to clipboard 
Print this post

I am having all sorts of problems connecting the PICOMITE to MMEdit. On my desktop it won't connect at all, on my laptop it works to download files to The Pico but I can't upload from the Pico to the PC.
It's probably something simple, it did work on the desktop box then stopped so I downloaded the latest version but still no go. It connects as far as the serial connection is concerned but I cant use File Master to transfer files.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5867
Posted: 02:16am 14 Sep 2021
Copy link to clipboard 
Print this post

I am not at home at the moment but there is a dll that Needs updating

Search the forum for a post with mmedit.zip andyou shouldfind it.
I have too much trouble using the phone to do things like that
Jim
VK7JH
MMedit   MMBasic Help
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 02:21am 14 Sep 2021
Copy link to clipboard 
Print this post

That rings a bell, thanks Jim.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 02:35am 14 Sep 2021
Copy link to clipboard 
Print this post

I found the latest ones but they give a 404 not found

Edit....Found it in my files from an earlier download. Filemaster connects but I can't upload from the Pico.
Edited 2021-09-14 13:20 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5867
Posted: 05:21am 14 Sep 2021
Copy link to clipboard 
Print this post

Sorry about the wrong name to search for.
Here is a slightly updated version of the DLL. It should work with your version of MMEdit

LBcoms.zip

To see the files on your pico you need to select Armite_H7 or micromite_extreme as the syntax.
I have held back on a picomite syntax while the code is so dynamic.

Jim
VK7JH
MMedit   MMBasic Help
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 07:51am 14 Sep 2021
Copy link to clipboard 
Print this post

Downloaded and installed the file but no change. I am obviously doing something wrong. In the file transfer pop up on the right hand side at first it says "working" and then "dir." and "dir.." how can I select the file?


Edited 2021-09-14 17:54 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 839
Posted: 09:18am 14 Sep 2021
Copy link to clipboard 
Print this post

I saw this if SD Card is not in when you open the FileManager browse window.  Press the A: button to make it try and read again. You do have the Error: SDCard not found, which it gives if SDCard is not in. Can the PicoMite use the SDCard OK ie.

Regards
Gerry
Latest F4 Latest H7
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5867
Posted: 11:35am 14 Sep 2021
Copy link to clipboard 
Print this post

What happens if you type FILES at the command prompt?

Jim
VK7JH
MMedit   MMBasic Help
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 12:33pm 14 Sep 2021
Copy link to clipboard 
Print this post

I know nothing about the Pico but I notice that MMEdit thinks it's connected to a H7. Is this the same for the Pico?
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 07:20pm 14 Sep 2021
Copy link to clipboard 
Print this post

If I type "Files" I get "error SD Card not found" as expected. I have never needed an sd card with the MM is this different. Do I have to save to an SD card first.
Edit...The SD card on the display is wired and Option is set but I had no luck with it, I just get SD card not found. It's a bit hard working with the PicoMite at this stage ( for a mug like me anyway ) with no manual etc. maybe I should wait a while until all is final.
Edited 2021-09-15 06:39 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 09:02pm 14 Sep 2021
Copy link to clipboard 
Print this post

There is a PicoMite manual in the works, but it's not ready yet. There are still tweaks to MMBasic going on on there.

MMBasic for the PicoMite is very similar to the CMM2 now. The TINAM document covers virtually everything that's any different to that, although the PIO stuff in the current version is now outdated.

'Files' will only list files from an SD card. Are you sure you have it set up right? You can use it with either the system SPI pins or with some of its own (because it's software driven, not actually on an SPI port).
OPTION SDCARD CSpin, CLKpin, MOSIpin, MISOpin should work (if those pins are different to the system SPI pins).

To use it with the system SPI pins you need
OPTION SYSTEM SPI CLKpin, MOSIpin, MISOpin
OPTION SDCARD CSpin
in this case the pins for system SPI must be a valid hardware SPI port.

The PicoMite can store programs (but not data) in 10 flash slots too.
Mick

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

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 09:13pm 14 Sep 2021
Copy link to clipboard 
Print this post

I have the sytem pins set and also the SDcard CS pin. As I said I tried it in the display card slot but not recognised.

Edit......Well no wonder it won't work, I have the SDcard pins from the display mirror reversed on my backpack board. This is going to be a messy fix.
Edited 2021-09-15 07:22 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 09:58pm 14 Sep 2021
Copy link to clipboard 
Print this post

Ah...
At least it's not just me that screws stuff like that up. I feel a little bit better now. :)

You could take the pins off the display then wire them onto the pcb, I suppose...
Mick

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

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 10:02pm 14 Sep 2021
Copy link to clipboard 
Print this post

Well not as painful as I thought Files command lists BUT save "file" gives an error.
A hard error occurred in the low level disk I/O layer
> Warning: SDcard Removed.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 03:15am 15 Sep 2021
Copy link to clipboard 
Print this post

I don't know if I have the SD Card wired correctly, can someone confirm.
In a previous post to me Tassie Jim wrote
  Quote  So my configuration requires:

OPTION SYSTEM SPI 14,15,16
OPTION SDCARD 17
OPTION LCDPANEL ILI9341,L,10,11,12
OPTION TOUCH 19,20
GUI CALIBRATE 0, 250, 504, 925, 747


are these SPI pins OK to use when I look at the pin out it does'nt seem right.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5867
Posted: 04:09am 15 Sep 2021
Copy link to clipboard 
Print this post

  palcal said  I don't know if I have the SD Card wired correctly, can someone confirm.
In a previous post to me Tassie Jim wrote
...
are these SPI pins OK to use when I look at the pin out it does'nt seem right.


What I gave you what I use for my setup. It's still what I use.
There seems to be an infinite number of ways to wire up the CD card etc so I can't help with yours.

Jim
VK7JH
MMedit   MMBasic Help
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 07:04am 15 Sep 2021
Copy link to clipboard 
Print this post

TBH they don't look right to me either, but hey-ho, if they are working (they shouldn't)...  :)

I've had that error when trying to save too. In my case I was trying to use an old low capacity SD card because it's what I had. Changing it for a newer card fixed it. The recommended capacity range is 8GB to 128GB. Avoid the tiny stuff.
Mick

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

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1757
Posted: 07:32am 15 Sep 2021
Copy link to clipboard 
Print this post

I'll get a new card I'm using an old 4GB card.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 2989
Posted: 12:14pm 15 Sep 2021
Copy link to clipboard 
Print this post

  palcal said  OPTION SYSTEM SPI 14,15,16
OPTION SDCARD 17

are these SPI pins OK to use when I look at the pin out it does'nt seem right.


What doesn't seem right? "OPTION SYSTEM SPI CLKpin, MOSIpin, MISOpin" -- 14,15,16 fit that requirement for SPI1. Can you provide a clear shot of your wiring?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 03:55pm 15 Sep 2021
Copy link to clipboard 
Print this post

For the hardware port SPI1 according to the PicoMite pin diagram:
spi1 RX (miso) is on pin 15 / GP11
spi1 TX (mosi) is on pin 16 / GP12
spi1 SCK is on pin 17 / GP13

OPTION SYSTEM SPI CLKpin, MOSIpin, MISOpin
so, in theory
OPTION SYSTEM SPI 14,15,16 is incorrect. It should be
OPTION SYSTEM SPI 17,16,15
I'm not saying that those values won't work, just that they don't look as if they should. :)


EDIT:
SHEESH! It looks like the diagram in TINAM is wrong and you are correct, lizby. No-one has spotted it (or at least not said anything). Forget what I said above. LOL
Edited 2021-09-16 02:20 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
     Page 1 of 2    
Print this page
© JAQ Software 2024