November 22, 2024, 01:14:26 AM

How to ... (software)

Started by taucapic, September 17, 2012, 08:26:50 PM

Previous topic - Next topic

taucapic

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.

olimex

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/

Tsvetan

taucapic

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 !





TPankhurst

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?

olimex

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

LubOlimex

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.

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
Technical support and documentation manager at Olimex

TPankhurst

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