Message |
|
FIXED : Thanks. I deleted ~\.tcmenu\panels\044adb6f-3764-440b-bda9-472ab88719f7-layout.xml and that allowed the Win10 embedCONTROL app to run again.
|
 |
|
Hi Dave. I've tried using embedControl via the serial COM port on my Arduino Mega. Initially this ran ok for a few times, so I tried changing two Analog menu item sliders to up/down controls. After a few retries, I find that embedControl will no longer run on my Win10 . Instead a dialog box reports : Failed to launch JVM. I've tried uninstalling and re-installing embedControl 2.5.0 but this does not change the response. Any ideas or pointers please?
EDIT: attached last log file.
|
 |
|
SOLVED: Thanks Dave for your great advice. I moved my FreeRTOS serial task to the tcmenu taskManager schedule as you suggested and I can now read from Serial ok. I also restored the baud rate from 9600 to my original 115200 and all was still ok. I haven't tried optimisation like CircularBuffers yet and it still works ok. Thanks again. I'll report back on any optimisations I try later.
|
 |
|
Hi Dave, its interesting that you say that the 320x240 ILI9341 LCD is one you've tested with. I'm using the SPI version, have you tested with this one and/or the parallel interface version?
I've modified my application to run with tcmenu with hardware interrupts on D2 and D3 to detect two reed switches, and a single FreeRTOS task to read and write on Serial at 9600 baud. I can observe my app Serial print output ok, but so far I cant get any Serial reading to work at all. Do you have any ideas or comments about being unable to do Serial reads on a single FreeRTOS task? Thanks.
|
 |
|
Thanks. I deleted the bad path in the Windows registry and that also reset the General Settings at the next startup of tcMenu Designer.
|
 |
|
I replicated the faulty run and generated this attachment
|
 |
|
WORKAROUND: When I recreate the previous path name to a copy of the emf file then I can access the browse / explorer dialog to navigate to my desired emf file. Seems like uninstalling and reinstalling doesn't fix tcMenu from remembering possibly non-existent paths. How can old paths like this be removed on Win10?
|
 |
|
When I select File > Open Project.. nothing seems to respond. I'm expecting a browse file explorer type dialog so I can navigate to my existing file. I tried uninstalling tcMenu Designer and re-installing but nothing changed.
I am trying to access the file on my w: drive. One possible reason might be I renamed the previous w: parent directory from "21 SBOX" to "21_SBOX" as I decided to remove the space from the path name.
I also tried to associate the emf file type with C:\Program Files (x86)\TcMenuDesigner\tcMenuDesigner.exe but this didn't work for me either. Has anyone seen this before or have any workarounds to allow browsing / navigation to an existing emf file? Thanks.
|
 |
|
Thanks for your reply. Apologies. My previous "empty" application wasn't completely empty and I was also attaching a servo on D9. This clashed with the LCD shield. Once this was removed my empty application now renders tcmenu correctly and reliably.
I'll get to work on what is causing my full application stopping tcmenu from rendering and report back.
|
 |
|
UPDATE: I should have done this earlier but I've gone down to an empty user application and I do get menu rendering using the Dark Mode Traditional for small to medium color displays theme. Even with this empty user applications there are some issues such as during editing the Use sliders for analog items appearing ragged and the numeric values can overlay earlier values so that they cannot be easily read e.g. changing from a 3 to a 4 renders the 4 over the previous 3 and produces a corrupted character. Also I have colour palettes seemingly randomly changing and the Mega / Display crashing, sometimes every few minutes. Any ideas on how to proceed / debug? Or is this Adafruit 1651 LCD shield going to be unusable with tcmenu?
|
 |
|
Hi, I'm a new user and first let me congratulate Dave Cherry et. al. for some fantastic software engineering.
Last week I had quick project success using an Arduino Mega with 16x2 LCD shield with built-in cursor and enter buttons. Now I'm trying my previous project with a rotary encoder (which I've tested as ok) and a 320x240 LCD shield, which has a built-in resistive touchscreen which I'm not using here.
I've tried all reasonable combinations of themes but the best result I get is my project title rendered at the top of the LCD with all subsequent menu items missing. Operating the rotary encoder and selection button has no effect with this ILI9341 LCD. I realise this Adafruit 1651 LCD shield is old hardware but its good value and all I've got atm. I've spotted that your website documentation describes the ILI9341 as "no frame buffer". However the Adafruit documentation describes the 1651 shield as "This display shield has a controller built into it with RAM buffering".
My hardware is all OK as the Adafruit graphicstest example works fine.
Has anyone had any success using an Arduino Mega board with an Adafruit 1651 LCD shield (ILI9341) and/or any ideas to try and make the menus appear and render properly? Thanks for reading.
|
 |
|