Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:49 02 May 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 : MM Edit update V3.5.7

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5910
Posted: 08:04pm 20 Nov 2014
Copy link to clipboard 
Print this post

I have updated MMEdit to V3.5.7
Formatting failed when 'IF(' was used without a space before the bracket.
I found an obscure bug in Xmodem, especially over TCPIP.
If a file transfer fails, the reason is now reported, including 'not enough space'
If it happens during 'load and run', the chat window does not open, giving you time to study the progress report.
Added an option to check for more recent versions.

With the number of users pushing micromites and CFUNCTIONS to the limit (and beyond), I have added the ability to pulse the DTR and RTS lines. They send a 100mS pulse which can be used to force a reset. This requires a USB-TTL converter with the handshake lines available.

You can download the full version from the usual location
http://www.c-com.com.au/MMedit.htm
or a smaller update (without the manual) from here.
http://www.c-com.com.au/stuff/MMedit_b.zip
There are 2 files in the ZIP and both are needed.

Jim

VK7JH
MMedit   MMBasic Help
 
jimbotron
Regular Member

Joined: 27/11/2013
Location: Australia
Posts: 46
Posted: 11:26am 21 Nov 2014
Copy link to clipboard 
Print this post

Thanks TassyJim,
MMEdit has become an essential part of M*Mite ecosystem, especially for long programs. Thanks for keeping it up to date.

Jimmy
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 03:01pm 21 Nov 2014
Copy link to clipboard 
Print this post

I always put a 0.1uF in series between DTR and MCLR just to make sure that the 10K to VCC on the PIC doesn't damage the DTR output from the USB<->Serial converter

Jimmy, consider using a pre-processor such as MCPP for even more functionality such as #include, #define, #ifdef/#endif etc- http://www.g8jcf.dyndns.org/mmbasic/MCPP.zip

PeterEdited by G8JCF 2014-11-23
The only Konstant is Change
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5910
Posted: 03:51pm 21 Nov 2014
Copy link to clipboard 
Print this post

I intend add a resistor in series with the reset line to protect against the high voltage swing when the DTR line goes high again.



The values chosen seem about right but I will have to check...

Jim

VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5910
Posted: 06:03pm 21 Nov 2014
Copy link to clipboard 
Print this post

With all the playing around with the DTR control, I have found a bug.
If you have handshaking enabled and try to connect to a non existing port, MM Edit is likely to crash.

V3.5.8 fixes that problem.
The main installer has been updated or you can do the usual and replace the TKN file in the attached ZIP (Provided you are already running V3.5.7)

2014-11-22_040128_MMedit.zip

Jim
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5910
Posted: 07:56pm 21 Nov 2014
Copy link to clipboard 
Print this post

I have added a diode to clamp the positive swings.
With the pickit3 connected directly to the MCLR pin, programming is not affected with the extra components in circuit. I did however, disconnect the DTR line during programming.




With the next update, I will add the ability to control the DTR and RTS lines from macros. But it will have to wait a few days.

Jim
VK7JH
MMedit   MMBasic Help
 
Print this page


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

© JAQ Software 2024