Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:50 27 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 : ArmmiteF407 future - big news

     Page 1 of 3    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9122
Posted: 04:24pm 17 Aug 2023
Copy link to clipboard 
Print this post

Recently I posted an update to the ArmmiteF407 firmware. What I didn't know was that Gerry Allardice (disco4now) has not only created the manual for the ArmmiteF407 but has been working away at the firmware for some time.

My recent post elicited the following reaction.

  Quote  Peter, it would be simply excellent to have LIBRARY commands for this chip.  I was totally delighted when this appeared in the Picomite.  
For me, the biggest issue in using the F407 as an embedded controller was when you moved the OPTION settings into battery-backed RAM.  Already I have had problems with the (supplied) battery running down and then having to reconnect the chip to reset the OPTIONS.  With such a capacious chip could the options not be brought back into non-volatile memory?


Hmm, I thought, more work and how can that be made to fit in the limited flash on the STM32F407VET?

Gerry then sent me a message to say he had a version of the firmware which solved both the library and options issues and already incorporated many of my other changes.

I've now taken his version and implemented the hashed variable lookup into it as well as some of my other tweaks.

Gerry now has the combined source and in future will take ownership of the Armmite family code.

Once he has had a chance to correct my bugs you can expect a major new release from Gerry for the ArmmiteF407 together with an updated manual.

For reference here is my assessment of some of the pros and cons of the ArmmiteF407 vs the PicoMite (standard version)

Armmite407 advantages
Support for fast 16-bit parallel displays - much better for graphics intensive applications
Faster, more robust, SDcard access
c30% faster at standard clock speeds
Better ADC
In-built battery backed RTC
More I/O
Ability to secure code (copy protection)


PicoMite advantages
Cheaper
Smaller
Better PWM
Flash file system
PIO
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4042
Posted: 04:42pm 17 Aug 2023
Copy link to clipboard 
Print this post

Hi guys,

If you've pulled in the regex stuff from the PicoMite then I believe you are in violation of the LGPL and need to pull it out, possibly replace with tiny-regex-c.

I *think* it is OK in the PicoMite because anyone can download the source, modify and distribute (subject to some conditions), but the license and availability for the Armmite is more restrictive and I do not believe compatible.

Also the PicoMite's onewire code has an LGPL copyright on it, IIRC this was from someone outside our community getting over-enthusiastic and applying the LGPL license header where they didn't have cause/right. I believe it was fixed on the CMM2, but perhaps the PicoMite forked from an MMBasic version before this fix ?

Best wishes,

Tom
Edited 2023-08-18 02:43 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9122
Posted: 05:01pm 17 Aug 2023
Copy link to clipboard 
Print this post

Doesn't have regex and subject to Geoff's agreement Armmmite will become open with same license as PicoMite.
 
RendPhys

Newbie

Joined: 29/10/2020
Location: Netherlands
Posts: 6
Posted: 05:35pm 17 Aug 2023
Copy link to clipboard 
Print this post

Hi guys,

That's good news! The F407 version is an easy way to pack a lot of power, including an LCD display that fits directly.

Just an idea:
perhaps this could be a good moment to (also?) implement a version for the larger STM32F407ZGT6. This processor has a larger FLASH (1024k) which would allow an easy addition of the extra commands and features while also giving the opportunity to select a higher speed optimization for the compilation.
Perhaps also larger user programs could be implemented.

The STM32F407ZGT6 is part of the 10-year Product Longevity of ST, so the future seems solid. At least for the processor.

A first search reveals there are boards available:
https://www.aliexpress.com/item/32827402179.html?

I did not check the details yet, perhaps it requires too much effort. The experts will have better view on this.

Best wishes,
Henk.
 
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 245
Posted: 07:38pm 17 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  
Once he has had a chance to correct my bugs you can expect a major new release from Gerry for the ArmmiteF407 together with an updated manual.


Oh my goodness!  This is the best news, indeed.  I look forward to Autumn/Winter evenings building new toys with the new firmware.  

Dare I say it, given that I know and understand the amount of time that the firmware authors are putting into these projects, but perhaps... Peter, now that the ArmmiteF407 is now unexpectedly taking less of your time, could I nudge you towards an update for what I consider to be your most magnificent firmware - the MicroMite eXtreme MZ.  For me, this port remains the best of all.  When the PIC32MZ2048EFH144 became available again in late spring, I bought half-a-dozen chips and after some myopic soldering under my stereo microscope I have wired up a couple with SSD1963 displays and brought them back into my project portfolios - simply spectacular devices!  And if you could bring Gerry's driver code for the OTM8009A displays over to the MZ, well... how indebted I would be!  

I remain deeply appreciative of the vast amount of work that you are all putting into this system; Geoff, Peter, Gerry and not forgetting Jim with his invaluable MMEDIT.
This is a most collegial and enjoyable website with such excellent support from so many contributors around the World. Live long and prosper, one and all!
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 10:31pm 17 Aug 2023
Copy link to clipboard 
Print this post

One more item for the list.
  Quote  Armmite407 advantages
The Armmite F4 has 2 12-bit DACs built into the chip.
 
morgs67
Regular Member

Joined: 10/07/2019
Location: Australia
Posts: 75
Posted: 01:00am 18 Aug 2023
Copy link to clipboard 
Print this post

Great news. My stash of F407 boards has moved from the back of the cupboard to the front.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 06:34am 18 Aug 2023
Copy link to clipboard 
Print this post

Please can we hold back on the other platforms until Peter and Gerry have got themselves sorted out? The STM32F407ZGT6 has never been a MMBasic platform and may have unforeseen problems. The PIC32MZ2048EFH144 hasn't had regular support for some time now and may not be suitable for Gerry's display code. Both of these are really projects in their own right and probably have low priority at this stage.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Bernie3D
Newbie

Joined: 02/08/2023
Location: United States
Posts: 19
Posted: 06:48am 18 Aug 2023
Copy link to clipboard 
Print this post

Excellent! I look forward to the F407 port.
Bernie.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 07:26am 18 Aug 2023
Copy link to clipboard 
Print this post

I'm currently bringing my F407 board back from the afterlife (well, from its chinese takeaway box at the back of the drawer anyway). I'd previously done some mods to the battery side of things so I've started to fix those. I've also removed the battery holder and fitted a CR2032 holder in more or less the same place. Hot glue and wire are a fearsome combination.  :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4042
Posted: 10:59am 18 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  Doesn't have regex and subject to Geoff's agreement Armmmite will become open with same license as PicoMite.


That is good news.

You might still want to see if you can "correct" the copyright on Onewire.{c|h}, I had a look at the version in the CMM2 source and as I had recalled that does not have the GPL license header tacked onto it. YMMV.

If Geoff does allow the Armmite license agreement to change you might want to consider using the license headers I adopted for MMB4L (with the attributions corrected of course), see https://github.com/thwill1000/mmb4l/blob/main/src/main.c

This was approved by Geoff and is functionally the same as the PicoMite license but re-orders and IIRC slightly re-words the clauses so that it closely corresponds to the standard BSD-3 license + the additional name and advertising clauses. Again YMMV.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9122
Posted: 11:07am 18 Aug 2023
Copy link to clipboard 
Print this post

  Quote  If Geoff does allow the Armmite license agreement to change you might want to consider using the license headers I adopted for MMB4L (with the attributions corrected of course),


He has, and this will be something for Gerry to consider. As you know I don't give a .... about licensing wording
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4042
Posted: 11:18am 18 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  As you know I don't give a .... about licensing wording


"Mad, bad, and dangerous to know" ?
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 01:24pm 19 Aug 2023
Copy link to clipboard 
Print this post

It's great to see such excellent news - thanks!

John
 
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 245
Posted: 08:44am 20 Aug 2023
Copy link to clipboard 
Print this post

Gerry, I have commented several times in previous posts regarding the high quality of the draft manual that you have compiled for the F4.  May I now make a request on the formatting to improve it even further.

The existing format of the 'Mite manuals did not allow for two-side printing or proper two-page viewing on hi-res monitors because the page numbers were set for single side printing and viewing.  The even-number page numbers always got buried in the binding when printed.  I drew Geoff's attention to this for the PicoMite manual and he addressed this in the current edition.  This manual prints and binds properly, making the perfect textbook.  Also, when the PDF is viewed in two-page view on a 4K screen it looks correct.  

The adjustment to set the page header/footer options to 'different odd and even pages' so that the page numbers are always on the outer edge of the page is quite straightforward and the improvement in both the on-screen and more especially the printed version would be very significant.  

As I hope you realise, my appreciation of your work is enormous.  I wait with unbridled anticipation for the new firmware and manual.  The idea of having LIBRARY back in the system is worth waiting for, but more importantly the idea that I can chuck away the battery (I don't need RTC) is the simply the best.

Good luck with the project and your collaboration with Peter.  This is a real milestone in the Micromite system.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4243
Posted: 09:02am 20 Aug 2023
Copy link to clipboard 
Print this post

I have a question for those who used the F4 platform more than I did.
There is reference to several displas that it supports.

- the 3.2" that is a buying option from some site (I have that display)
- the 3.97" IPS display that can be bought from 12$ with 3551 controller
- the 4,5.3,7,9" displays that use the SDD1963 controller

For my new project I would like a larger displat than the 3.2" I have now. What can be advised ?
I heard the 3.97" IPS is very good, but needs a 32->34 pin adapter.

Is there any display bigger that is equally good (contrast/readability in light), and is compatible. Does anyone have a link to something that is worth purchasing and works with he F4 (and is below $100).

Thank you in advance for suggestions..

Volhout

P.S. the manual Gerry wrote is very helpful. I was always under the impression that the F4 platform would have limited IO left after connecting the 16 bit wide LCD. But the contrary. So many pins left (40+).This is a nice controller. That is what limited the pico. On the VGA version there are only 10 pins left (GP0..GP5, GP22, GP26..28). The standard pico is better with the shared SPI for LCD, SD. F4 has one disadvantage on this particular board: the MISO pin is not on J2 or J3. It must be taken from the 2401 header. But there is a second SPI bus that is full available.
Edited 2023-08-20 19:10 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 09:10am 20 Aug 2023
Copy link to clipboard 
Print this post

I solved the page number thing on the manuals for my PCBs ages ago. I just centre the headers and footers on everything so it doesn't matter how you print it. Cheap & cheerful, that's me. No 4K screens here. :)

I find the RTC very useful for keeping a record of versions when programming. The little CR1220 is a pain to get though, only available online.

You never know, I might even dig out the NRF24L01 again. I never did get it to work.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4243
Posted: 09:12am 20 Aug 2023
Copy link to clipboard 
Print this post

  Mixtel90 said  I might even dig out the NRF24L01 again. I never did get it to work.


+1

I think I ever threw them away....

Volhout
PicomiteVGA PETSCII ROBOTS
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6099
Posted: 09:50am 20 Aug 2023
Copy link to clipboard 
Print this post

  Mixtel90 said   The little CR1220 is a pain to get though, only available online.

Here in Australia, they are available from the local Woolworths supermarket.
I still prefer to hang a CR2032 holder of it instead.

Jim
VK7JH
MMedit   MMBasic Help
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 12:57pm 20 Aug 2023
Copy link to clipboard 
Print this post


Here in Australia, they are available from the local Woolworths supermarket.
I still prefer to hang a CR2032 holder of it instead.

Jim
Woolworths disappeared here 25 years ago. They had shops for years.
 
     Page 1 of 3    
Print this page
© JAQ Software 2024