Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:40 26 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 : New Version of MMBasic. Version 3.2

     Page 2 of 4    
Author Message
shsjk59456
Newbie

Joined: 24/01/2012
Location: Italy
Posts: 7
Posted: 07:58pm 20 Apr 2012
Copy link to clipboard 
Print this post

  vk4tec said   Yep - that seems to be it

open "COM3:19200" as #1 ( just a one line program )

hangs my DuinoMite Mini

Control-C does nothing.

I have to reset button

Andrew

I also have this problem, I waited for this new version to run COM3:38400 of Duinomite Mini.
Duinomite hangs and must be reset, Ctrl-C does not work
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 12:02am 21 Apr 2012
Copy link to clipboard 
Print this post

Ah, Richard has found a bug that slipped under the radar.

It happens on both COM3: and COM4:. When you select the baud rate it causes the DuinoMite to freeze, if you leave it for the default (9600) it works fine. The Maximite and UBW32 versions do not have this problem.

The attached firmware fixes this: 2012-04-21_095818_DuinoMite_MMBasic_V3.2.zip

I plan to wait a little while to see if any more bugs turn up and then put this out for general release as 3.2A.

Thanks for the good detective work Richard.

Geoff
Geoff Graham - http://geoffg.net
 
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 12:20am 21 Apr 2012
Copy link to clipboard 
Print this post

Andrew here,

I can confirm that the new .hex file for DuinoMite MMBasic 3.2 has now fixed the COM3 lockup issue when used with a DuinoMite Mini board.

We are back up running as "DuinoMite MMBasic Version 3.2"

Cheers

Thanks Geoff

Andrew Rich VK4TEC
www.tech-software.net
 
Lopezjm2001

Regular Member

Joined: 08/07/2012
Location: Australia
Posts: 42
Posted: 04:02am 09 Jul 2012
Copy link to clipboard 
Print this post

  Geoffg said   A new version of MMBasic (ver 3.2) is available for download from:
- http://geoffg.net/maximite.html (for the Maximite and DuinoMite)
- http://geoffg.net/ubw32.html (for the UBW32).

This version introduces a number of new features:

Geoff


Hi Geoff,

I just updated my Duinomite Mega to mmbasic3.2. It would not recognize the Canbus commands. Does this mean it does not support CAN att this time. Thanks.Edited by Lopezjm2001 2012-07-10
Lopez
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 04:14am 09 Jul 2012
Copy link to clipboard 
Print this post

Correct, no CAN support in this version.

Geoff
Geoff Graham - http://geoffg.net
 
Lopezjm2001

Regular Member

Joined: 08/07/2012
Location: Australia
Posts: 42
Posted: 05:04pm 09 Jul 2012
Copy link to clipboard 
Print this post

  Geoffg said   Correct, no CAN support in this version.

Geoff


Thanks. I am bit confused. DMbasic V2.7B supports CAN commands but mmbasic V3.2 does not. Is there another more current version that supports CAN commands.
Lopez
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 05:09pm 09 Jul 2012
Copy link to clipboard 
Print this post

No version of MMbasic 2.x or 3.x (the only Official VERSIONS) has CAN Support.
DM Basic 2.7b (a Hacked/patched/altered Version of MMBasic 2.7 which was produced for the Olimex Duinomite series of Boards) does have CAN support.
Edited by djuqa 2012-07-11
VK4MU MicroController Units

 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 05:39pm 09 Jul 2012
Copy link to clipboard 
Print this post

  Lopezjm2001 said  
  Geoffg said   Correct, no CAN support in this version.

Geoff


Thanks. I am bit confused. DMbasic V2.7B supports CAN commands but mmbasic V3.2 does not. Is there another more current version that supports CAN commands.


to my knowledge, the file marked CAN at this URL is the only one that will support CAN on the DuinoMite:

http://www.duinomite.com/files/index.php?dir=Hardware%2FDont ronics%2FOlimex%2FDownload+Files%2F

Don...
https://www.dontronics.com
 
Lopezjm2001

Regular Member

Joined: 08/07/2012
Location: Australia
Posts: 42
Posted: 06:45pm 09 Jul 2012
Copy link to clipboard 
Print this post

  djuqa said   No version of MMbasic 2.x or 3.x (the only Official VERSIONS) has CAN Support.
DM Basic 2.7b (a Hacked/patched/altered Version of MMBasic 2.7 which was produced for the Olimex Duinomite series of Boards) does have CAN support.


Thanks. That is what I suspected. Is Geoff working on including CAN commands for mmbasic V3.2?Edited by Lopezjm2001 2012-07-11
Lopez
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:40pm 09 Jul 2012
Copy link to clipboard 
Print this post

Watching this one closley
Very keen to use CAN

Regards
John
 
DuinoMiteMegaAn
Senior Member

Joined: 17/11/2011
Location: Australia
Posts: 231
Posted: 05:12am 10 Jul 2012
Copy link to clipboard 
Print this post

Geoff G. was so kind to lend his support for the DuinoMite firmware, in addition to his original MaxiMite, after it was clear and obvious that the DuinoMite firmware "open source" design team was incapable of producing qualtity firmware for the DuinoMite series of boards.

As for CAN, keep in mind that CAN is only available on the DuinoMite and NOT on the MaxiMite. Since Geoff G. has his MaxiMite as top priority then, I think, it would be only reasonable and logical to assume that CAN might be supported at a very later date or NOT at all.
Of course, I cannot speak for Geoff G.
Edited by DuinoMiteMegaAn 2012-07-11
 
Lopezjm2001

Regular Member

Joined: 08/07/2012
Location: Australia
Posts: 42
Posted: 06:24am 10 Jul 2012
Copy link to clipboard 
Print this post

DuinomiteMegaAn,

Thanks. I have successfully tested DMbasic V2.7B to work with my Canbus on my Prius using the CANVIEW.BAS program. My next step is to write DMbasic code to filter out the Canbis messages I want and log them to my mocroSD card.

Many thanks,

John
Lopez
 
amorosik
Newbie

Joined: 20/02/2012
Location: Italy
Posts: 4
Posted: 07:15pm 11 Jul 2012
Copy link to clipboard 
Print this post

  Lopezjm2001 said   ....using the CANVIEW.BAS program...


Is possible to view this program ?
 
Lopezjm2001

Regular Member

Joined: 08/07/2012
Location: Australia
Posts: 42
Posted: 07:57pm 11 Jul 2012
Copy link to clipboard 
Print this post

  amorosik said  
  Lopezjm2001 said   ....using the CANVIEW.BAS program...


Is possible to view this program ?


  Olimex said   Good News!

Frank have add CAN support the comands are described HERE

CAN BASIC demo code is HERE - CANVIEW.BAS

Ken will update the firmware and post the source and HEX to the firmware update thread.

The CAN support opens a lot of interesting application.
CAN is just one very reliable networking protocol for noisy environments and used in every car and many Industrial robots.

CAN now allow many DuinoMites to talk to each other via CAN bus by just two wires.

CAN also is used in the cars, all sensors, actuators, Engine ECU read and write info via this protocol, so by connecting to this bus you can read your engine temprature, RPMs, fuel consumption and every car sensor info and build something like THIS for instance

Edited by Lopezjm2001 2012-07-13
Lopez
 
jdh2550
Regular Member

Joined: 16/07/2012
Location: United States
Posts: 62
Posted: 11:18am 16 Jul 2012
Copy link to clipboard 
Print this post

I've just requested the MMBasic 3.2 source and will see if I can port Frank's CAN commands into MMBasic 3.2. AFAIK, it should just be a question of altering the project to include the CAN.c and CAN.h from the DM Github and recompiling. If it works then I'll contact Geoff and see if it can be distributed in some fashion.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 11:53am 16 Jul 2012
Copy link to clipboard 
Print this post

  jdh2550 said   I've just requested the MMBasic 3.2 source and will see if I can port Frank's CAN commands into MMBasic 3.2. AFAIK, it should just be a question of altering the project to include the CAN.c and CAN.h from the DM Github and recompiling. If it works then I'll contact Geoff and see if it can be distributed in some fashion.


I would suggest that as MMBasic is closed source now that He would need to seek permission from Frank (the author of the CAN routines) to use it in a release of MMBasic.

For personal use and not distributed I am sure that is ok but any distro would probably break the terms of the open source license that Frank released his code into.

I am no lawyer however...

Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
donrecardo
Newbie

Joined: 04/05/2012
Location: United Kingdom
Posts: 16
Posted: 12:34pm 16 Jul 2012
Copy link to clipboard 
Print this post

I am having a problem when using 3.2c
I wrote about it on Ken Segler Designs Forums and Donmck
suggested I might post it here

I had been running V2.7a and everything worked as it should .
I updated to V3.2c and since doing so the text on my monitor is jiggling about.
I am powering the duinomite mega with a 9v psu but I get the same problem if I use the
USB lead to supply power.

I thought I had found the issue as when I moved the setup to the other end of the bench it worked fine, so I suspected interferance , but my cure was short lived
when I realised that by mistake , when I moved the setup , I had accidentaly picked up
a 5v PSU in mistake for the 9V one . So using a 5v psu I can run V3.2c without problems . Now this shouldnt work beccause the 5v regulator is going to drop some voltage leaving it underpowered, and this does show up because the monitor display is much dimmer.
Putting the proper 9v PSU on gives me a jittery screen , or plugging in the USB lead ,which will bypass the 5v regulator so wont drop voltage also causes the jitters to return.
So then I suspected a problem with the duinomite mega hardware but I cant see how that can be so because if I change the firmware to dmbasic build date Jul 5th 2012 the unit works fine. no jitters at all, not with the 9v supply or the USB lead. It also works fine on Olimex duinomite V 2.7b but it jitters on 3.2c and I also just tried V3.1 and that too jitters



Any ideas ?
Regards
Don
 
DuinoMiteMegaAn
Senior Member

Joined: 17/11/2011
Location: Australia
Posts: 231
Posted: 03:09pm 16 Jul 2012
Copy link to clipboard 
Print this post

It also works fine on Olimex duinomite V 2.7b but it jitters on 3.2c and I also just tried V3.1 and that too jitters


I have used my DuinoMiteMega with firmware (all versions) from Ken and Geoff G with no jitter on my VGA LCD monitor whatsoever.

If there was a monitor stability problem with different loads of firmware, other users would be reporting it.

Looks like a hardware problem
Edited by DuinoMiteMegaAn 2012-07-18
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 03:24pm 16 Jul 2012
Copy link to clipboard 
Print this post

  DuinoMiteMegaAn said  
It also works fine on Olimex duinomite V 2.7b but it jitters on 3.2c and I also just tried V3.1 and that too jitters


I have used my DuinoMiteMega with firmware (all versions) from Ken and Geoff G with no jitter on my VGA LCD monitor whatsoever.

If there was a monitor stability problem with different loads of firmware, other users would be reporting it.

Looks like a hardware problem

Ditto
No problem with my collection of duinomites/maximites running lots of different firmware versions on several different LCD/CRT Monitors(composite & VGA) and TV's ,Including Humungous 55" LG Plasma TV
VK4MU MicroController Units

 
centrex

Guru

Joined: 13/11/2011
Location: Australia
Posts: 320
Posted: 10:35pm 16 Jul 2012
Copy link to clipboard 
Print this post

I think I would be checking the quality of the 9volt supply, is it well filtered DC.
regards
Cliff
 
     Page 2 of 4    
Print this page
© JAQ Software 2024