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: ItalyPosts: 7 |
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: AustraliaPosts: 3194 |
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: AustraliaPosts: 239 |
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: AustraliaPosts: 42 |
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. Lopez |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Correct, no CAN support in this version. Geoff Geoff Graham - http://geoffg.net |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
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: AustraliaPosts: 447 |
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. VK4MU MicroController Units |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
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: AustraliaPosts: 42 |
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? Lopez |
||||
jman Guru Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Watching this one closley Very keen to use CAN Regards John |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
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. |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
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: ItalyPosts: 4 |
Is possible to view this program ? |
||||
Lopezjm2001 Regular Member Joined: 08/07/2012 Location: AustraliaPosts: 42 |
Is possible to view this program ? 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 Lopez |
||||
jdh2550 Regular Member Joined: 16/07/2012 Location: United StatesPosts: 62 |
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: AustraliaPosts: 2914 |
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 KingdomPosts: 16 |
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: AustraliaPosts: 231 |
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 |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
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: AustraliaPosts: 320 |
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 |