Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:10 12 Nov 2025 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 : Armmite F7: One off version

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 01:54pm 03 Feb 2019
Copy link to clipboard 
Print this post

Please find attached a version of the Armmite software that will work on the STM32H767ZI.

2019-02-03_235354_ArmmiteF7.zip

This was done as a one-off to look at the portability of code on the STM32 range. I will not be maintaining this version going forward but if you happen to have a Nucleo-H767 then you can use this firmware on it.

The firmware uses an internal RC oscillator so can run on the Nucleo with the ST-LINK board detached. Performance is basically equivalent to a MMX at 252MHz.

The port is fully compatible with the Armmite H7 backpack.

Use the Armmite H7 manual for details of the port subject to the changes identified below:


MM.DEVICE$ gives "ARMmite F7"
SPI-CLK on pin 128 and not 126
SETPIN 93,CIN and SETPIN 93,FIN ' not available
SETPIN n, AIN [,bits] ' bits limited to 8,10, and 12
PIN(DACn) ' not available
PIN(TEMP) ' not available
PIN(SREF) ' not available
OPTION USBKEYBOARD ' not available
OPTION FLASHPAGES n ' n can be 1 (default) or 2 giving 256Kb or 512Kb of program space
OPTION LCDPANEL SSD1963_n_BUFF, orientation ' not available
OPTION LCDPANEL SSD1963_n_640, orientation ' not available
CAMERA command ' not available
MOVEMENT function ' not available

 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4133
Posted: 02:39pm 03 Feb 2019
Copy link to clipboard 
Print this post

Any chance this should be Nucleo-F767 etc i.e. H767 -> F767?

John
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 03:09pm 03 Feb 2019
Copy link to clipboard 
Print this post

  Quote  Any chance this should be Nucleo-F767 etc i.e. H767 -> F767?

Yup
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3470
Posted: 03:16pm 03 Feb 2019
Copy link to clipboard 
Print this post

Thank you for this port to the Nucleo-F series.

What I would really like to see, and would undertake myself if you are willing to share this code, is a port to the NUCLEO-F446RE--64 pins, 512KB flash, 180MHz.

That part seems to me to fill an important slot in the Micromite lineup--an inexpensive ($14.90US at Digikey) 64-pin PCB with the easy access of the ST-LINK connection and enough speed and flash to support gui features.

I know there would be a good many differences from the 144-pin version, but I'm willing to try a port.

NUCLEO-F446RE

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 173
Posted: 03:47am 04 Feb 2019
Copy link to clipboard 
Print this post

Can't wait to try this on my board. Thank you for taking the time to even try this port of your code. I can easily live with this being the only update.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 09:10am 04 Feb 2019
Copy link to clipboard 
Print this post

  Quote  What I would really like to see, and would undertake myself if you are willing to share this code, is a port to the NUCLEO-F446RE--64 pins, 512KB flash, 180MHz.


H7 source is available through MMBasic.com. I personally can't see any reason to support STMF4 as there is no significant advantage over MM+ and MMX whereas H7 is MUCH faster and L4 is low power so both bring things the PIC versions can't supplyEdited by matherp 2019-02-05
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3470
Posted: 03:23pm 04 Feb 2019
Copy link to clipboard 
Print this post

  matherp said  
  Quote  What I would really like to see, and would undertake myself if you are willing to share this code, is a port to the NUCLEO-F446RE--64 pins, 512KB flash, 180MHz.


H7 source is available through MMBasic.com. I personally can't see any reason to support STMF4 as there is no significant advantage over MM+ and MMX whereas H7 is MUCH faster and L4 is low power so both bring things the PIC versions can't supply


I'd love to see a 64-pin Nucleo board in the H series, and agree that it would make F-series ports superfluous, but as far as I can tell the H-series has only the 144 pinner. So a custom design with display would take the Nucleo-H board, the display backpack, and a custom design.

That's about 140 solder points for the H board, another 140 + components for the display backpack, and another 140 (more or less) plus components and other connectors for the custom board--so probably well in excess of 500 solder points. That may be nothing for many of you, but for this software person, it's daunting.

I'll be happy to try the new port, but didn't bring my F767ZI board when I snowbirded south for the winter, so I won't be able to try it before April.

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4133
Posted: 11:08am 06 Feb 2019
Copy link to clipboard 
Print this post

If you want to try it, quite cheap to buy another :)

John
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 173
Posted: 02:33am 08 Mar 2019
Copy link to clipboard 
Print this post

Is there any chance this will support an external keyboard so it is not tied to a terminal ? Any kind of keyboard will do. If not , I will find a keyboard to serial converter of some kind , maybe arduino or other small board. It runs great and I am happy as I can be to use this board I ordered wrong during the H7 software release. I just jumped the gun before reading it all the way , kinda my MO. LOL
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 08:51am 08 Mar 2019
Copy link to clipboard 
Print this post

  Quote  Is there any chance this will support an external keyboard so it is not tied to a terminal ?


Sorry, but this really is a one-off release. Implementing USB is always a biggish task so not something I want to tackle on the F7 which I won't be supporting as a long term platform.
 
Bill7300
Senior Member

Joined: 05/08/2014
Location: Australia
Posts: 159
Posted: 10:39pm 08 Mar 2019
Copy link to clipboard 
Print this post

@gadgetjack
As somebody mentioned in a response in another thread a couple of months back, Silicon Chip ran an article on a keyboard and/or mouse serial converter in its February issue. I happened to read that article last night in my catch-up magazine reading after being away for several months. PIC32MX270 based, PCB etc available from the magazine. Should be usable in your application.
Bill
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 173
Posted: 11:24pm 08 Mar 2019
Copy link to clipboard 
Print this post

I understand not wanting to add the usb to this release , i really do. I will come up with a small micro circuit that will give me the serial input the board needs. Bill7300 suggested a good one and I believe Geoff had a small board that would work ok too. I will go that route. Again , I thank you for writing this one for us. I love to see what you come up with every day when I get on the board. ALl you guys are great to follow.
Jack
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1646
Posted: 12:25am 09 Mar 2019
Copy link to clipboard 
Print this post

That was probably my post on the Silicon Chip keyboard and/or mouse serial converter. I built the mouse version only and it works well with the maximite. The only difference between the two versions is the firmware. I expect that the keyboard version would do what you want.

A cut down version of Geoff's ASCII Video Terminal may also do what you want - I think that's the board you are thinking of. That is described on his web site and in more detail in Silicon Chip February 2014.

Other members have ported MMBasic to the PIC32MX270 see here. You could use this to roll your own.

Bill
Keep safe. Live long and prosper.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 10:32am 02 Apr 2019
Copy link to clipboard 
Print this post

I did a tidy up of the H7 code and the F7 variant and put a lot of conditional compilation in so that as much of the source as possible could be common. This means that I have done an update to the F7 despite my earlier protestations. It now has all the recent H7 functionality like polygons, turtle graphics, etc.

2019-04-02_202937_ArmmiteF7.zip

Use the H7 manual for details:

2019-04-02_203055_Armmite_H7_Manual.pdf

Differences as before:

MM.DEVICE$ gives "ARMmite F7"
SPI-CLK on pin 128 and not 126
SETPIN 93,CIN and SETPIN 93,FIN ' not available
SETPIN n, AIN [,bits] ' bits limited to 8,10, and 12
PIN(DACn) ' not available
PIN(TEMP) ' not available
PIN(SREF) ' not available
OPTION USBKEYBOARD ' not available
OPTION FLASHPAGES n ' n can be 1 (default) or 2 giving 256Kb or 512Kb of program space
OPTION LCDPANEL SSD1963_n_BUFF, orientation ' not available
OPTION LCDPANEL SSD1963_n_640, orientation ' not available
CAMERA command ' not available
MOVEMENT function ' not available
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10572
Posted: 12:53pm 29 Apr 2019
Copy link to clipboard 
Print this post

Version that includes MP3 playback, LIST COMMANDS, LIST FUNCTIONS, MM.INFO$(), DO/LOOP bug fix as per Armmite H7

2019-04-30_030735_ArmmiteF7.zip
Edited by matherp 2019-05-01
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025