![]() |
Forum Index : Microcontroller and PC projects : ArmmiteH7 V5.07.00b1 - Major update, testers needed
![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
ArmmiteH7V5.07.00b3.zip Hopefully fixes the USB keyboard and strange case conversions. Note that to save command and function slots V5.07 will make some modifications to your code but allows the old code to be correctly parsed and run. The changes made are as follows: STR_REPLACE(inpbuf,"MM.DEVICE$","MM.INFO(DEVICE)"); STR_REPLACE(inpbuf,"MM.I2C","MM.INFO(I2C)"); STR_REPLACE(inpbuf,"MM.INFO$","MM.INFO"); STR_REPLACE(inpbuf,"MM.ERRNO","MM.INFO(ERRNO)"); STR_REPLACE(inpbuf,"MM.ERRMSG$","MM.INFO(ERRMSG)"); STR_REPLACE(inpbuf,"MM.ONEWIRE","MM.INFO(ONEWIRE)"); STR_REPLACE(inpbuf,"BIN$(","BASE$(2,"); STR_REPLACE(inpbuf,"OCT$(","BASE$(8,"); STR_REPLACE(inpbuf,"HEX$(","BASE$(16,"); STR_REPLACE(inpbuf,"MM.FONTHEIGHT","MM.INFO(FONTHEIGHT)"); STR_REPLACE(inpbuf,"MM.FONTWIDTH","MM.INFO(FONTWIDTH)"); STR_REPLACE(inpbuf,"=>",">="); STR_REPLACE(inpbuf,"=<","<="); STR_REPLACE(inpbuf,"COLOR","COLOUR"); STR_REPLACE(inpbuf,"CAT","INC"); STR_REPLACE(inpbuf,"SPRITE","BLIT"); STR_REPLACE(inpbuf,"ELSE IF","ELSEIF"); STR_REPLACE(inpbuf,"END IF,"ENDIF"); STR_REPLACE(inpbuf,"EXIT DO","EXIT"); For info: V5.07.00 also updates the core STM HAL libraries to the latest versions. These have changed significantly from the version originally used necessitating many of the code changes where I have copied from the CMM2 Edited 2021-04-23 18:39 by matherp |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1882 |
Strange Case conversion all fixed. Unfortunately the Keyboard is still not working. Option List OPTION COLOURCODE ON OPTION DISPLAY 18,50 OPTION LCDPANEL SSSD1963_8_16, LANDSCAPE OPTION TOUCH 56, 123 OPTION FLASHPAGES 2 OPTION SDCARD 87 OPTION LCDPANEL CONSOLE OPTION CONTROLS 300 OPTION USBKEYBOARD US, 91 > KeyBoard Status Not Connected I also need to look at what GUI graphic code has changed by Geoff for the GUI part. The program I'm using to test the H7 with is hugely graphic intensive (213 GUI elements, 14 GUI pages) and the only problem so far is the SpinBox control, specifically the UP/DN touch triangles, the one on the RH side leaves part of a ghost RH edge of the triangle on screen, it persists across all page changes, all other controls behave correctly. BTW Thanks for the insight into what has changed and the behind the scenes parsing. Mike. . Edited 2021-04-24 15:41 by KeepIS NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1882 |
I can't seem to get the Firmware Version no matter what format I use, it used to be print MM.VER. Mike . Edited 2021-04-24 16:21 by KeepIS NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
ArmmiteH7V5.07.00b4.zip For version use mm.info(version) I've tested USB keyboard on this version and it is working for me. Please use ST-LINK to do a full chip erase before flashing this version and then set up the keyboard as usual. |
||||
gadgetjack Senior Member ![]() Joined: 15/07/2016 Location: United StatesPosts: 169 |
I tried the first file and found the same problems everyone was having. Tried the b4 version and all works except the keyboard. Tried several tested keyboards and no luck. Does seem to run faster. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Is LD8 coming on? If not you need to make sure you are setting the correct pin for your board to power the keyboard For an original Nucleo-H743 the command will be: OPTION USBKEYBOARD UK,91 For the new ZI2 version it will be: OPTION USBKEYBOARD UK,-79 Edited 2021-04-25 02:59 by matherp |
||||
gadgetjack Senior Member ![]() Joined: 15/07/2016 Location: United StatesPosts: 169 |
I reflashed the board twice , and retried the keyboards. LD8 is lit but no keyboard action. I have the older board , but tried both settings. Still no go. Ledbut this only lights on (91) setting. The keyboard I had on it before worked fine till I upgraded the firmware. Sorry to be pest , but this board works so good when it runs. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Please go back to the earlier firmware to confirm. Make sure you do the full chip erase both ways Mike: Is it working for you with b4? |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1882 |
Thanks, I tried mm.info(version) on b3 and it didn't work, works on b4. Did a full chip erase (twice) Programmed using ST-LINK. On my H7 (V1) - the Keyboard does NOT work - LED is lit - disable keyboard and LED is not lit: > Option List OPTION USBKEYBOARD US, 91 > print MM.INFO$(KEYBOARD) KeyBoard Status Not Connected Tried it on my H7 (V2) - LED lit - and same result: > Option List OPTION USBKEYBOARD US, -79 > print MM.INFO$(KEYBOARD) KeyBoard Status Not Connected In both cases I tried it first with only the keyboard option set, same result with all options set and attempting to use the keyboard. My two wireless keyboards were plugged in and running on both units prior to upgrading the FM. Plugged them into a 3rd (not upgraded) H7 (v2) out in the workshop and both worked perfectly. Something strange going on here? Mike. Edited 2021-04-25 09:35 by KeepIS NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I am busy today but will try and fire up my H7 later on and see what results I get. Jim VK7JH MMedit |
||||
gadgetjack Senior Member ![]() Joined: 15/07/2016 Location: United StatesPosts: 169 |
Took a bit to find the older version. I flashed it and keyboard is ok. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I have to report similar (lack of keyboard) results. I an running a Nucleo-H743 board with the backpack and a 5in display Using beta 4. > option list OPTION COLOURCODE ON OPTION DISPLAY 36,100 OPTION LCDPANEL SSD1963_5, RLANDSCAPE OPTION TOUCH 56, 123 OPTION SDCARD 110 OPTION LCDPANEL CONSOLE OPTION USBKEYBOARD US, 91 > print MM.INFO$(KEYBOARD) Not Connected > print mm.info(version) 5.07 > I tried with and without the USB console connected. Tried UK and DE keyboard settings. The USB power LED comes on. Tried INKEY$ in case it was just console missing in action. It was working with V5.5.x Jim VK7JH MMedit |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Jim/Mike Please try OPTION RESET and then reconfigure the keyboard and see if any difference Thanks |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
OPTION RESET didn't help I DID have it working a few minutes ago but lost it again. I went back to V5.5.3 and put the CRO on the data lines. When I went back to V5.7, this time I did the erase from the erase button and again during 'program' The keyboard worked but then I did a power cycle and no keyboard. no sign of any signals on the USB bus. I will try again. Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I just repeated the exercise reload V5.5.3 configure keyboard and test OK reload beta4 configure keyboard and test OK power cycle the H7 and no USB activity. The battery is good and options were maintained. RTC holding time etc. Jim VK7JH MMedit |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Jim Many thanks for the info - so something is being configured in 5.5.3 that survives flashing but doesn't survive power off and that isn't being set correctly in 5.07 - now I just need to find what it is because there is nothing obvious ![]() |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
ArmmiteH7V5.07.00b5.zip Another try OPTION KEYBOARD REPEAT implemented like CMM2 V spec chips automatically default to 480MHz All options cleared on reflash to avoid version conflicts Keyboard tested on both Nucleo variants before and after powering |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |