![]() |
Forum Index : Microcontroller and PC projects : Armmite H7: Full release & documentation
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
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 KingdomPosts: 10066 |
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 KingdomPosts: 10066 |
I think this fixes it - please let me know 2018-11-05_222011_Armmite1.3.zip |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
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: AustraliaPosts: 1828 |
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 KingdomPosts: 10066 |
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: AustraliaPosts: 1828 |
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: AustraliaPosts: 1828 |
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: AustraliaPosts: 1828 |
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. NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
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: AustraliaPosts: 1828 |
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 KingdomPosts: 10066 |
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: AustraliaPosts: 1828 |
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: AustraliaPosts: 1965 |
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: AustraliaPosts: 6219 |
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: AustraliaPosts: 1965 |
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. "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: AustraliaPosts: 1965 |
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: AustraliaPosts: 6219 |
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 VK7JH MMedit |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
I'll look at implementing calibration when I get back home |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
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" |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |