Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:50 06 Jul 2025 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 : Custom Basic program loader

Author Message
Vito
Newbie

Joined: 11/10/2016
Location: Australia
Posts: 17
Posted: 03:29pm 11 Oct 2016
Copy link to clipboard 
Print this post

New to the forum and micromites but have been reading a bit in the background.
Tanks to Geoff and many others for great contributions.

I have a custom embedded networking application where I would like to consider an option of using embedded 170 micromites .

Part of this application would involve custom asynchronous protocol for transferring or updating basic programs from central PC to remote micromites, this rules out existing standard xmodem protocol.

Since basic program that is typically developed in PC text editor is an ASCII text file. I have means of including a custom basic Loader Library on remote micromites to detect and receive basic programs in temporary buffer.

However, I would like to know how and where I can save this text file buffer in micromite 170 main program Flash?

Would appreciate advice from Geoff or Peter (matherp) if this may be possible.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 12:25am 12 Oct 2016
Copy link to clipboard 
Print this post

Sorry, but I don't understand what you are saying.

You can save a text file in an array in RAM but you seem to want to send a text file and have that saved as a program. In that case the commands on the receiving Micromite are XMODEM or AUTOSAVE.

Geoff
Geoff Graham - http://geoffg.net
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10209
Posted: 12:40am 12 Oct 2016
Copy link to clipboard 
Print this post

You could write a custom loader as a CFunction stored in the library - see this thread for the C-source showing how I load a program from SD card on a 28 or 44-pin Micromite
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025