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 : PicoMite V5.07.00b24: I2C slave functionality
Page 2 of 3 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8578 |
PicoMiteV5.07.00b28.zip I've removed the flash backup and restore commands and made it completely automatic. Basically the PicoMite should now behave like a MM2. i.e. the program is always there and available after any reboot or reset. The only deviation from this is a program loaded by FLASH CHAIN. In this case the original program will be restored as it assumed the "chained" program is a sub-program of some other master. The NEW command now clears both the RAM and the flash storage for the current program. Please also note the changed behaviour of OPTION AUTORUN OPTION AUTORUN ON will run the current program after any restart OPTION AUTORUN n where n=1 to 10 will run the program in the flash slot named and this will become the current program In addition I've done some work on the console connection. If there is no USB connection then any console I/O will blackhole so there should be no impact on the running program or any risk of any internal USB buffers overflowing. Using W10/teraterm with the PicoMite you should now see a more reliable re-establishment of communication following any option change or other reset. No promises for any other terminal or OS NB: Code will be open source on github once the first full version is released Edited 2021-10-13 04:05 by matherp |
||||
cdeagle Senior Member Joined: 22/06/2014 Location: United StatesPosts: 261 |
Thanks Peter |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5725 |
Thanks Peter. :) That removes a bit of confusion, I think. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8578 |
Forgot to mention.. b28 also includes LIST fname$ This allows you to list any file. Ideal for inspecting program logs etc. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5725 |
Oh yes... it keeps getting better! I've just been using b28 and having the program there, ready for editing, at boot-up is *very* useful. It's one of the things I love about the CMM2 so having it on the PicoMite is great. The USB re-connection after power cycling definitely seems to be a lot better (W10+TT). Thanks again, Peter. :) Oh - and it didn't seem to break b27, in case anyone is interested. Edited 2021-10-15 19:15 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
Is there any specific page where to generally find the current version as there are already 2 threads parallely, just keeping it afloat not going under the mass of all postings ?! https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=14126 Just imagine s.o. newly coming in ... Andre ... such a GURU? | ||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5725 |
Not on the forum, nope. Once it's out of beta it won't be a problem, but things are still in a state of flux. You won't find the same version on different threads though, so it's a case of keeping an eye on Peter's most recent posts. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8578 |
I start a new thread when there is something significant added/changed. The latest binary is always in the thread with the highest beta in the title. Only deviation from this is if I post a specific experimental version to try and sort someone's problem. In that case when I am happy with the fix it also goes on the latest beta thread |
||||
Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
Andre ... such a GURU? | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8578 |
PicoMiteV5.07.00b29.zip Fixes a bug which caused crashes after a program using GUI FORMATBOX was run New display support. ILI9488W - supports the Waveshare 3.5" display as used on their Pico Eval board and the normal 3.5" display adapter |
||||
karlelch Senior Member Joined: 30/10/2014 Location: GermanyPosts: 155 |
It would be great if in the command promt one could get the previous lines back with the arrow-up key, as in a Linux shell. This feature would facilitate testing commands a lot. Best Thomas |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5725 |
This has come up before, I think, Thomas. IIRC the editor isn't loaded at that point so there's no buffer to store the command lines (or not enough). RAM is still taken up by everything else. I don't think it's possible. I agree that it would be nice though. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
karlelch Senior Member Joined: 30/10/2014 Location: GermanyPosts: 155 |
Thanks for the reply, Mick |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3839 |
I don't think it's anything to do with the editor. The CMM2's implementation of this feature requires setting aside a permanent 1K RAM buffer to store the history plus whatever space (Flash?) is required to store the implementation of the behaviour. I guess Peter doesn't think there is space for one or the other. Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8578 |
PicoMiteV5.07.00b30.zip Found some memory. Now has command stacking like CMM2. Also * shortcut for running programs from SDcard Edited 2021-10-20 02:00 by matherp |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3839 |
I suppose someone should ask if this means it gets OPTION SEARCH PATH too? It may as well be me, even if I am building my own boat now . Thank you Peter, Tom Edited 2021-10-20 02:58 by thwill Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5725 |
Lol! I have a feeling that Geoff's manual will be slightly delayed again. ;) Thanks Peter. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
karlelch Senior Member Joined: 30/10/2014 Location: GermanyPosts: 155 |
Cool! Thanks!! |
||||
karlelch Senior Member Joined: 30/10/2014 Location: GermanyPosts: 155 |
Hi, earlier I asked if the `library` command could be implemented and I can see why for the pico this would be difficult. As I understand it, what the `library` command basically does is hiding implementation details (e.g. code to access complex hardware) and allowing for shorter and more easier to browse main programs. I am wondering if something like a `flash include, nbr` would be useful and could be implemented. It would allow to have "library" code in a separate file (and flash slot), which the could be included on the fly into a main program. Cheers Thomas |
||||
robscott Newbie Joined: 20/10/2021 Location: United StatesPosts: 22 |
I am loving the Picomite version (ok, I love all the versions of MMBasic ) Big Thanks for all your hard work doing some testing on V5.07.00b30, and wondering if there is a reason BITBANG WS2812 is limited to 64 LEDs the 1st 64 LEDs work fine, but when I go to 256 in my array Bitbang ws2812 B,gp0,256,l%() Error : 256 is invalid (valid is 1 to 64) I see in External.c nbr=getint(argv[4],1,64); it's max at 64, but I have a 256 grid WS2812B panel I would like to drive I see interrupts are off, so maybe you were worried about the total delay ? Thanks Rob |
||||
Page 2 of 3 |
Print this page |