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: BulgariaPosts: 226 |
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 KingdomPosts: 3801 |
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. John |
||||
ernie Newbie Joined: 18/03/2012 Location: AustraliaPosts: 14 |
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 |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
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: AustraliaPosts: 14 |
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/ |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
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 KingdomPosts: 3801 |
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 |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
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: AustraliaPosts: 5078 |
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 KingdomPosts: 3801 |
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 |