Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:32 10 May 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 H7: Full release & documentation

     Page 12 of 13    
Author Message
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 10:16am 05 Nov 2018
Copy link to clipboard 
Print this post

There is a problem with the second ARMmite that's wired for 16 bit. It won't run correctly under any condition, even with the driver in 8 bit mode. The adaptor I made is the same so it looks like the panel does not like the cable for bits 8 to 15 being connected. I'll take some photos tomorrow if no one else has a 9" display running in 16 bit mode on the ARMmite.

BTW the 7" display runs perfectly with the 16 bit driver so I can't see how I could have a cable problem. There may be a difference in the way the 7" and 9" screens handle 16 bit but it does not explain why it won't work in 8 bit like the first ARMmite, the only difference between the two are the extra hi byte connections ??
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10066
Posted: 10:29am 05 Nov 2018
Copy link to clipboard 
Print this post

  Quote  If I press F4 to highlight a line and then press F5 to copy, it starts inserting the text repetitively until I manage to get it to respond to the ESC key.


I know what is causing the problem but am struggling to fix it. The issue is that the USB library code is missing the F5 keyup because the processor is busy processing the F5 function. For me it works OK if I keep number of characters to be copied small but goes into autorepeat when it is a larger selection.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10066
Posted: 12:20pm 05 Nov 2018
Copy link to clipboard 
Print this post

I think this fixes it - please let me know

2018-11-05_222011_Armmite1.3.zip

 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 12:17am 06 Nov 2018
Copy link to clipboard 
Print this post

  matherp said   I think this fixes it - please let me know

2018-11-05_222011_Armmite1.3.zip



Yes that fixed it. The inbuilt editor is so dam fast with the ARMmite and it makes it extremely nice to use, very happy that you got it sorted.

Mike.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 01:49am 06 Nov 2018
Copy link to clipboard 
Print this post

I spoke to soon, there is a different problem:

Copy and paste are working great.

However, if you highlight some code and press Delete, the highlighted code is deleted but the delete action continues on to the following code, fortunately pressing ESC stops it instantly.

Instead of delete, I highlighted the code F4, and pressed F4 to cut, that removed the code, however the lower edit keys flash between options until a key is pressed.

It's no biggie and I'm happy with it as is, something for a rainy day I guess.

Thanks again for the effort and work you are putting into the H7 port.

Mike.

NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10066
Posted: 08:52am 06 Nov 2018
Copy link to clipboard 
Print this post

  Quote  However, if you highlight some code and press Delete, the highlighted code is deleted but the delete action continues on to the following code, fortunately pressing ESC stops it instantly.

Instead of delete, I highlighted the code F4, and pressed F4 to cut, that removed the code, however the lower edit keys flash between options until a key is pressed.


Same issue, but I know the cause and cure now. I couldn't replicate this time but try this:

2018-11-06_185203_Armmite1.3.zip
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 09:14am 06 Nov 2018
Copy link to clipboard 
Print this post

Thank you - everything seems to be 100% now editing a 110 kb file. I'll give it a full work over tomorrow.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 11:07am 07 Nov 2018
Copy link to clipboard 
Print this post

Just posted in this thread ARMmite and 9" display The Backpack and M100 7" to 9" LCD adaptor run perfectly with the ARMmite in 8 and 16 bit modes with the EastRising 9" LCD. Brilliant!
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 11:01pm 10 Nov 2018
Copy link to clipboard 
Print this post

  matherp said   Same issue, but I know the cause and cure now. I couldn't replicate this time but try this:


Would these changes have any effect on the Editor in terminal mode from a PC? When accessed from any PC terminal program, there are times when the PC terminal program appears to loose sync, the edit menu along the bottom will disappear or there will be an old line of code left on the last line as the editor is scrolled, none of this appears on the LCD display edit screen and that now works perfectly via the USB keyboard.

If I page to the top of the PC Terminal edit window then it appears to re-sync itself and tracks correctly for the first one or two page downs. This happens on the two ARMmites after the last one or two keyboard code fix and flash. The M100 is fine in terminal mode using the same 3 PC terminal programs. BTW I've tried various connect speeds and command delays but the results are the same.

Honestly I'm not really worried about this but I though I'd mention it anyway. Edited by KeepIS 2018-11-12
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10066
Posted: 05:29pm 11 Nov 2018
Copy link to clipboard 
Print this post

  Quote  If I page to the top of the PC Terminal edit window then it appears to re-sync itself and tracks correctly for the first one or two page downs.


This is a problem I'm having with both Armmite versions. It seems to be the processor is losing an UART output interrupt under certain circumstances. In the editor these normally seems to be the ESC character that is used for formatting. It is benign but annoying. I've spent quite a bit of time on it but so far to no avail.
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 10:36pm 11 Nov 2018
Copy link to clipboard 
Print this post

Thanks for that, yes annoying but I can live with it, besides, using the inbuilt editor on FONT 1 on a 9" LCD in the ARMmite is just heaven, it's Soooo FAST and I can edit long single lines of code without having to break (CR) and rejoin (DEL) them.

Cheers.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10066
Posted: 11:51am 12 Nov 2018
Copy link to clipboard 
Print this post

Please could you try this version and let me know the results. I've completely re-coded the console interrupt system at the register level rather than using the STM drivers. This will definitely have speeded things up but has it solved the issue.........?

2018-11-12_215131_Armmite1.3.zip
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1828
Posted: 10:14pm 12 Nov 2018
Copy link to clipboard 
Print this post

Looks like you nailed it. MM Edit no longer drops out of the edit console window with strange errors when paging down and it now tracks correctly. The others terminal programs are fine within the confines Console Font 2 and the normal 80 char terminal width but obviously go nuts if the ARMmite console is at font 1, although MM Edit handles font 1 and simply shows the first 80 chars on the line without loosing sync.

MM.basic inbuilt editor via ARMmite USB keyboard is still just fabulous.

Mike.


NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1965
Posted: 04:10am 20 Nov 2018
Copy link to clipboard 
Print this post

I am having trouble setting the time. I removed link at SB156 and fitted the battery but when I type RTC SETTIME 2018,11,20,12,00,00 I get an error "Unknown Command"
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6219
Posted: 04:26am 20 Nov 2018
Copy link to clipboard 
Print this post

RTC SETTIME is indead an unknown command
Just use
> DATE$="20/11/2018"
> TIME$="15:26:11"

Life is getting easier.

Jim
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1965
Posted: 04:58am 20 Nov 2018
Copy link to clipboard 
Print this post

Thank for that Jim, with 2 threads and so many pages it's hard to find anything.
All working OK.

Edit.
Ah! found it in the Manual, funny that.
Edited by palcal 2018-11-21
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1965
Posted: 08:57pm 21 Nov 2018
Copy link to clipboard 
Print this post

Been testing the clock for about 24 hours and it is already 10 seconds slow. With an onboard RTC I thought it would be more accurate. I set the time using TIME$ and am using GETTIME every 10 minutes.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6219
Posted: 11:19pm 21 Nov 2018
Copy link to clipboard 
Print this post

I don't think you need to use GETTIME just PRINT TIME$

The accuracy of the RTC will depend on the crystal which, according to the specs, should be within 1.7 second per day.
I just fired up my H7 after about a week and the clock was ~10 seconds slow. Much better than 10 seconds a day.

If you need high precision, you could use a DS3231.

Jim

Edit:
If I am reading the manual correctly, it might be possible to tweak the RTC timing
  Quote  Digital calibration circuit with 0.95 ppm resolution, to compensate for quartz crystal
inaccuracy.

Edited by TassyJim 2018-11-23
VK7JH
MMedit
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10066
Posted: 07:38am 22 Nov 2018
Copy link to clipboard 
Print this post

I'll look at implementing calibration when I get back home
Edited by matherp 2018-11-23
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1965
Posted: 09:13am 22 Nov 2018
Copy link to clipboard 
Print this post

Thanks Peter, no hurry.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
     Page 12 of 13    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025