Jump to content
IGNORED

New major #FujiNet build coming - Look for regressions.


tschak909

Recommended Posts

Here's the upgrade output from both of mine - one 1.0, one 1.3.  Test machine is an 800XL, 256K RAM, UAV.

 

FujiNet 1.0:

 

Spoiler

Using '/dev/cu.usbserial-14410' as serial port.
Starting firmware upgrade...
Getting latest firmware from fujinet.online..
FujiNet Version: 0.5.cec57d6a
Version Date/Time: 2021-12-11 17:57:01
Build Date/Time: Mon Dec 13 01:57:05 UTC 2021
Connecting...[20:18:31]ets Jun  8 2016 00:22:57
[20:18:31]
[20:18:31]rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[20:18:31]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.7s
Compressed 27520 bytes to 16756...
Writing at 0x00005000... (100 %)Wrote 27520 bytes (16756 compressed) at 0x00001000 in 0.4 seconds (effective 538.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 2064.2 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 6514.0 kbit/s)...
Hash of data verified.
Compressed 1910336 bytes to 1099295...
Writing at 0x0011c000... (100 %)Wrote 1910336 bytes (1099295 compressed) at 0x00010000 in 25.2 seconds (effective 606.9 kbit/s)...
Hash of data verified.
Compressed 2097152 bytes to 648574...
Writing at 0x00cac000... (100 %)Wrote 2097152 bytes (648574 compressed) at 0x00c10000 in 15.1 seconds (effective 1110.7 kbit/s)...
Hash of data verified.

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

Showing logs:
[20:19:35][20:19:35]
[20:19:35]--~--~--~--
[20:19:35]FujiNet 0.5.cec57d6a 2021-12-11 17:57:01 Started @ 5
[20:19:35]Starting heap: 4375827
[20:19:35]Detected Hardware Version: 1.0
[20:19:35]SPIFFS mounted.
[20:19:36]SD mounted.
[20:19:36]fnConfig::load
[20:19:36]Load fnconfig.ini from SD
[20:19:36]fnConfig::load read 1045 bytes from config file
[20:19:36]SPIFFS Config Storage: Enabled
[20:19:36]fnConfig::load read 316 bytes from SPIFFS config file
[20:19:36]Copying SD config file to SPIFFS
[20:19:36]copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[20:19:36]copy_file copied 1045 bytes
[20:19:36]WIFI_EVENT_STA_START
[20:19:36]WiFi connect attempt to SSID "redacted"
[20:19:36]esp_wifi_connect returned 0
[20:19:36]disk UNMOUNT
[20:19:36]disk MOUNT
[20:19:36]ATR MOUNT
[20:19:36]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[20:19:36]Creating a default printer using FS_SDFAT storage and type 2
[20:19:36]SSH client initialized.
[20:19:36]ModemSniffer::ModemSniffer(FS_SDFAT)
[20:19:36]SIO SETUP
[20:19:36]Set HSIO baud from 0 to 67431 (index 6), alt=68209
[20:19:36]Available heap: 4167231
[20:19:36]Setup complete @ 755 (750ms)
[20:19:37]WIFI_EVENT_STA_CONNECTED
[20:19:38]IP_EVENT_STA_GOT_IP
[20:19:38]Obtained IP address: x.x.x.x
[20:19:38]SNTP client start
[20:19:38]Starting web server on port 80
[20:19:39]SNTP time sync event: Mon Dec 27, 20:19:39 2021 -0600

 

Result: FujiNet boots normally and connects to WiFi without issue.  Played a quick game of Yar's Strike, checked APOD, and brought up bocianu's weather forecast.  Everything seems normal.

 

 

FujiNet 1.3:

 

Spoiler

Using '/dev/cu.usbserial-14410' as serial port.
Starting firmware upgrade...
Getting latest firmware from fujinet.online..
FujiNet Version: 0.5.cec57d6a
Version Date/Time: 2021-12-11 17:57:01
Build Date/Time: Mon Dec 13 01:57:05 UTC 2021
Connecting...[20:22:59]ets Jun  8 2016 00:22:57
[20:22:59]
[20:22:59]rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[20:22:59]waiting for download
.....[20:23:01]ets Jun  8 2016 00:22:57
[20:23:01]
[20:23:01]rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[20:23:01]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 14.4s
Compressed 27520 bytes to 16756...
Writing at 0x00005000... (100 %)Wrote 27520 bytes (16756 compressed) at 0x00001000 in 0.4 seconds (effective 539.8 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 2041.2 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 6378.1 kbit/s)...
Hash of data verified.
Compressed 1910336 bytes to 1099295...
Writing at 0x0011c000... (100 %)Wrote 1910336 bytes (1099295 compressed) at 0x00010000 in 25.2 seconds (effective 606.2 kbit/s)...
Hash of data verified.
Compressed 2097152 bytes to 648574...
Writing at 0x00cac000... (100 %)Wrote 2097152 bytes (648574 compressed) at 0x00c10000 in 15.2 seconds (effective 1102.3 kbit/s)...
Hash of data verified.

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

Showing logs:
[20:24:10][20:24:10]
[20:24:10]--~--~--~--
[20:24:10]FujiNet 0.5.cec57d6a 2021-12-11 17:57:01 Started @ 5
[20:24:10]Starting heap: 4375827
[20:24:10]Detected Hardware Version: 1.1-1.5
[20:24:10]Enabled Safe Reset Button C
[20:24:10]SPIFFS mounted.
[20:24:10]SD mounted.
[20:24:10]fnConfig::load
[20:24:10]Load fnconfig.ini from SD
[20:24:10]fnConfig::load read 831 bytes from config file
[20:24:10]SPIFFS Config Storage: Enabled
[20:24:10]fnConfig::load read 316 bytes from SPIFFS config file
[20:24:10]Copying SD config file to SPIFFS
[20:24:10]copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[20:24:10]copy_file copied 831 bytes
[20:24:10]WIFI_EVENT_STA_START
[20:24:10]WiFi connect attempt to SSID "redacted"
[20:24:10]esp_wifi_connect returned 0
[20:24:10]disk UNMOUNT
[20:24:10]disk MOUNT
[20:24:10]ATR MOUNT
[20:24:10]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[20:24:10]Creating a default printer using FS_SDFAT storage and type 1
[20:24:10]SSH client initialized.
[20:24:10]ModemSniffer::ModemSniffer(FS_SDFAT)
[20:24:10]SIO SETUP
[20:24:10]Set HSIO baud from 0 to 67431 (index 6), alt=68209
[20:24:10]Available heap: 4167291
[20:24:10]Setup complete @ 597 (592ms)
[20:24:12]WIFI_EVENT_STA_CONNECTED
[20:24:13]IP_EVENT_STA_GOT_IP
[20:24:13]Obtained IP address: x.x.x.x
[20:24:13]SNTP client start
[20:24:13]Starting web server on port 80
[20:24:15]SNTP time sync event: Mon Dec 27, 20:24:15 2021 -0600

 

Result: FujiNet boots normally and connects to WiFi without issue.  Yar's Strike, APOD, and bocianu's weather forecast worked fine (again).  No noticeable problems.

Link to comment
Share on other sites

4 minutes ago, 8bitbill said:

Got it.

 

I put the commented code back the way it was (uncommented).

I re-built and uploaded the flash and then did the Upload Filesystem Image as well.

And now it's working!  Scanned my wi-fi successfully and saw the AP and I connected.

 

Thank you sir!

Am very glad. :) Thank you so much for being patient. :)

 

-Thom

  • Like 1
Link to comment
Share on other sites

Doing a long press on button A does not appear to enable SIO2BT mode - no action is called after the press is registered, and none of the devices I've got sitting here looking for the FujiNet's Bluetooth adapter see it.  This is affecting both the 1.0 and 1.3 hardware.

 

FujiNet 1.0:

 

Spoiler

Using '/dev/cu.usbserial-14410' as serial port.
Showing logs:
[00:14:27][00:14:27]
[00:14:27]--~--~--~--
[00:14:27]FujiNet 0.5.cec57d6a 2021-12-11 17:57:01 Started @ 5
[00:14:27]Starting heap: 4375827
[00:14:27]Detected Hardware Version: 1.0
[00:14:28]SPIFFS mounted.
[00:14:28]SD mounted.
[00:14:28]fnConfig::load
[00:14:28]Load fnconfig.ini from SD
[00:14:28]fnConfig::load read 883 bytes from config file
[00:14:28]SPIFFS Config Storage: Enabled
[00:14:28]fnConfig::load read 883 bytes from SPIFFS config file
[00:14:28]WIFI_EVENT_STA_START
[00:14:28]WiFi connect attempt to SSID "segfault_acres"
[00:14:28]esp_wifi_connect returned 0
[00:14:28]disk UNMOUNT
[00:14:28]disk MOUNT
[00:14:28]ATR MOUNT
[00:14:28]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[00:14:28]Creating a default printer using FS_SDFAT storage and type 2
[00:14:28]SSH client initialized.
[00:14:28]ModemSniffer::ModemSniffer(FS_SDFAT)
[00:14:28]SIO SETUP
[00:14:28]Set HSIO baud from 0 to 67431 (index 6), alt=68209
[00:14:28]Available heap: 4166379
[00:14:28]Setup complete @ 633 (628ms)
[00:14:28]WIFI_EVENT_STA_CONNECTED
[00:14:29]IP_EVENT_STA_GOT_IP
[00:14:29]Obtained IP address: 10.1.10.113
[00:14:29]SNTP client start
[00:14:29]Starting web server on port 80
[00:14:31]SNTP time sync event: Tue Dec 28, 00:14:31 2021 -0600
[00:14:33]BUTTON_A: SHORT PRESS
[00:14:34]ACTION: Send image_rotate message to SIO queue
[00:14:34]Fuji cmd: IMAGE ROTATE
[00:14:37]BUTTON_A: LONG PRESS
[00:14:41]BUTTON_A: SHORT PRESS
[00:14:41]ACTION: Send image_rotate message to SIO queue
[00:14:42]Fuji cmd: IMAGE ROTATE
[00:14:47][00:14:47]

 

 

FujiNet 1.3:

 

Spoiler

Using '/dev/cu.usbserial-14410' as serial port.
Showing logs:
[23:59:43][23:59:43]
[23:59:43]--~--~--~--
[23:59:43]FujiNet 0.5.1a042314 2021-12-27 23:17:47 Started @ 5
[23:59:43]Starting heap: 4376047
[23:59:43]Detected Hardware Version: 1.1-1.5
[23:59:43]Enabled Safe Reset Button C
[23:59:43]SPIFFS mounted.
[23:59:44]SD mounted.
[23:59:44]fnConfig::load
[23:59:44]Load fnconfig.ini from SD
[23:59:44]fnConfig::load read 832 bytes from config file
[23:59:44]SPIFFS Config Storage: Enabled
[23:59:44]fnConfig::load read 832 bytes from SPIFFS config file
[23:59:44]WiFiManager::start() complete
[23:59:44]WIFI_EVENT_STA_START
[23:59:44]WiFi connect attempt to SSID "redacted"
[23:59:44]esp_wifi_connect returned 0
[23:59:44]disk UNMOUNT
[23:59:44]disk MOUNT
[23:59:44]ATR MOUNT
[23:59:44]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[23:59:44]Creating a default printer using FS_SDFAT storage and type 1
[23:59:44]SSH client initialized.
[23:59:44]ModemSniffer::ModemSniffer(FS_SDFAT)
[23:59:44]SIO SETUP
[23:59:44]Set HSIO baud from 0 to 67431 (index 6), alt=68209
[23:59:44]Available heap: 4166475
[23:59:44]Setup complete @ 493 (488ms)
[23:59:44]WIFI_EVENT_STA_CONNECTED
[23:59:45]IP_EVENT_STA_GOT_IP
[23:59:45]Obtained IP address: x.x.x.x
[23:59:45]SNTP client start
[23:59:45]Starting web server on port 80
[23:59:46]SNTP time sync event: Mon Dec 27, 23:59:46 2021 -0600
[23:59:55]BUTTON_A: SHORT PRESS
[23:59:55]ACTION: Send image_rotate message to SIO queue
[23:59:55]Fuji cmd: IMAGE ROTATE
[23:59:59]BUTTON_A: LONG PRESS
[00:00:17]BUTTON_A: SHORT PRESS
[00:00:18]ACTION: Send image_rotate message to SIO queue
[00:00:18]Fuji cmd: IMAGE ROTATE
[00:00:24]BUTTON_A: LONG PRESS
[00:00:33]BUTTON_C: SHORT PRESS
[00:00:33]ACTION: Reboot

 

There is one difference in the logs that stood out: on both FujiNets, a short press on button C causes a reboot (as expected).  However, only the 1.3 FujiNet logs the button press: on the 1.0 unit, the logs only show the double timestamp from when logging restarts.

 

FWIW, the 1.3 is a 'fixed' 1.3.

Link to comment
Share on other sites

8 hours ago, x=usr(1536) said:

Doing a long press on button A does not appear to enable SIO2BT mode

Bluetooth is now disabled due to the BT stack getting larger and larger. All attempts have failed to reduce it's memory footprint in the newer toolchain.

8 hours ago, x=usr(1536) said:

There is one difference in the logs that stood out: on both FujiNets, a short press on button C causes a reboot (as expected).  However, only the 1.3 FujiNet logs the button press: on the 1.0 unit, the logs only show the double timestamp from when logging restarts

FujiNet 1.0 has button C tied to the esp32 hard reset so you will not see a message in the debug output. Every hardware version after has button C tied to a gpio instead so we can properly unmount things before reset.

 

1 hour ago, tsom said:

curious if my debug output helped figure what could be my unplugged booting issue? Anything else I can give to help?

I missed your post which is interesting due to the hardware difference. Your debug output lacks Fujinet startup boot message. Plug in the Fujinet USB, run the flash tool, then reset Fujinet to get it's bootup messages. Please use the Spoiler box when posting loooonnnggg debug output so scrolling the thread is a little easier.

  • Like 1
Link to comment
Share on other sites

On 12/28/2021 at 9:26 AM, mozzwald said:

I missed your post which is interesting due to the hardware difference. Your debug output lacks Fujinet startup boot message. Plug in the Fujinet USB, run the flash tool, then reset Fujinet to get it's bootup messages. Please use the Spoiler box when posting loooonnnggg debug output so scrolling the thread is a little easier.

Here is from my v1.0 unit:

 

Spoiler

Using '/dev/cu.usbserial-10' as serial port.
Showing logs:
Serial port closed!
Serial port closed!
[13:38:16][13:38:16]
[13:38:16]--~--~--~--
[13:38:16]FujiNet 0.5.53154ca4 2021-12-31 04:44:08 Started @ 5
[13:38:16]Starting heap: 4376047
[13:38:16]Detected Hardware Version: 1.0
[13:38:16]SPIFFS mounted.
[13:38:16]SD mounted.
[13:38:16]fnConfig::load
[13:38:16]Load fnconfig.ini from SD
[13:38:16]fnConfig::load read 756 bytes from config file
[13:38:16]SPIFFS Config Storage: Enabled
[13:38:16]fnConfig::load read 756 bytes from SPIFFS config file
[13:38:16]WiFiManager::start() complete
[13:38:16]WIFI_EVENT_STA_START
[13:38:16]WiFi connect attempt to SSID "Salem"
[13:38:16]esp_wifi_connect returned 0
[13:38:16]disk UNMOUNT
[13:38:17]disk MOUNT
[13:38:17]ATR MOUNT
[13:38:17]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[13:38:17]Creating a default printer using FS_SDFAT storage and type 12
[13:38:17]SSH client initialized.
[13:38:17]ModemSniffer::ModemSniffer(FS_SDFAT)
[13:38:17]SIO SETUP
[13:38:17]Set HSIO baud from 0 to 67431 (index 6), alt=68209
[13:38:17]Available heap: 4161671
[13:38:17]Setup complete @ 1322 (1317ms)
[13:38:18]WIFI_EVENT_STA_CONNECTED
[13:38:20]IP_EVENT_STA_GOT_IP
[13:38:20]Obtained IP address: 192.168.7.158
[13:38:20]SNTP client start
[13:38:20]Starting web server on port 80
[13:38:24]SNTP time sync event: Sun Jan  2, 13:38:24 2022 -0500
 

 

And here is my V1.3(fixed) version:

Spoiler

Using '/dev/cu.usbserial-10' as serial port.
Showing logs:
[13:42:25]N_C:SHR RSACTION: Reboot
[13:42:25]Shutting down device 5a
[13:42:25]Shutting down device 43
[13:42:25]N_C:SHR RSACTION: Reboot
[13:42:25]BUTTO OTPES
[13:42:25]Shutting down device 50
[13:42:25]Shuin device
[13:42:25] 99
[13:42:25]ttng dow 40Shutting down deviceShutting down deice5
[13:42:25]v 4Shutt down device 70
[13:42:25]NT
[13:42:25]UNMOU
[13:42:25]ingdisk UNMOUdisk NTdT
[13:42:25]isk UNMOUNdisk UNMOUNT
[13:42:25]ingdisk UNMOUdisk NTdT
[13:42:25]isk UM
[13:42:25]dNOUNTdisk UNMOU
[13:42:25]dNOUNTdisk UNMOU
[13:42:25]NTdisk UNMOUNT
[13:42:25]disk UNT
[13:42:25]evf
[13:42:25]MOUNShutting down dice 5Shutting down 78
[13:42:25]tdevic7
[13:42:25]hing c6
[13:42:25] deviceShuting down e 7Sutt downdevie 7Shtingne5
[13:42:25]huttg dowc 74
[13:42:25]
[13:42:25]ut dow devic 7Sinn devieShutting down device 73Shutg  d 72
[13:42:25]tindowneviceShutting o device 
[13:42:25]dwn71Shuttin device 38
[13:42:25]ng dowShuttig down device 37
[13:42:25]n device 36
[13:42:25]5
[13:42:25]nShutting dowShutting down device 3S down device 34
[13:42:25]hutting down device 33
[13:42:25]hg doi
[13:42:25]huttingSSuttinwn devce 32tn device 31
[13:42:25] down.
[13:42:25]I_EVSCONCTD
[13:42:25]Shuting dowAll devices shutWIFENT_STA_DINEEStopping web servic
[13:42:25]Shuting dowAll devices shutWIFENT_STA_DINEEStopping web servic
Serial port closed!
[13:42:25]Shutdown handler called
[13:42:26][13:42:26]
[13:42:26]--~--~--~--
[13:42:26]FujiNet 0.5.53154ca4 2021-12-31 04:44:08 Started @ 5
[13:42:26]Starting heap: 4376047
[13:42:26]Detected Hardware Version: 1.1-1.5
[13:42:26]Enabled Safe Reset Button C
[13:42:26]SPIFFS mounted.
[13:42:26]SD mounted.
[13:42:26]fnConfig::load
[13:42:26]Load fnconfig.ini from SD
[13:42:26]fnConfig::load read 685 bytes from config file
[13:42:26]SPIFFS Config Storage: Enabled
[13:42:26]fnConfig::load read 685 bytes from SPIFFS config file
[13:42:26]WiFiManager::start() complete
[13:42:26]WIFI_EVENT_STA_START
[13:42:26]WiFi connect attempt to SSID "Salem"
[13:42:26]esp_wifi_connect returned 0
[13:42:26]disk UNMOUNT
[13:42:27]disk MOUNT
[13:42:27]ATR MOUNT
[13:42:27]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[13:42:27]Creating a default printer using FS_SDFAT storage and type 2
[13:42:27]SSH client initialized.
[13:42:27]ModemSniffer::ModemSniffer(FS_SDFAT)
[13:42:27]SIO SETUP
[13:42:27]Set HSIO baud from 0 to 67431 (index 6), alt=68209
[13:42:27]Available heap: 4164035
[13:42:27]Setup complete @ 1314 (1309ms)
[13:42:28]WIFI_EVENT_STA_CONNECTED
[13:42:29]IP_EVENT_STA_GOT_IP
[13:42:29]Obtained IP address: 192.168.7.159
[13:42:29]SNTP client start
[13:42:29]Starting web server on port 80
[13:42:32]SNTP time sync event: Sun Jan  2, 13:42:32 2022 -0500
 

 

Hope this can shed some light...

 

Link to comment
Share on other sites

As a test, I tried removing the SD card from the v1.0 version, to see what would happen. Not having the SD card inserted resulted in the unit booting up and ready in time for the computer to load the CONFIG program. So it seems something to do with the SD card. I'm going to try swapping SD cards from the v1.0 and the v1.3 to see what happens.

 

Update:

The problem did NOT follow the SD card. So something with loading the SD card on the v1.0 unit is causing the issue it seems...

Edited by tsom
Link to comment
Share on other sites

SD card access is slower for some reason, did you say 20 seconds to read the sd card? Did you try renaming the configs or deleting stored fujinet configs data to rule out it reading something messed up on the SD card, lastly make sure the SD cards file system isn't borked.

Link to comment
Share on other sites

20 minutes ago, _The Doctor__ said:

SD card access is slower for some reason, did you say 20 seconds to read the sd card? Did you try renaming the configs or deleting stored fujinet configs data to rule out it reading something messed up on the SD card, lastly make sure the SD cards file system isn't borked.

No, I didn't say anything about a 20 second read time.

 

I haven't tried changing anything on the SD cards. They both work just fine. And I would assume if something was borked on the card, moving it to the other FujiNet device would cause the problem to follow. I'll try clearing out the fujinet control file on it to see if that makes any difference. (I do see in both of the boot logs above, there is an about 100 byte difference in file size)

Link to comment
Share on other sites

53 minutes ago, tsom said:

As a test, I tried removing the SD card from the v1.0 version, to see what would happen. Not having the SD card inserted resulted in the unit booting up and ready in time for the computer to load the CONFIG program. So it seems something to do with the SD card. I'm going to try swapping SD cards from the v1.0 and the v1.3 to see what happens.

You could try removing the sd card, hold button B, press reset and wait for the FujiNet to boot. This will wipe the internal configuration also (which is copied from SD to internal storage at boot). Then try booting on the XE without power connected.

 

I see nothing fishy in the boot logs other than the fnconfig.ini size difference that you mentioned. That could just be the different host/drive slot configuration.

 

I have a 130XE and will try to replicate the issue.

Link to comment
Share on other sites

1 hour ago, mozzwald said:

I have a 130XE and will try to replicate the issue.

I tested both v1.0 and v1.6 hardware on my 130XE and was able to boot with both powered by SIO. BUT, the high speed loader was no longer high speed. The issue seems to be that the newer toolchain/sdk has (and will probably continue to) increased in size and slow down the bootup of FujiNet. I can't verify since I can't get debug output, but I suspect there are constant checksum errors causing FujiNet to switch speeds. I posted a short video of booting with and without external power.

 

I was able to build the firmware with 'release' instead of 'debug' and it worked fine. We will figure out the best route to take getting this fixed.

 

Thanks @tsom for the bug report!

  • Like 2
Link to comment
Share on other sites

2 hours ago, tsom said:

No, I didn't say anything about a 20 second read time.

 

I haven't tried changing anything on the SD cards. They both work just fine. And I would assume if something was borked on the card, moving it to the other FujiNet device would cause the problem to follow. I'll try clearing out the fujinet control file on it to see if that makes any difference. (I do see in both of the boot logs above, there is an about 100 byte difference in file size)

 

On 12/18/2021 at 4:17 PM, tsom said:

I just updated my Fujinet to the latest version, and I think I found an issue. This is running on a 130xe, so unlike running on an 800, it shouldn't (and didn't before) need external power to start up. Now, if it's unplugged and I turn on the 130xe, it boots straight to Basic. The white LED takes several seconds (20ish) to turn on, long after the computer has booted.

 

this is where the 20 second thought came from

It looks like it is indeed a high speed i/o issue in conjunction with whatever else is going on, Mozzwald verified some of it. He's responded and posted a video.

Edited by _The Doctor__
Link to comment
Share on other sites

@tsom I have provided a ZIP file with custom firmware. Would you be able to flash it with the following instructions and report back if it makes a difference?

 

Quote

Download https://github.com/espressif/esptool

 

For linux/mac the port should be the path to the FujiNet serial port. For windows use the FujiNet COM port.

 

Run from command line:

python3 esptool.py --chip esp32 --port "/PATH/TO/YOUR/FUJINET/SERIAL/PORT" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin 0xc10000 spiffs.bin

 

fujinet-fw-20220102-release.zip

Edited by mozzwald
add the file
Link to comment
Share on other sites

22 hours ago, mozzwald said:

You could try removing the sd card, hold button B, press reset and wait for the FujiNet to boot. This will wipe the internal configuration also (which is copied from SD to internal storage at boot). Then try booting on the XE without power connected.

 

I see nothing fishy in the boot logs other than the fnconfig.ini size difference that you mentioned. That could just be the different host/drive slot configuration.

 

I have a 130XE and will try to replicate the issue.

Nope, that didn't help. Going to try to flash the custom version now.

Link to comment
Share on other sites

17 hours ago, mozzwald said:

@tsom I have provided a ZIP file with custom firmware. Would you be able to flash it with the following instructions and report back if it makes a difference?

 

 

fujinet-fw-20220102-release.zip 1.61 MB · 1 download

This didn't seem to work either. Just to verify, I'm seeing version 0.5.76a2af1a in CONFIG on the device (after booting while plugged in)

Link to comment
Share on other sites

6 hours ago, tsom said:

This didn't seem to work either.

Looks like I jumped to conclusions too quickly. After more testing it seems to be an intermittent issue I see with the slow loading and it also occurs with external power and multiple different FujiNet versions. Maybe there's a hardware issue with my XE. The issue is not present on my 800XL.

Link to comment
Share on other sites

1 hour ago, mozzwald said:

Looks like I jumped to conclusions too quickly. After more testing it seems to be an intermittent issue I see with the slow loading and it also occurs with external power and multiple different FujiNet versions. Maybe there's a hardware issue with my XE. The issue is not present on my 800XL.

Is there a 74F08 in the 800XL?

 

Grasping at straws with this one, but it's not completely dissimilar to occasional behaviour that I saw with my 1200XL and FujiNet prior to replacing the 74LS08.

Link to comment
Share on other sites

8 hours ago, _The Doctor__ said:

does the XE have the speed limiting caps snipped off the SIO port... that's a basic issue for some as you can forget about it when you get a machine and realize it later on.

I've not done any mods to it, and as far as I know none were done to it.

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...