Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:37 25 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 : (DM) DuinoMite-eMega is complete

     Page 2 of 2    
Author Message
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 01:31pm 28 Jan 2012
Copy link to clipboard 
Print this post

loading the modules in PIC flash at execution time? you know the 1000 times flash erase/write
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3801
Posted: 04:47pm 29 Jan 2012
Copy link to clipboard 
Print this post

Well, that's worst case but version B (or indeed version A) of the MMBasic code could just check the flash to see if the code was identical and if so not actually reflash. Just set a pointer or two.

This just isn't rocket science :)

Better ruin an occasional board than not have the feature. No-one has to use the feature if they don't wish.

I'm semi-tempted but put off by the closed-source issues so will leave it to someone else.

JohnEdited by JohnS 2012-01-31
 
ernie
Newbie

Joined: 18/03/2012
Location: Australia
Posts: 14
Posted: 11:53am 01 Apr 2012
Copy link to clipboard 
Print this post

  Olimex said   dynamic linking would require OS

probably you have seen Sergey's posts here on TBS he is running the RetroBSD project and told me that he made the assembled and linker running on DuinoMite, but he is out of memory to fit the C compiler, his idea is to make stand alone UNIX computer with DuinoMite with keyboard and VGA same way as it's done in BASIC now.
With the new MOD-VGA with 32MB of RAM he will have plenty of RAM for his project and he may move forward, so if Sergey can complete this DuinoMite will have UNIX and will be able to compile/link C without need of PC



I installed RetroBSD on a Duinomite mega today, quite impressive. The onboard C compiler is working, even had assembler, a small BASIC, and forth interpreters. Still a code hackers platform, not ready for prime time, but great fun. Some of the ported unix commands:



# cd /bin
# ls

[ col head nice rz test
adb comm hostid nm sb time
adc-demo cp hostname nohup scm touch
aout cpp id od sed tr
apropos date iostat pagesize setty true
ar dc join passwd sh tsort
as dd kill portio size tty
awk df la pr sl uname
basename diff last printf sleep uniq
basic du ld ps sort vi
bc echo ln pwd split vmstat
cal ed login ranlib strip w
cat egrep lol rb stty wall
cb expr ls re su wc
cc false mail renice sum whatis
chflags fgrep make renumber sx whereis
chfn file man retroforth sync who
chgrp find med rev sysctl whoami
chmod forth mesg rm sz write
chpass fstat mkdir rmail tail xargs
chsh grep more rmdir tar
cmp groups mv rx tee


Edited by ernie 2012-04-02
 
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 02:28pm 01 Apr 2012
Copy link to clipboard 
Print this post

wow Sergey done nice progress, I didn't check for a while this project but will have look at it now

do you know if Sergey implemented some kind of drivers to access GPIOs under RetroBSD?
 
ernie
Newbie

Joined: 18/03/2012
Location: Australia
Posts: 14
Posted: 08:28pm 01 Apr 2012
Copy link to clipboard 
Print this post

  Olimex said   wow Sergey done nice progress, I didn't check for a while this project but will have look at it now

do you know if Sergey implemented some kind of drivers to access GPIOs under RetroBSD?
Yes, you can see in that list a program called portio, it calls the api.


The GPIO documentation is here http://retrobsd.org/wiki/documentation-2/kernel-drivers/gpio /

You can also access the ADC http://retrobsd.org/wiki/adc/ Edited by ernie 2012-04-03
 
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 02:58pm 21 Apr 2012
Copy link to clipboard 
Print this post

Just to notify you first: DuinoMite-eMega is now in stock!
and I just merged on GitHub the Stanimir's eMega firmware changes to the main DuinoMite firmware.
with conditional compiling you can build different HEX's for Mini/Mega and eMega
for more convenience I made FIRMWARE folder with the pre-built HEXs
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3801
Posted: 09:14pm 22 Apr 2012
Copy link to clipboard 
Print this post

I think you mean
https://github.com/OLIMEX/DuinoMite/tree/master/SOFTWARE/FIR MWARE

edit: why does this board add spaces and re-add them even if you edit them out? crazy
(you need to strip it/them back out)

JohnEdited by JohnS 2012-04-24
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 10:03pm 22 Apr 2012
Copy link to clipboard 
Print this post

  JohnS said   I think you mean
https://github.com/OLIMEX/DuinoMite/tree/master/SOFTWARE/FIR MWARE

edit: why does this board add spaces and re-add them even if you edit them out? crazy
(you need to strip it/them back out)

John


If you use the to format the link, you should be right John.

https://github.com/OLIMEX/DuinoMite/tree/master/SOFTWARE/FIR MWARE

It adds the space to the text shown, but correctly formats the URL, so that the user can click on it and have it link.

Cheers Don...


https://www.dontronics.com
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 10:09pm 22 Apr 2012
Copy link to clipboard 
Print this post

Thanks Don. John the spaces are added to make the site more secure. It stops someone inserting worms/trojans/etc into their post. By inserting random spaces into long strings, it breaks any malicious code. It can be a problem when adding links, but I would rather be more secure.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3801
Posted: 03:23pm 23 Apr 2012
Copy link to clipboard 
Print this post

Thanks, guys. I don't think I've used a site that doesn't auto-format links before!

John
 
     Page 2 of 2    
Print this page


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

© JAQ Software 2024