Flash size Problem 1MB

All that relates to the Annex Toolkit Utility
User avatar
Fernando Perez
Posts: 378
Joined: Mon Feb 15, 2021 10:09 pm
Location: Santander (Spain)
Has thanked: 195 times
Been thanked: 267 times

Re: Flash size Problem 1MB

Post by Fernando Perez »

But have you tried doing what I say?
I don't understand why only the first character bothers and not the rest.
User avatar
cicciocb
Site Admin
Posts: 1997
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 428 times
Been thanked: 1336 times
Contact:

Re: Flash size Problem 1MB

Post by cicciocb »

I did a little investigation and, in fact, the problem is that oli is using an external editor that do not use the unicodes; in fact the character ü is inserted as character &hFC and this is not allowed.

A good test is simple to do :

Code: [Local Link Removed for Guests]

wlog chr$(&hfc)
and you'll see that the browser disconnect (the connection light becomes red).

BUT, inserting the same character using the browser in the editor page of Annex, the right unicode character is inserted so this works.

Code: [Local Link Removed for Guests]

wlog "ü" 
You can see that the character is, in reality composed of 2 bytes in that way :

Code: [Local Link Removed for Guests]

a$ = "ü"
wlog len(a$)

Conclusion : avoid to use "non ascii" characters but, if you really need, use an the annex code editor or an external text editor that handle the unicodes.

This is applicable to then ESP32 too
User avatar
Oli
Posts: 44
Joined: Tue Feb 09, 2021 10:07 am
Location: Germany, Meissen
Has thanked: 13 times
Been thanked: 44 times
Contact:

Re: Flash size Problem 1MB

Post by Oli »

One thing that I did wrong:
I only exchanged the IP in the browser, between different devices, also ESP32.
So update at least website, or new window.
This explains the thing with the green bar.

The connection to the browser is interrupted only by reboot from the ESP, I usually observe the serial, if possible

Ö, ü, ä, I will remove,

I don't know on a double comment:
'code 'explanation
I always try to comment a lot, after 5 years I don't know anything else :-)
And then I comment on a command with a comment ...

And right, I always used an external editor for copy past,
I think that has brought problems



I thank everyone again

I have now tested other 1MB, it has nothing to do with the flash size, it was a wrong way,
Although the error was different with different flash sizes.

I used Dout 40MHz,
But there were only "non ascii" problems

Now I get a little work to format all ".bas" accordingly,

Now I'm up to 1.48 and I hope that the ESP8266 project will not be quiet, some KB code still has space for the new version.

I have successfully soldered this flash w25q64fvssig , 20 pieces 8MB for € 6, are very compatible.
https://aliexpress.com/item/1005006131987936.html
Post Reply