Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:31 28 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 : Maximite program a Maximite

Author Message
elproducts

Senior Member

Joined: 19/06/2011
Location: United States
Posts: 282
Posted: 05:02am 27 Nov 2013
Copy link to clipboard 
Print this post

I'm wondering if anybody knows of a way to have one Maximite program another Maximite.
I'd like to write a program on an original Maximite and then when its working, somehow connect a Maximite Mini and transfer the program to the mini with out having to transfer using an SD card or pull out a laptop to load and program through the USB.





www.elproducts.com
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 10:30am 27 Nov 2013
Copy link to clipboard 
Print this post

  elproducts said   I'm wondering if anybody knows of a way to have one Maximite program another Maximite.
I'd like to write a program on an original Maximite and then when its working, somehow connect a Maximite Mini and transfer the program to the mini with out having to transfer using an SD card or pull out a laptop to load and program through the USB.


Hi Chuck,

Do you mean transferring a ".bas" file?
Which I guess would mean running a "sending" and "receiving" program each end.

Cheers Don...
https://www.dontronics.com
 
elproducts

Senior Member

Joined: 19/06/2011
Location: United States
Posts: 282
Posted: 11:45am 27 Nov 2013
Copy link to clipboard 
Print this post

But that would require a program installed on the mini which would require a PC.

Maybe this is a dumb idea but here is what I'm thinking.

I'd like to setup an Embedded style training class using just Maximites, no PCs.

For example,
Lets assume I'm teaching a kid how to program with the larger Maximite by having them type in a .bas program that flashes an LED connected to an I/O pin. Then once they have that working, have them save the blink.bas program and run a second program called program_mini.bas. That second program would read the blink.bas program character by character and send keyboard characters from one maximite to another (maybe through a serial to USB cable) ASCII char by ASCII char to the maximite mini to simulate someone typing it into the blank Mini.
This would allow the kids to use large maximites to program minis without ever using a PC or SD card setup.



www.elproducts.com
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3804
Posted: 09:38pm 27 Nov 2013
Copy link to clipboard 
Print this post

Should work but you'd be the first to do it I reckon.

John
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 10:32pm 27 Nov 2013
Copy link to clipboard 
Print this post

You could have a look at the XMODEM SEND and XMODEM RECEIVE commands.
When you put the serial port in console mode you would be able to transfer a file between the maximites.
(Page 37 of the MMBasic Language Manual.)

Microblocks. Build with logic.
 
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 01:30am 29 Nov 2013
Copy link to clipboard 
Print this post

there are some ways to do it, but in 99% you need a "receive" program running on mini maximite..
in the 1% you do not need nothing on the mini maximite, you could replicate the PS2 Keyboard protocol using some lines of the main maximite, then connect it to the keyboard connector in mini maximite. in this way it would fool the mini maximite and data are acquired like if someone is really typing something on keyboard.
the problem is: if during the transfer a "character" is lost or misunderstood from the mini maximite then the resulting brogram will be bugged...
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 05:44am 29 Nov 2013
Copy link to clipboard 
Print this post

In a way that is what I do with the part of the CircuitGizmos MMIDE tab that has "apps" that run.

Pressing some of the app buttons loads a program into the maximite and runs it.

To do it from max to mini the mini could have the console directed to its serial port and the max would load and run via a serial connection.
Micromites and Maximites! - Beginning Maximite
 
Print this page


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

© JAQ Software 2024