Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 04:21 20 Apr 2024 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 : ELLO 1A - first "official" release

     Page 2 of 2    
Author Message
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 02:28pm 02 Apr 2021
Copy link to clipboard 
Print this post

  Quote  You can clear the program with a RIDE command .1d!

This is exactly what I was looking for!

I am having some difficulty visualizing how the commands work - examples would be very helpful...

It is a pity that "./lsl <lib_name>" does not list the parameters with which the functions are called - that would be very helpful.

With the Iceemite there was the possibility to call up a separate help file at any time - is this possibility also available here? That was quite great!!!

Is it possible to use a RTC with ELLO?

  Quote  I will post some sample programs when I find enough free time to write them... ;)
Anything particular you want to see?


All you can give me!    

:)Frank


Update: Problem with USB console
I typed this:
 1: #include <platform.h>
 2: #include <graphics.h>
 3: #include <stdio.h>
 4: #include <stdlib.h>
 5: #include <time.h>
 6: #include <math.h>
 7: clearScreen(0);
 8: drawRect(0,0,10,10,-1)
.=


(ERROR 9) line 8: semicolon ';' expected
drawRect(0,0,10,10,-1)

 3\ [A


After this I can't work over terminal. I get always [A, [B, [C and [D with arrow keys...
Edited 2021-04-03 00:57 by Frank N. Furter
 
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 06:47pm 02 Apr 2021
Copy link to clipboard 
Print this post

It is possible to have some sort of help file but not inside the flash. Simply no room for it there.
All included, there are well over a hundred different functions in the libraries, also the constants, the predefined structures, etc. It will have to be a reasonably large help, even if only stating the what is what.

RTC support is something I am currently working on, but won't be ready for the 103 release, maybe the one after it. Release 103 already includes a lot anyway.

I will investigate further the bug in the USB console, hopefully to have it fixed in 103.
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 07:17pm 02 Apr 2021
Copy link to clipboard 
Print this post

I purchased two ELLOs and I can barely spell C.
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 08:04pm 02 Apr 2021
Copy link to clipboard 
Print this post

@knivd:
  Quote  It is possible to have some sort of help file but not inside the flash. Simply no room for it there.

That would be no problem - there is enough space on the SD card!

Would it be possible to implement a mass storage device driver that can access the SD card via USB? That would be great!!!

@cdeagle:
Are there any chances for interesting C astronomy programs?

:)Frank
 
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 12:32pm 03 Apr 2021
Copy link to clipboard 
Print this post

Just released on the website a new software update. This is a bigger one so it jumps straight to R110.
The most important change - the video is 80-column text now.

Here is the screen immediately after first programming.

 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 03:50pm 03 Apr 2021
Copy link to clipboard 
Print this post

The screen output looks good!

My AUTOSTART no work anymore:
(ERROR 49) line1: unknown directive
#pragma LAYOUT1

".k DE" does the job, but upper and lower case is important...

CTRL-C no work anymore - I can no longer break a program! (But I get hearts on the screen - tested with your checkerboard pattern test program)

The arrow keys no longer work (I only get strange special characters displayed)

With terminal:
The arrow keys seem to work.

CTRL-C behaves even worse: the whole screen (of the external monitor) is filled with hearts and the program cannot be interrupted. (also tested with your checkerboard pattern test program)

:)Frank
 
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 04:01pm 03 Apr 2021
Copy link to clipboard 
Print this post

Ugh, sorry about the arrow keys. I know the problem and will fix it straight away

#pragma is not supported anymore (see the change log).
Did you by any chance use .^ ?
Try .^3 and see if that will fix the Ctrl-C situation
I don't understand the comment about upper and lower case. Can you explain, please?


PS. should be fixed now and the file is on the website
Edited 2021-04-04 02:15 by knivd
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 06:14pm 03 Apr 2021
Copy link to clipboard 
Print this post

No, I used the default settings (I even had problems to create a ^ with my keyboard at first...).
".^3" worked, but I had to restart ELLO - I could not access the card otherwise.
>>>ERROR: (FR4) Unable to perform file system operation

Now I can end programs with CTRL-C again.

After another test with ".^3" the USB console does not work anymore - ELLO and TeraTerm hang and do not work anymore - also a reboot of the PC and ELLO did not change anything. I'm afraid I have to reflash ELLO....

".k DE" works, ".k de" gives ".k de ???"

:)Frank
 
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 06:31pm 03 Apr 2021
Copy link to clipboard 
Print this post

  Frank N. Furter said  No, I used the default settings (I even had problems to create a ^ with my keyboard at first...).
".^3" worked, but I had to restart ELLO - I could not access the card otherwise.
>>>ERROR: (FR4) Unable to perform file system operation

Now I can end programs with CTRL-C again.

After another test with ".^3" the USB console does not work anymore - ELLO and TeraTerm hang and do not work anymore - also a reboot of the PC and ELLO did not change anything. I'm afraid I have to reflash ELLO....

".k DE" works, ".k de" gives ".k de ???"

:)Frank



Country codes are case-sensitive, that's why DE works but de doesn't.
Load from the website and flash it with the fixed hex
Edited 2021-04-04 04:32 by knivd
 
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 05:35pm 13 Apr 2021
Copy link to clipboard 
Print this post

Released R111 firmware.
It fixes many bugs in C.impl and has now a full good font and support for non-English character entry.
See the font with this little program:


#include <stdio.h>
int i;
printf("HL| ");
for(i = 0; i < 0x10; i++) printf("%X  ", i);
printf("\r\n");
for(i = 0; i < 50; i++) printf("-");
for(i = 0; i < 0x100; i++) {
   if(i % 0x10 == 0) printf("\r\n%X | ", i >> 4);
   if(i) putchar(i); else putchar(' ');
   printf("  ");
}
printf("\r\n");
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 05:37pm 14 Apr 2021
Copy link to clipboard 
Print this post

Hi,

I have two small problems with the new version:

- I changed the layout to DE and it works very well, but the message at startup is.
"Kbd layout: US" (but it works as DE)

- if I open Teraterm BEFORE I press Return with an external keyboard at "Password:", my system hangs and I have to restart Ello and Teraterm

:)Frank
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 06:15pm 14 Apr 2021
Copy link to clipboard 
Print this post

...little update: Ello does not remember the country setting after a reset...

(The writing is now really beautifully sharp!!!)
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 06:28pm 14 Apr 2021
Copy link to clipboard 
Print this post

I suddenly no longer have access to the SD card when I change the country setting to DE...

Something still seems to be unstable...
 
knivd

Regular Member

Joined: 07/09/2014
Location: United Kingdom
Posts: 71
Posted: 07:08pm 14 Apr 2021
Copy link to clipboard 
Print this post

Thanks for spotting these. I will look into the possible causes and report back soon.

Update:
The indication and storing the settings was a really tiny thing which I had disabled during the tests and then had forgotten to enable again. It is fixed now and I have updated the hex on the website.
I was unable to reproduce any of the two problems you are describing. Tried Teraterm and the keyboard in all possible combinations. Also, never seen any problem with the SD. Would you mind trying again with the updated hex and see if that helped?

Regarding the DE/FR layouts - it is still possible to have problems with those. I will try to fix and test further with them. For now it is best to stick with the US/UK settings in case of a problem.
Edited 2021-04-15 05:33 by knivd
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 05:29pm 15 Apr 2021
Copy link to clipboard 
Print this post

Hi Kon,

thanks for your update!

The problems with the serial interface have unfortunately remained. Only when I confirm the password with an external keyboard does the system not crash. Once I managed to establish the connection anyway - otherwise I always had to press RETURN on the keyboard to get a connection and Tera Term did not crash.

This means that I can't access Ello without an external keyboard - I always have to press RETURN when entering the password (several times!!!) so that the connection doesn't crash. Otherwise, I can't access Ello with either the external keyboard or Tera Term.

Only when I change the keyboard layout with ".k de" I cannot access the SD card immediately afterwards. However, it now works after a "./reset" or reboot again!

And yes, the country setting is now permanently saved!  

The display looks very, very sharp - it's very nice!!!

:)Frank
Edited 2021-04-16 03:34 by Frank N. Furter
 
     Page 2 of 2    
Print this page


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

© JAQ Software 2024