Maybe it would be possible to prepare also UF2 binary of ESP32forth?
It would make the installation significantly easier.
Here:
https://esp32.arduino-forth.com/public/files/ESP32forthV7074.zip
ZIP with binary files.....
Instal instructions here:
https://esp32.arduino-forth.com/article/installation_instalFromBinaries
I believe this is part of the bootloader not the firmware itself.... https://learn.adafruit.com/adafruit-metro-esp32-s2/install-uf2-bootloaderHere:
https://esp32.arduino-forth.com/public/files/ESP32forthV7074.zip
ZIP with binary files.....
Instal instructions here:
https://esp32.arduino-forth.com/article/installation_instalFromBinariesThe point was to make it easier, without any need for additional ST programmer, like this:
„Instead of needing drivers or a separate program for flashing (say, bossac,
jlink or avrdude), one can simply drag a file onto a removable drive. The format
of the file is a little special. Due to 'operating system woes' you cannot just drag
a binary or hex file (trust us, we tried it, it isn't cross-platform compatible). Instead,
the format of the file has extra information to help the bootloader know where the
data goes. The format is called UF2 (USB Flashing Format). Microsoft MakeCode
generates UF2s for flashing and CircuitPython releases are also available as UF2.”
( https://learn.adafruit.com/adafruit-hallowing/uf2-bootloader-details )
I didn't use such kind of files yet — but if the Mecrisp guys were
able to prepare it for RP2040, then it must be feasible somehow.
I'll try to „convert” your binaries.
I didn't use such kind of files yet — but if the Mecrisp guys wereI believe this is part of the bootloader not the firmware itself.... https://learn.adafruit.com/adafruit-metro-esp32-s2/install-uf2-bootloader
able to prepare it for RP2040, then it must be feasible somehow.
I'll try to „convert” your binaries.
Maybe it would be possible to prepare also UF2 binary of ESP32forth?I don't think a bootloader will help in the situation where the board may come from different sources.
It would make the installation significantly easier.
On Monday, November 21, 2022 at 10:09:24 PM UTC+1, Zbig wrote:
Here:
https://esp32.arduino-forth.com/public/files/ESP32forthV7074.zip
ZIP with binary files.....
Instal instructions here:
https://esp32.arduino-forth.com/article/installation_instalFromBinariesThe point was to make it easier, without any need for additional ST programmer, like this:
„Instead of needing drivers or a separate program for flashing (say, bossac,
jlink or avrdude), one can simply drag a file onto a removable drive. The format
of the file is a little special. Due to 'operating system woes' you cannot just drag
a binary or hex file (trust us, we tried it, it isn't cross-platform compatible). Instead,
the format of the file has extra information to help the bootloader know where the
data goes. The format is called UF2 (USB Flashing Format). Microsoft MakeCode
generates UF2s for flashing and CircuitPython releases are also available as UF2.”
( https://learn.adafruit.com/adafruit-hallowing/uf2-bootloader-details )
I didn't use such kind of files yet — but if the Mecrisp guys wereI believe this is part of the bootloader not the firmware itself.... https://learn.adafruit.com/adafruit-metro-esp32-s2/install-uf2-bootloader
able to prepare it for RP2040, then it must be feasible somehow.
I'll try to „convert” your binaries.
Maybe it would be possible to prepare also UF2 binary of ESP32forth?I don't think a bootloader will help in the situation where the board may come from different sources.
It would make the installation significantly easier.
1) How the user flash the chip at the first time?
2) What if the bootloader was messed up sometime later?
Unless it was embedded in the chip's ROM, it's not a reliable solution.
BTW: I'd like to point your attention to the fact, that XTENSA assembler
for ESP32forth is very useful and interesting.
BTW: I'd like to point your attention to the fact, that XTENSA assembler for ESP32forth is very useful and interesting.Add-on assemblers for Forth and tutorials for same have been around forever. There's something special about this one?
Well this one allows coding „primitive” words directly in ESP32forth. :)BTW: I'd like to point your attention to the fact, that XTENSA assembler for ESP32forth is very useful and interesting.Add-on assemblers for Forth and tutorials for same have been around forever.
There's something special about this one?
On 23/11/2022 8:43 pm, Zbig wrote:Well, if you know the history of the Xtensa platform, you would better understand that while it's not new to have a compiler and de-compiler in Forth, it is a great deal more effort to get it done on the XTENSA platform.
BTW: I'd like to point your attention to the fact, that XTENSA assembler for ESP32forth is very useful and interesting.Add-on assemblers for Forth and tutorials for same have been around forever. There's something special about this one?
On Wednesday, November 23, 2022 at 11:06:45 AM UTC+1, dxforth wrote:
On 23/11/2022 8:43 pm, Zbig wrote:
Add-on assemblers for Forth and tutorials for same have been around forever. >> There's something special about this one?
BTW: I'd like to point your attention to the fact, that XTENSA assembler >>> for ESP32forth is very useful and interesting.
Well, if you know the history of the Xtensa platform, you would better understand that while it's not new to have a compiler and de-compiler in Forth, it is a great deal more effort to get it done on the XTENSA platform.
uForth is moving in a direction that gives it portability beyond the ESP32 platform, and as Espressif moves to RiskV, it opens up the horizon even more...
Well this one allows coding „primitive” words directly in ESP32forth. :)You have many examples here:
https://github.com/MPETREMANN11/ESP32forth/blob/main/assembler/myXtensaTests.txt
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 34:36:06 |
Calls: | 6,707 |
Files: | 12,239 |
Messages: | 5,353,334 |