Jump to content
IGNORED

New FujiNet Flasher Tool - Testers Needed


mozzwald

Recommended Posts

There is a new FujiNet-Flasher program in the works and I am posting the binaries so that we can make sure everything is working correctly by having as many people test it as possible. A big thanks to @apc and @massiverobot for their help with this. There is more to be done on the backend. The goal is to have Github build the firmware and have it auto-magically available in the flasher with support for multiple future platforms.

 

627855646_Screenshotfrom2022-01-1818-42-27.thumb.png.44dc4a88ec53e54959e034f5d8171985.png

 

There are now two MacOS builds of the flasher available. The one labeled "latest" should work on MacOS Catalina and up (intel only). The other is labeled "mavericks" and should work on MacOS Mavericks through Mojave. I have personally tested with MacOS High Sierra.

 

The new flash tool provides a dropdown to choose your Platform and currently offers Atari 8-bit and Coleco ADAM. 99.999% of you should be choosing Atari ;) Next, click the Firmware dropdown and select which firmware you wish to install. Currently the same 'latest' build (0.5.f8cc4292) and a new SIO2BT build are available. The SIO2BT build is a modified version of the current master branch built against an older espressif sdk that had a smaller BlueTooth footprint. After selecting the firmware some details about it appear and you can hit the flash button to start.

 

Please test and report any issues you have to this thread. Thanks!

 

Here are links to the beta flash tools:

Linux x64

MacOS Catalina and up (latest)

MacOS Mavericks thru Mojave

Windows 64 Bit

Windows x86

  • Like 3
  • Thanks 2
Link to comment
Share on other sites

I downloaded the Linux_x64 binary but I get a display like this, all font characters show as little squares.  This also happens with the current compiled binary version of the flasher, I had to clone the github repo and run it as esphomeflasher to see correctly rendered text.

FujinetFlasher.thumb.png.f0798b40aab63f1fce40f873f4fe45ae.png

 

The output in the shell when I run FujiNet-Flasher is:

Gtk-Message: 19:42:51.328: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:42:51.328: Failed to load module "canberra-gtk-module"
/usr/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Gtk-Message: 19:42:51.346: Failed to load module "colorreload-gtk-module"
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "description"

(FujiNet-Flasher:5500): Gtk-WARNING **: 19:42:51.392: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

 

I'm not sure if my system (Manjaro) is missing some particular font.  Is there a specific font it's compiled to use?

 

Sorry this doesn't really help test the new beta, but at the moment I can't see what I'm testing :)

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

3 hours ago, GreyHobbit said:

I downloaded the Linux_x64 binary but I get a display like this, all font characters show as little squares.  This also happens with the current compiled binary version of the flasher, I had to clone the github repo and run it as esphomeflasher to see correctly rendered text.

Thanks for reporting this. I have attempted to build a static version of the flasher. Can you test this file and report if there is any change? Thanks!

FujiNet-Flasher_linux-x64-static.zip

Link to comment
Share on other sites

56 minutes ago, mozzwald said:

Thanks for reporting this. I have attempted to build a static version of the flasher. Can you test this file and report if there is any change? Thanks!

I tried the static build but unfortunately it gives a "Segmentation fault (core dumped)" error on my machine.

 

However, some more Googling after I tried the static build took me to a page that seems to have provided a solution.  I had to update the fontconfig cache like this:

rm -rf ~/.cache/fontconfig 
sudo fc-cache -r -v

Which seems to have done the trick because I now get this much more readable display :) 

FujiNetFlasherFontsFixed.thumb.png.97e0f38aa80b1cd9dec600b6e7f2de95.png

 

So it was an issue with my config, not the Flasher executable.

 

I flashed one of my FujiNets and everything looks like it worked successfully.

FujiNetBetaSuccess.thumb.png.d2c4e476fcce9f7688e9af02c5110996.png

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

1 minute ago, GreyHobbit said:

I tried the static build but unfortunately it gives a "Segmentation fault (core dumped)" error on my machine.

Had another person test with the same results so I'll scratch that attempt :)

2 minutes ago, GreyHobbit said:

Which seems to have done the trick because I now get this much more readable display :)

Ah, yes, that looks better. I'll take note of that fix. Thanks for letting us know!

  • Like 1
Link to comment
Share on other sites

Just tested under macOS 11.6 (Big Sur).  Everything seems to have gone without problems, though I did not test flashing the BT firmware.

 

FujiNet 1.0:

 

Spoiler

Retrieving firmware
Downloading https://fujinet.online/firmware/releases_atari/fujinet-ATARI-0.5.f8cc4292.zip
sha256 726b6d1e4eb047345b2fc886c262b1a0689d9d370dd5c822933c1a3ffee06cc8 OK
Using '/dev/cu.usbserial-14410' as serial port.
Starting firmware upgrade...
FujiNet Version: 0.5.f8cc4292
Version Date/Time: 2022-01-03 23:24:24
Build Date/Time: Mon Jan  3 23:36:05 UTC 2022
Connecting...[18:46:13] ets Jun  8 2016 00:22:57
[18:46:13]
[18:46:13] rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[18:46:13] waiting for download
...Serial port closed!
.
Detecting chip type... ESP32
Connecting.....

Chip Info:
 - Chip Family: ESP32
 - Chip Model: ESP32D0WDQ5 (revision 1)
 - Number of Cores: 2
 - Max CPU Frequency: 240MHz
 - Has Bluetooth: YES
 - Has Embedded Flash: NO
 - Has Factory-Calibrated ADC: YES
 - MAC Address: F0:08:D1:6D:DB:B8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
 - Flash Size: 16MB
 - Firware path: fujinet.online
 - Flash Mode: dio
 - Flash Frequency: 40MHz
Erasing flash (this may take a while)...
Chip erase completed successfully in 10.0s
Compressed 27632 bytes to 16861...
Writing at 0x00005000... (100 %)Wrote 27632 bytes (16861 compressed) at 0x00001000 in 0.4 seconds (effective 540.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1980.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5684.5 kbit/s)...
Hash of data verified.
Compressed 1870064 bytes to 1072092...
Writing at 0x00114000... (100 %)Wrote 1870064 bytes (1072092 compressed) at 0x00010000 in 24.7 seconds (effective 605.3 kbit/s)...
Hash of data verified.
Compressed 2097152 bytes to 650265...
Writing at 0x00cac000... (100 %)Wrote 2097152 bytes (650265 compressed) at 0x00c10000 in 15.3 seconds (effective 1097.5 kbit/s)...
Hash of data verified.

Leaving...
Hard Resetting...
Done! Flashing is complete!

Showing logs:
[18:47:16] [18:47:16]
[18:47:16] --~--~--~--
[18:47:16] FujiNet 0.5.f8cc4292 2022-01-03 23:24:24 Started @ 5
[18:47:16] Starting heap: 4376047
[18:47:16] Detected Hardware Version: 1.0
[18:47:16] SPIFFS mounted.
[18:47:16] SD mounted.
[18:47:16] fnConfig::load
[18:47:16] Load fnconfig.ini from SD
[18:47:16] fnConfig::load read 891 bytes from config file
[18:47:16] SPIFFS Config Storage: Enabled
[18:47:16] fnConfig::load read 316 bytes from SPIFFS config file
[18:47:16] Copying SD config file to SPIFFS
[18:47:16] copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[18:47:16] copy_file copied 891 bytes
[18:47:16] WiFiManager::start() complete
[18:47:17] WIFI_EVENT_STA_START
[18:47:17] WiFi connect attempt to SSID "redacted"
[18:47:17] esp_wifi_connect returned 0
[18:47:17] disk UNMOUNT
[18:47:17] disk MOUNT
[18:47:17] ATR MOUNT
[18:47:17] mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[18:47:17] Creating a default printer using FS_SDFAT storage and type 2
[18:47:17] SSH client initialized.
[18:47:17] ModemSniffer::ModemSniffer(FS_SDFAT)
[18:47:17] SIO SETUP
[18:47:17] Set HSIO baud from 0 to 67431 (index 6), alt=68209
[18:47:17] Available heap: 4166043
[18:47:17] Setup complete @ 855 (850ms)
[18:47:18] WIFI_EVENT_STA_CONNECTED
[18:47:19] IP_EVENT_STA_GOT_IP
[18:47:19] Obtained IP address: x.x.x.x
[18:47:19] SNTP client start
[18:47:19] Starting web server on port 80
[18:47:24] SNTP time sync event: Thu Jan 20, 18:47:24 2022 -0600

 

FujiNet 1.3 'fixed':

 

Spoiler

Retrieving firmware
Downloading https://fujinet.online/firmware/releases_atari/fujinet-ATARI-0.5.f8cc4292.zip
sha256 726b6d1e4eb047345b2fc886c262b1a0689d9d370dd5c822933c1a3ffee06cc8 OK
Using '/dev/cu.usbserial-14410' as serial port.
Starting firmware upgrade...
FujiNet Version: 0.5.f8cc4292
Version Date/Time: 2022-01-03 23:24:24
Build Date/Time: Mon Jan  3 23:36:05 UTC 2022
Connecting...[18:49:33] ets Jun  8 2016 00:22:57
[18:49:33]
[18:49:33] rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[18:49:33] waiting for download
.Serial port closed!
.
Detecting chip type... ESP32
Connecting....

Chip Info:
 - Chip Family: ESP32
 - Chip Model: ESP32D0WDQ5 (revision 1)
 - Number of Cores: 2
 - Max CPU Frequency: 240MHz
 - Has Bluetooth: YES
 - Has Embedded Flash: NO
 - Has Factory-Calibrated ADC: YES
 - MAC Address: A8:03:2A:5E:BC:BC
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
 - Flash Size: 16MB
 - Firware path: fujinet.online
 - Flash Mode: dio
 - Flash Frequency: 40MHz
Erasing flash (this may take a while)...
Chip erase completed successfully in 13.6s
Compressed 27632 bytes to 16861...
Writing at 0x00005000... (100 %)Wrote 27632 bytes (16861 compressed) at 0x00001000 in 0.4 seconds (effective 539.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1765.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5809.0 kbit/s)...
Hash of data verified.
Compressed 1870064 bytes to 1072092...
Writing at 0x00114000... (100 %)Wrote 1870064 bytes (1072092 compressed) at 0x00010000 in 24.9 seconds (effective 601.2 kbit/s)...
Hash of data verified.
Compressed 2097152 bytes to 650265...
Writing at 0x00cac000... (100 %)Wrote 2097152 bytes (650265 compressed) at 0x00c10000 in 15.5 seconds (effective 1085.7 kbit/s)...
Hash of data verified.

Leaving...
Hard Resetting...
Done! Flashing is complete!

Showing logs:
[18:50:37] [18:50:37]
[18:50:37] --~--~--~--
[18:50:37] FujiNet 0.5.f8cc4292 2022-01-03 23:24:24 Started @ 5
[18:50:37] Starting heap: 4376047
[18:50:37] Detected Hardware Version: 1.1-1.5
[18:50:37] Enabled Safe Reset Button C
[18:50:37] SPIFFS mounted.
[18:50:37] SD mounted.
[18:50:37] fnConfig::load
[18:50:37] Load fnconfig.ini from SD
[18:50:37] fnConfig::load read 832 bytes from config file
[18:50:37] SPIFFS Config Storage: Enabled
[18:50:37] fnConfig::load read 316 bytes from SPIFFS config file
[18:50:37] Copying SD config file to SPIFFS
[18:50:37] copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[18:50:38] copy_file copied 832 bytes
[18:50:38] WiFiManager::start() complete
[18:50:38] WIFI_EVENT_STA_START
[18:50:38] WiFi connect attempt to SSID "redacted"
[18:50:38] esp_wifi_connect returned 0
[18:50:38] disk UNMOUNT
[18:50:38] disk MOUNT
[18:50:38] ATR MOUNT
[18:50:38] mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[18:50:38] Creating a default printer using FS_SDFAT storage and type 1
[18:50:38] SSH client initialized.
[18:50:38] ModemSniffer::ModemSniffer(FS_SDFAT)
[18:50:38] SIO SETUP
[18:50:38] Set HSIO baud from 0 to 67431 (index 6), alt=68209
[18:50:38] Available heap: 4165991
[18:50:38] Setup complete @ 647 (642ms)
[18:50:39] WIFI_EVENT_STA_CONNECTED
[18:50:40] IP_EVENT_STA_GOT_IP
[18:50:40] Obtained IP address: x.x.x.x
[18:50:40] SNTP client start
[18:50:40] Starting web server on port 80
[18:50:45] SNTP time sync event: Thu Jan 20, 18:50:45 2022 -0600

 

  • Thanks 1
Link to comment
Share on other sites

12 minutes ago, x=usr(1536) said:

Just tested under macOS 11.6 (Big Sur)

Awesome, thanks for testing!

 

Regarding the Mac flasher for older systems, we had one person test with El Capitan 10.11 and it did not work. So far this is what we know works or doesn't for Mac:

 

Flasher for older Mac
10.9 Mavericks: ?
10.10 Yosemite: ?
10.11 El Capitan: No
10.12 Sierra: ?
10.13 High Sierra: Yes
10.14 Mojave: ?

 

Flasher for newer Mac
10.15 Catalina: ?
11 Big Sur: Yes
12 Monterey: ?

  • Like 1
Link to comment
Share on other sites

11 hours ago, mozzwald said:

Awesome, thanks for testing!

 

Regarding the Mac flasher for older systems, we had one person test with El Capitan 10.11 and it did not work. So far this is what we know works or doesn't for Mac:

 

Flasher for older Mac
10.9 Mavericks: ?
10.10 Yosemite: ?
10.11 El Capitan: No
10.12 Sierra: ?
10.13 High Sierra: Yes
10.14 Mojave: ?

 

Flasher for newer Mac
10.15 Catalina: ?
11 Big Sur: Yes
12 Monterey: ?

I have a new MacBook Pro M1 Max 14" with Monterey 12.1, and the flasher worked just fine for me, for both a v1.0 FujiNet and v1.3(fixed).

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 5 weeks later...

When flashing my FujiNet 1.5, I get the error below 

My 1.3 flashes with no problems and the 1.5 works normally on the Atari.

 

Windows 11 Pro

 

Retrieving firmware
Downloading https://fujinet.online/firmware/releases_atari/fujinet-ATARI-0.5.f8cc4292.zip
sha256 51de29e9da7678ac25e3ecfd0fcd5e51d6aacc7620edd49290dbb9ebdb38d54f OK
Using 'COM4' as serial port.
Starting firmware upgrade...
FujiNet Version: 0.5.f8cc4292
Version Date/Time: 2022-01-03 23:24:24
Build Date/Time: Mon Jan  3 23:36:05 UTC 2022
Connecting........_____....._____....._____....._____....._____....._____....._____
Unexpected error: ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Timed out waiting for packet header
All LEDs flash during the attempted update

Edited by JGRAHAM2
Link to comment
Share on other sites

3 hours ago, mozzwald said:

When you plug the MicroUSB cable into the FujiNet, hold down button A (button on the left) and all 3 lights on the FujiNet should light up dimly. Then run the flasher and upgrade firmware.

I tried that and it did the same thing. I would say though that the LEDs were not especially dim, but all were lit.

Link to comment
Share on other sites

22 hours ago, JGRAHAM2 said:

I tried that and it did the same thing. I would say though that the LEDs were not especially dim, but all were lit.

Try flashing while continuously holding button A.

 

On 1/21/2022 at 9:58 PM, massiverobot said:

10.11 El Capitan: YES!

@massiverobot any chance you could build the current flasher for El Capitan again? https://github.com/FujiNetWIFI/fujinet-flasher/tree/multiplatform-files

On 1/21/2022 at 5:12 PM, apc said:

So I made another Linux build on Ubuntu 21.10:

@apc and can you build this for ubuntu 21.10 as well?

Link to comment
Share on other sites

On 2/27/2022 at 7:41 PM, mozzwald said:

Try flashing while continuously holding button A.

 

@massiverobot any chance you could build the current flasher for El Capitan again? https://github.com/FujiNetWIFI/fujinet-flasher/tree/multiplatform-files

@apc and can you build this for ubuntu 21.10 as well?

@mozzwald this worked, thanks. I had to press A and hold after I hit the Flash button. I held it until it completed.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...