Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:39 27 Nov 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 : How to Transfer Files to Picomite.

Author Message
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 09:52pm 16 Nov 2023
Copy link to clipboard 
Print this post

Hi All

I am finding it difficult to get a smooth file transfer and run procedure
in MMEdit & MMCC to the Picomite.
As always the simple things are the hardest to find.

Environment:Linux Debian 12, Minicom Terminal Emulator.

So, the steps are.
1.Open Minicom after having preset settings first.
   Picomite goes to prompt.
2.Open MMEdit and make any changes to the program I want to send to the Picomite.

In MMEdit
3.Run in Terminal
Does nothing at all.
4.Deploy (whatever that is)
Does nothing at all
Help file shows blank page on Deploy.

5.Start MMCC seperately (perhaps deploy was meant to do that ?)
6.Select Mode/File Manager.
7.In MMCC select file to send.
8.Press >>> button
I get a small Notice window with no text in it and it can't be enlarged and
       disappears after 3 or 4 seconds.
Terminal emulator window shows "XModem Receive "MyFile.bas" (so that proves the link)
MCC window shows Connected, sending 1 File, processing file:....
Blocks 6, Transfer failed to start!
Finished

Terminal Emulator window shows Error: Remote did not respond.

Can someone please correct me where I am going wrong.
The ideal scenario is:
I edit program, I send program to Picomite, I run program in Picomite all from within MMEdit. Two windows would be open, The terminal Emulator and MMEdit.
Am I being to ambitious ?
Regards
Hervey Bay Qld.
 
Andy-g0poy
Regular Member

Joined: 07/03/2023
Location: United Kingdom
Posts: 58
Posted: 10:32pm 16 Nov 2023
Copy link to clipboard 
Print this post

There is no real need for minicom.
(if you need a terminal emulator putty is available for linux, and is quite a bit better than minicom)


run MMCC
connect to the pico
Fromm the three dropdowns
select picomite , ttyAMC0 (or whatever your com port is) , 9600

Click on the connect button to the right of the target string.

In the console area you should see connected.

hit return a few times and you should see the > prompt

That's your system talking to the pico


run MMEDIT
load your program as normal, and edit.

To send to the pico click the last icon on the toolbar (green and red arrow)

The MMCC terminal will show progress

such as:


connected- 127.0.0.1
Control
/mnt/rusty/primary/Development/Raspberry-Pi-Pico/Pico-Programs/SI5353/SI5351-test.bas
Uploading using:  'target port\ttyACM0:9600 s\picomite
Upload started
NEW
>
AUTOSAVE

Upload completed 1

Saved 7911 bytes
>
Time taken: 7478mS
RUN

Thats it job done

The menu item Action > deploy (or hit F2) does the same.

Andy
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 10:47pm 16 Nov 2023
Copy link to clipboard 
Print this post

Hi All

Andy, that worked straight of.
Like I said the simplest things are hardest to find.

But now it is listed here for someone else that uses the same search string.

Many thanks for that.
Regards
Hervey Bay Qld.
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 11:53pm 16 Nov 2023
Copy link to clipboard 
Print this post

Hi All

Happy with that, but would have liked Alt Key access to Menu's etc.
I am so used to pressing Alt keys whilst typing code, that grabbing the mouse to open the file Menu is a hard habit to get used to. Particularly when I still use Geany a lot.
Regards
Hervey Bay Qld.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6099
Posted: 03:59am 17 Nov 2023
Copy link to clipboard 
Print this post

MMEdit
Help menu
MM Edit help
Using MMEdit
and you will find the first steps for running programs.

While you are in the Help.
Under reference
Keyboard shortcuts.

Worth a read.
VK7JH
MMedit   MMBasic Help
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 04:02am 17 Nov 2023
Copy link to clipboard 
Print this post

Hi All

Thanks for that, but I had already been there AND no reference to Alt key mapping.
Regards
Hervey Bay Qld.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6099
Posted: 04:39am 17 Nov 2023
Copy link to clipboard 
Print this post

Ctrl-O to open
ctrl-S to save
<F2> to 'load and run'
VK7JH
MMedit   MMBasic Help
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 04:48am 17 Nov 2023
Copy link to clipboard 
Print this post

Hi All

That's not exactly the time honoured
Alt f for File menu
Alt e for edit
Alt t for cut
etc
Regards
Hervey Bay Qld.
 
Print this page


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

© JAQ Software 2024