Olimex Support Forum

DUINO => DUINOMITE => Topic started by: taucapic on September 17, 2012, 08:26:50 PM

Title: How to ... (software)
Post by: taucapic on September 17, 2012, 08:26:50 PM
Hi everyone, glad to see a new forum! I would like to open a new topic. Call it "How to ... (software)".
Now I'm looking for" How to install  a small  program in the  HEX code, or ASM language in DUino Mite Basic program ..." If someone is engaged on this subject, please reply.
Title: Re: How to ... (software)
Post by: olimex on September 17, 2012, 08:49:46 PM
hi and welcome!

if you want to program in BASIC then you can't load assembly code or HEX to Duinomite
you can though add your custom DM-BASIC commands as I have explained here http://olimex.wordpress.com/2012/01/27/hacking-duinomite-basic/ (http://olimex.wordpress.com/2012/01/27/hacking-duinomite-basic/)

Tsvetan
Title: Re: How to ... (software)
Post by: taucapic on September 19, 2012, 10:19:41 PM
Thanks Tsvetan !
Very useful link!  I'll go a little bit in this direction and share my experiences ...
Additionalli, I found there the information on how to install StickOS Basic on DuinoMite.
I was very encouraged by this !




Title: Re: How to ... (software)
Post by: TPankhurst on September 27, 2012, 09:43:09 AM
Hi all,
Haven't used forums before - so forgive me if I am not using the correct protocol.

I am using a Duinomite-Mega with a UEXT RTC. I sort of got the impression that I could go into a setup mode to tell DM to read the RTC (although the RTC docs only say its for Duinomite not -Mega). I am running MMBasic v4.0. I have been using Maximite and a DS1307 RTC and have the code for that.
Just thought there may have been some internal function?
Title: Re: How to ... (software)
Post by: olimex on September 27, 2012, 10:54:46 AM
I never try MM basic 4.0 but on DM-BASIC you have SETUP command which you can use to tell Duinomite to read RTC clock from MOD-RTC
Title: Re: How to ... (software)
Post by: LubOlimex on September 27, 2012, 11:06:14 AM
Hello there,

Just write "setup" after power-on. You should see a menu and RTC can be configured by pressing "R". There is support for DS1307 and PCF8563. Check the screenshot I just took: http://i.imgur.com/pTJPv.png (http://i.imgur.com/pTJPv.png).

If there isn't setup command then you are probably using older version of the firmware and I suggest you update it properly. The latest hex can be found over the GitHub page and is named "Olimex DuinoMite Mega MMBasic Project .hex".

Regards,
Lub/OLIMEX
Title: Re: How to ... (software)
Post by: TPankhurst on October 01, 2012, 04:12:33 PM
Thanks for the useful advise. MMBasic v4.0 from Geoff Graham does not support the SETUP command. Eventually manages to download from GitHub and loaded it but it says that it is v2.7?

Have worked-around the problem by writing the code to read the RTC into the program. It just tests which RTC is present and reads the appropriate Date/Time.

Tom