Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:15 24 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 : MMIDE - Simple Terminal for Maximite

     Page 2 of 2    
Author Message
brucepython

Regular Member

Joined: 19/06/2011
Location: Australia
Posts: 64
Posted: 02:31am 04 Nov 2011
Copy link to clipboard 
Print this post

I think you've nailed it gentlemen.
I was confusing the Tera Term's ability to use a USB port with the rather obvious absence of a serial port on the MacPro. Duh! Not much use sending to an absent device, is there? I really shouldn't play with computers while out of my tree on painkillers, but it helps pass the time.
Nice one! That's solved. Thanks for the help.

Bruce
 
Vikingboy
Regular Member

Joined: 23/09/2011
Location: Australia
Posts: 82
Posted: 03:35am 04 Nov 2011
Copy link to clipboard 
Print this post

Hi,

Couple of bugs I have found:

Saving files from the Maximite, it seems your save routine involves listing the program in order to capture it to save on the PC, unfortunately if the program is longer than a screen length it pauses the listing and awaits a key entry ,and then you only save one screens worth of the program.

Also in the current 2.7a vers it is possible to get the filename from the mm.fname$ it would be nice to use this to save the file under the correct name as default.Rather than having to enter the filname manually into the file requester.

When trying to load a file, for some reason it again lists the program in memory and then attempts to load the file, I tried a .txt file but nothing uploaded, checking back in the scroll I found several instances of the following error including at the start:

> Volume (C:)
Error: Unknown command

and

> Volume fragmentation
Error: Unknown command

all on win xp, all the basic functionality seems to work ok.

thanks for the program, and look forward to other enhancements.

rgds,

Andrew
 
VK6MRG

Guru

Joined: 08/06/2011
Location: Australia
Posts: 347
Posted: 07:54am 04 Nov 2011
Copy link to clipboard 
Print this post

I have been given the MMIDE a workout and I have found an issue that seems to be fandom. When trying to use the save function, as has been said before, you only get one page of the file, I tried pressing a key on the Maximite's keyboard to scroll the page and it seemed to work.
The file that was saved had the lines of code all in one continuous line (i have included the file). Is this normal, if so it may make it hard for beginners to understand what is going on.
2011-11-04_175027_autorun.zip
I haven't tried the load function yet.
But everything else looks good!
Keep up the good work!
Its easier to ask forgiveness than to seek permission!

............VK6MRG.............VK3MGR............
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 01:31pm 04 Nov 2011
Copy link to clipboard 
Print this post

Hah! Good work done!

Yes, I obviously tested it on conveniently short programs. (I'm embarrassed I didn't notice that "list" paused.) I'll have to fix this.

Listing the program is the way that the program is read from the Maximite.

Vikingboy: You should be loading BASIC code to the Maximite, not text files.

I appreciate the mm.fname$ suggestion.

VK6MRG: I think the issue here is the line-end character. I'll investigate and fix. I might have to translate that.

Lesson learned. Don't release software after one day... :-P

Looks like I have a lot to do this weekend for the next version. Thanks for all of your help!


Micromites and Maximites! - Beginning Maximite
 
VK6MRG

Guru

Joined: 08/06/2011
Location: Australia
Posts: 347
Posted: 01:41pm 04 Nov 2011
Copy link to clipboard 
Print this post

Sometimes it's best to let a fresh set of eyes to look over a program or code, as I have learned, when you have been working on something for hours and you’re a bit tired etc and you think it good buy......
The best thing about this forum is the free testers!
Take your time, and I’m sure there will be more happy testers waiting for the next release of MMIDE.
Keep up the good work.

Its easier to ask forgiveness than to seek permission!

............VK6MRG.............VK3MGR............
 
Vikingboy
Regular Member

Joined: 23/09/2011
Location: Australia
Posts: 82
Posted: 02:01pm 04 Nov 2011
Copy link to clipboard 
Print this post



"Vikingboy: You should be loading BASIC code to the Maximite, not text files. "

Ahhh OK, I was thinking it loaded the file onto the sdcard, was just in the load/save mentality, yes I understand now :)

Although, it would be really nice to incorporate the xmodem transfer, as really the hardest thing to do is to transfer nom basic, non text files, eg font files etc to the sdcard on the Maximite.

Andrew
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 02:06pm 04 Nov 2011
Copy link to clipboard 
Print this post

  Vikingboy said  

"Vikingboy: You should be loading BASIC code to the Maximite, not text files. "

Ahhh OK, I was thinking it loaded the file onto the sdcard, was just in the load/save mentality, yes I understand now :)

Although, it would be really nice to incorporate the xmodem transfer, as really the hardest thing to do is to transfer nom basic, non text files, eg font files etc to the sdcard on the Maximite.

Andrew


File transfer is the next feature of the program.


Micromites and Maximites! - Beginning Maximite
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 04:59pm 04 Nov 2011
Copy link to clipboard 
Print this post

  CircuitGizmos said  

Lesson learned. Don't release software after one day... :-P



Well, I also suggested you post to the forum CG, as I didn't have a Maximite to test your code until the weekend.

Besides, it has given you maximum feed back, with minimum time and fuss.

Some users post code on the forum, wait patiently for a week, then ask again wondering if they have either been ignored, or users are still trying to evaluate the code.

Cheers Don...
https://www.dontronics.com
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 05:06pm 04 Nov 2011
Copy link to clipboard 
Print this post

Don: I would say that this is the first time I've put only a few hours into a PC application and then released it to the world. I think with a fix to the paging list problem, It will be a moderately useful program. If I add more features - even better.


Micromites and Maximites! - Beginning Maximite
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 05:42pm 04 Nov 2011
Copy link to clipboard 
Print this post

  CircuitGizmos said   Don: I would say that this is the first time I've put only a few hours into a PC application and then released it to the world. I think with a fix to the paging list problem, It will be a moderately useful program. If I add more features - even better.



Yes, you would have to be silly to do something as silly as that.

For the benefit of Geoff, the Maximite, and yourself, can you make the web links down the bottom of the screen web linkable?

Cheers Don...
https://www.dontronics.com
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 05:51pm 04 Nov 2011
Copy link to clipboard 
Print this post

I had that idea when I put them there. I probably can. I have to explore how.
Micromites and Maximites! - Beginning Maximite
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 07:43pm 04 Nov 2011
Copy link to clipboard 
Print this post

What is the possibility of a linux version of MMIDE?

Greg
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 07:46pm 04 Nov 2011
Copy link to clipboard 
Print this post

  Greg Fordyce said   What is the possibility of a linux version of MMIDE?

Greg


Are you willing to test it?

http://www.circuitgizmos.com/files/MMIDE-Linux.zip Edited by CircuitGizmos 2011-11-06
Micromites and Maximites! - Beginning Maximite
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 07:52pm 04 Nov 2011
Copy link to clipboard 
Print this post

Yes, post the code on your website with the others and I will give it a bash.

Greg

P.S. It's not urgent for me, so if you want to wait till the windows version is doing what you want it to do that is fine as well. Nice to know that a linux version is possible.
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 07:53pm 04 Nov 2011
Copy link to clipboard 
Print this post

Give it a go!

http://www.circuitgizmos.com/files/MMIDE-Linux.zip Edited by CircuitGizmos 2011-11-06
Micromites and Maximites! - Beginning Maximite
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 09:20pm 04 Nov 2011
Copy link to clipboard 
Print this post

Bug found by Don and Bruce: Program hangs if there is no serial port. I added code to check for serial port. Don? Can you test this?

"PRESS ANY KEY" bug found by Andrew and VK6: I put something in place that should fix this. Please give it a try.

Unresolved feature: A blank line appears in the saved file where screen pauses.

Unresolved feature: Saved files have CR but not LF. This is an unhappy thing in the Windows world.

Feature to add - use of mm.fname$: Will add this.

Added: Don's suggestion of clickable links.



It is Friday afternoon here, so below is the latest version for Windows, OSX, Linux. I'll have another version next week.

Windows: http://www.circuitgizmos.com/files/MMIDE.zip

OSX: http://www.circuitgizmos.com/files/MMIDE-OSX.app.tar

Linux: http://www.circuitgizmos.com/files/MMIDE-Linux.zip

The program is Copyright CircuitGizmos and must not be hosted for download anywhere else, but it can be used by any Maximite owner.

Micromites and Maximites! - Beginning Maximite
 
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 09:35pm 04 Nov 2011
Copy link to clipboard 
Print this post

I do confirm the Linux MMIDE works well
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 09:59pm 04 Nov 2011
Copy link to clipboard 
Print this post

  CircuitGizmos said   Bug found by Don and Bruce: Program hangs if there is no serial port. I added code to check for serial port. Don? Can you test this?

Added: Don's suggestion of clickable links.


No serial port, shows up with nothing showing in the drop down box, so this is over-perfect.

I guess you are detecting ports on program entry, as it doesn't change when I insert an FTDI device. Not that this is a problem, but would a refresh ports button be worth it, and do-able?

And the opposite when I remove the port of course.

And links are working fine.

Can the Device Manufacturer be added to the right of the COM port?

When I plug in two serial ports, check that they are there, then physically remove one, and try and access it again, I get an exception, and the program closes. No big deal, but I guess perhaps part of refreshing ports if you add or remove them.

Cheers Don...Edited by donmck 2011-11-06
https://www.dontronics.com
 
Greg Fordyce
Senior Member

Joined: 16/09/2011
Location: United Kingdom
Posts: 153
Posted: 10:57pm 04 Nov 2011
Copy link to clipboard 
Print this post

Tried the Linux version on Fedora 11 and ubuntu 11.04, program loaded but can't connect to the MM. I tried typing in the correct com port but still no luck. I don't have time at the moment to investigate further.

Greg
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6097
Posted: 01:12am 05 Nov 2011
Copy link to clipboard 
Print this post

  CircuitGizmos said  
Unresolved feature: A blank line appears in the saved file where screen pauses.

Unresolved feature: Saved files have CR but not LF. This is an unhappy thing in the Windows world.


USB serial ports can come and go as the users whim. Checking that they are there at the start of the program fixes most problems but when the user unplugs before shutting down the application is another pain to cater for.

When writing MMedit, I gave up trying to clear that blank line that appears where the 'PRESS ANY KEY' was.
All my attempts were likely to corrupt the data so I played safe and left it there.

The CR/LF problem is a curse of the Windows users.

I will also add xmodem to MMedit when time permits but the call of the lawn mower is strong at this time of the year.

A nice program to add to the collection.

Jim

VK7JH
MMedit   MMBasic Help
 
     Page 2 of 2    
Print this page


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

© JAQ Software 2024