Jump to content
IGNORED

First successful boot of #Apple2 #FujiNet!!!


tschak909

Recommended Posts

I think it's been figured out, sorta.  Firstly, I wasn't aware I needed an SD card installed (I don't have them installed in my ADAM and Atari FN's so didn't consider it here!).  With that identified, based on the Discord chat it looks like ROM03 units are garbling writes to SD cards.  I also have a ROM01 in storage and will probably make a temporary swap to get it working, but I'm happy to help troubleshoot any issues with ROM03 machines.  (I'm no programmer though -- this is all beautiful magic to me.)

 

Cheers!

  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...
On 12/12/2022 at 8:03 PM, potatohead said:

I am interested as well.  Platinum NTSC machine.

Just to make sure, do you have a Liron or Yellowstone drive card for your platinum IIe?  This will not work with the regular DB19 5.25 drive card that was probably installed in almost every platinum IIe machine at the time.  Just want to make sure you don't wind up with buyers remorse.  :)

Link to comment
Share on other sites

Is anybody else having trouble with their FujiApple? I got mine in the mail yesterday, plugged it into the back of my ROM 03, couldn't get anything. Also swapped it over to my //c+ and still nothing. Contacted Antonio who tried to help but really couldn't and suggested I contact mozzwald. So I contacted him, he suggested I try to flash the firmware and barring that get on the Discord page.

 

Tried flashing nothing happened. Posted on Discord last night and have been on there now since 10:30 (central time) trying to get things worked out to be able to use the FujiApple. Finally got the firmware flashed after it was discovered that I need the serial to usb from here:

 

http://www.wch-ic.com/downloads/CH341SER_MAC_ZIP.html#carousel-example-generic

 

because the FujiApple uses this chip: WEMOS LOLIN D32 Pro and not this: the CP2102N

Got it flashed and it still won't cooperate. Can't get it to connect to my router, even though the config.ini shows the router and password. So can't get online, which really isn't that big a deal to me. The bigger problem is being unable to get sonething as simple as the Total Replay.HDV to run. It's ben a long frustrating day and it continues over on Discord.

Link to comment
Share on other sites

So was there anything special you needed to do to get it to run on the ROM 01? It won't connect to my router, even though it has the the information in the config.ini, which really doesn't materr that much. Are you able to run games that you have copies to the Micro-SD card? I can't get that to work either. Any help will be appreciated.

Link to comment
Share on other sites

8 hours ago, magnusfalkirk said:

So was there anything special you needed to do to get it to run on the ROM 01? It won't connect to my router, even though it has the the information in the config.ini, which really doesn't materr that much. Are you able to run games that you have copies to the Micro-SD card? I can't get that to work either. Any help will be appreciated.

Your board is acting very strange, and we REALLY need to get debugging info from it to see what could be happening.

 

The board you have will not run at the baud rate we use for the monitor (921600), so one of two things will need to happen:

 

(1) You'll need to build a new firmware using the board bring-up instructions we have on our wiki, to run at 460800 baud, or

(2) we will need to both build a new firmware, and a new fujinet flasher. The changes have been made to both, and need to be deployed.

 

-Thom

-Thom

 

Link to comment
Share on other sites

9 hours ago, magnusfalkirk said:

So was there anything special you needed to do to get it to run on the ROM 01? It won't connect to my router, even though it has the the information in the config.ini, which really doesn't materr that much. Are you able to run games that you have copies to the Micro-SD card? I can't get that to work either. Any help will be appreciated.

Nothing -- once I understood the ROM03 issue and switched computers, it came up fine, found my access point, and has been more or less quite stable.  I've been able to use the flasher utility without issue.  Very weird!

Link to comment
Share on other sites

23 hours ago, magnusfalkirk said:

mozzwald also suggested I could do a new build of the firmware or just wait for him to be able to do it. I said I'd wait for him to do it. 

There is a new FujiApple build available that uses the lower 460800 baud. You need to get the latest FujiNet Flasher Beta from https://fujinet.online/firmware in the FujiNet-Flasher dir. The new Beta flasher is tagged as v1.4.0. Please test and report back on Discord so we can continue troubleshooting.

 

More details about the new flasher is in this thread:

 

Link to comment
Share on other sites

Downloaded the newerst version of the FujiFlasher and installed it on my Mac. Here is what it showed during nd after thw update:

 

Retrieving firmware
Downloading https://fujinet.online/firmware/releases_apple/fujinet-APPLE-0.5.7073bd03.zip
sha256 f8df98cd359cb29daf763efff614fe8ebbef2a7f75ee51efbbf67d8cb04f9a6c OK
Using '/dev/cu.usbserial-1420' as serial port.
Using '460800' as baud rate.
Starting firmware upgrade...
File 1: bootloader.bin, Offset: 0x1000
File 2: partitions.bin, Offset: 0x8000
File 3: firmware.bin, Offset: 0x10000
File 4: spiffs.bin, Offset: 0x600000
FujiNet Version: 0.5.7073bd03
Version Date: 2023-01-02 02:57:23
Git Commit: 7073bd03
Connecting...[22:48:37] ets Jul 29 2019 12:21:46
[22:48:37]
[22:48:37] rst:0x1 (POWERON_RESET),boot:0x5 (DOWNLOAD_BOOT(UART0/UART1/SDIO_FEI_REO_V2))
[22:48:37] waiting for download
.....[22:48:39] [22:48:39]
[22:48:39] rst:0x1 (POWERON_RESET),boot:0x5 (DOWNLOAD_BOOT(UART0/UART1/SDIO_FEI_REO_V2))
[22:48:39] waiting for download
___Serial port closed!
_

Chip Info:
 - Chip Family: ESP32
 - Chip Model: ESP32D0WDQ5 (revision 3)
 - Number of Cores: 2
 - Max CPU Frequency: 240MHz
 - Has Bluetooth: YES
 - Has Embedded Flash: NO
 - Has Factory-Calibrated ADC: YES
 - MAC Address: 90:38:0C:FB:1E:B4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Flash Size: 16384KB, SPIFFS Offset: 6144KB
 - Flash Mode: dio
 - Flash Frequency: 40MHz
Erasing flash (this may take a while)...
Chip erase completed successfully in 55.5s
Flash params set to 0x0240
Compressed 24672 bytes to 15478...
Writing at 0x00001000... (100 %)Wrote 24672 bytes (15478 compressed) at 0x00001000 in 0.4 seconds (effective 512.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 119...
Writing at 0x00008000... (100 %)Wrote 3072 bytes (119 compressed) at 0x00008000 in 0.0 seconds (effective 2608.1 kbit/s)...
Hash of data verified.
Compressed 1947744 bytes to 1107421...
Writing at 0x0011c000... (100 %)Wrote 1947744 bytes (1107421 compressed) at 0x00010000 in 28.6 seconds (effective 544.3 kbit/s)...
Hash of data verified.
Compressed 2097152 bytes to 689495...
Writing at 0x006a8000... (100 %)Wrote 2097152 bytes (689495 compressed) at 0x00600000 in 19.6 seconds (effective 854.5 kbit/s)...
Hash of data verified.

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

Showing logs:
[22:50:35]
[22:50:35]
[22:50:35] --~--~--~--
[22:50:35] FujiNet 0.5.7073bd03 2023-01-02 02:57:23 Started @ 5
[22:50:35] Starting heap: 4389467
[22:50:35] Detected Hardware Version: 1.6.1 and up
[22:50:35] Enabled Safe Reset Button C
[22:50:36] SPIFFS mounted.
[22:50:36] SD mounted.
[22:50:36] fnConfig::load
[22:50:36] Load fnconfig.ini from SD
[22:50:36] fopen = /fnconfig.ini : ok
[22:50:36] fnConfig::load read 930 bytes from config file
[22:50:36] SPIFFS Config Storage: Enabled
[22:50:36] fnConfig::load read 213 bytes from SPIFFS config file
[22:50:36] Copying SD config file to SPIFFS
[22:50:36] copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[22:50:36] fopen = /fnconfig.ini : ok
[22:50:36] copy_file copied 930 bytes
[22:50:36] SSH client initialized.
[22:50:36] ModemSniffer::ModemSniffer(FS_SDFAT)
[22:50:36] FNJSON::ctor()
[22:50:36] iwmNetwork::iwmNetwork()
[22:50:36] Config General Boot Mode: 0
[22:50:36] disk MOUNT /autorun.po
[22:50:36]
[22:50:36] Media Type PO
[22:50:36] IWM FujiNet based on SmartportSD v1.15
[22:50:36]
[22:50:36] FujiNet Hardware timer started
[22:50:36] SPI configured for smartport I/O
[22:50:36] IWM GPIO configuredAvailable heap: 4290015
[22:50:36] Setup complete @ 461 (456ms)
[22:50:36] WiFiManager::start() complete
[22:50:36] WIFI_EVENT_STA_START
[22:50:36] WiFi connect attempt to SSID "WIN_002099"
[22:50:36] esp_wifi_connect returned 0
[22:50:37] WIFI_EVENT_STA_CONNECTED
[22:50:37] IP_EVENT_STA_GOT_IP
[22:50:37] Obtained IP address: 192.168.254.83
[22:50:37] SNTP client start
[22:50:37] Starting web server on port 80
[22:50:39] SNTP time sync event: Wed Jan  4, 04:50:39 2023 +0000
Serial port closed!

 

It showe the serial port closed when I unplugged the FujiApple from the computer.

Here is what it shows for the Serial Log Ouput after unsuccessfully trying to get it to work with my ROM 01 GS:

 

Using '/dev/cu.usbserial-1420' as serial port.
Using '460800' as baud rate.
Showing logs:

 

 

Absolutely nothing!

 

Link to comment
Share on other sites

Okay follwed the instructions on the page you linked to. Here is the output from the Serial Debug Output.

 

Spoiler

Using '/dev/cu.usbserial-1420' as serial port.
Using '460800' as baud rate.
Showing logs:
[13:17:45] TTON_PRES
[13:17:45] BUC: SHORT SACTION: Rebo
[13:17:45] own de 00
[13:17:45] hutgown vic00
[13:17:45] idonevc00
[13:17:45] tndo evic 0
[13:17:45] otShutting devicStin ddee Shuttng w die Shutig wnde0Shuttinwev 0
[13:17:45] g don dice0Shutting down device 00
[13:17:45] Shutinowve0
[13:17:45] tg dn deic 0Shutting dow ic 0
[13:17:45] ndeve0All devies shu dow.
[13:17:45] IFIVNT_STA_SCNNETD
[13:17:45] inw serve
[13:17:45] Sh handlled
[13:17:45] tting dvce 0
[13:17:45] ingndvic 00
[13:17:45] gowdev 00
[13:17:45] ctnW_EEDIOCEStoppg ebicutdowner calShu downei0Shutt dow eeShuttin dn iceShutting down devi0
[13:17:45] ce 0Shutg do eve00
[13:17:45] tinwndic Shutting w devce
[13:17:45] htng dowevice 0
[13:17:45] doni00Sutin d0Shutngo dece 0
[13:17:45] s shutn
Serial port closed!
[13:17:46]
[13:17:46]
[13:17:46] --~--~--~--
[13:17:46] FujiNet 0.5.7073bd03 2023-01-02 02:57:23 Started @ 5
[13:17:46] Starting heap: 4389467
[13:17:46] Detected Hardware Version: 1.6.1 and up
[13:17:46] Enabled Safe Reset Button C
[13:17:46] SPIFFS mounted.
[13:17:46] SD mounted.
[13:17:46] fnConfig::load
[13:17:46] Load fnconfig.ini from SD
[13:17:46] fopen = /fnconfig.ini : ok
[13:17:46] fnConfig::load read 941 bytes from config file
[13:17:46] SPIFFS Config Storage: Enabled
[13:17:46] fnConfig::load read 941 bytes from SPIFFS config file
[13:17:46] SSH client initialized.
[13:17:46] ModemSniffer::ModemSniffer(FS_SDFAT)
[13:17:46] FNJSON::ctor()
[13:17:46] iwmNetwork::iwmNetwork()
[13:17:46] Config General Boot Mode: 0
[13:17:46] disk MOUNT /autorun.po
[13:17:46]
[13:17:46] Media Type PO
[13:17:46] IWM FujiNet based on SmartportSD v1.15
[13:17:46]
[13:17:46] FujiNet Hardware timer started
[13:17:46] SPI configured for smartport I/O
[13:17:46] IWM GPIO configuredAvailable heap: 4290323
[13:17:46] Setup complete @ 380 (375ms)
[13:17:46] WiFiManager::start() complete
[13:17:46] WIFI_EVENT_STA_START
[13:17:46] WiFi connect attempt to SSID "WIN_002099"
[13:17:46] esp_wifi_connect returned 0
[13:17:46] WIFI_EVENT_STA_CONNECTED
[13:17:47] IP_EVENT_STA_GOT_IP
[13:17:47] Obtained IP address: 192.168.254.83
[13:17:47] SNTP client start
[13:17:47] Starting web server on port 80
[13:17:51] SNTP time sync event: Wed Jan  4, 19:17:51 2023 +0000

 

 

Link to comment
Share on other sites

8 minutes ago, magnusfalkirk said:

Okay follwed the instructions on the page you linked to. Here is the output from the Serial Debug Output.

You also need to have the fujiapple connected to your Apple II and reproduce the issue you are having there so that we can get the debug output when the problem occurs.

Link to comment
Share on other sites

okay, so here iswhat I got for Serial Debug Output with the FujiApple pluggd into the IIGS and the microusb still plugged in. I have

Spoiler

Using '/dev/cu.usbserial-1420' as serial port.
Using '460800' as baud rate.
Showing logs:
[14:02:13] TON_C:RSS
[14:02:13] :Rot
[14:02:13] o  0
[14:02:13] down device00
[14:02:13] BUT SHOT PREACTION eboShutting dwndevice0Shutting  Shutting down dice 00
[14:02:13] g down deie
[14:02:13] evShuttinvc00Shutndevc0
[14:02:13] tngodece00
[14:02:13] tig down ie 0Shuti dwn vi Shuttingon 0
[14:02:13] ti wic
[14:02:13] devehu d
[14:02:13]  dw device0Shutngdon deve 00All ics stown.WIFIENT_STSNCD
[14:02:13] _EVA_DICONETEStopping we service
[14:02:13] bhutdown hlerl
[14:02:13] Sand caledShutting downe
[14:02:13]  devic00Shuttid dee0
[14:02:13] Shug down dce0
[14:02:13] tnonvice 0
[14:02:13] downevic0
[14:02:13] ng ownvic 0ttinevi 0Shutig dw de0Shutting  de 0Shutting ddev00
[14:02:13] uttinw eic
[14:02:13] own ice Shg dondve 00Shg dwn dvie 0
[14:02:13] evcssu on
Serial port closed!
[14:02:13] evcssu on
[14:02:14]
[14:02:14]
[14:02:14] --~--~--~--
[14:02:14] FujiNet 0.5.7073bd03 2023-01-02 02:57:23 Started @ 5
[14:02:14] Starting heap: 4389467
[14:02:14] Detected Hardware Version: 1.6.1 and up
[14:02:14] Enabled Safe Reset Button C
[14:02:14] SPIFFS mounted.
[14:02:14] SD mounted.
[14:02:14] fnConfig::load
[14:02:14] Load fnconfig.ini from SD
[14:02:14] fopen = /fnconfig.ini : ok
[14:02:14] fnConfig::load read 941 bytes from config file
[14:02:14] SPIFFS Config Storage: Enabled
[14:02:14] fnConfig::load read 941 bytes from SPIFFS config file
[14:02:14] SSH client initialized.
[14:02:14] ModemSniffer::ModemSniffer(FS_SDFAT)
[14:02:14] FNJSON::ctor()
[14:02:14] iwmNetwork::iwmNetwork()
[14:02:14] Config General Boot Mode: 0
[14:02:14] disk MOUNT /autorun.po
[14:02:14]
[14:02:14] Media Type PO
[14:02:14] IWM FujiNet based on SmartportSD v1.15
[14:02:14]
[14:02:14] FujiNet Hardware timer started
[14:02:14] SPI configured for smartport I/O
[14:02:14] IWM GPIO configuredAvailable heap: 4290323
[14:02:14] Setup complete @ 380 (375ms)
[14:02:15] WiFiManager::start() complete
Serial port closed!

 

one question, why couldn't you have mentioned doing the Serial Debug Output while it was still plugged into the GS on either Sat or Sun?

Link to comment
Share on other sites

1 hour ago, magnusfalkirk said:

okay, so here iswhat I got for Serial Debug Output with the FujiApple pluggd into the IIGS and the microusb still plugged in. I have

  Hide contents

Using '/dev/cu.usbserial-1420' as serial port.
Using '460800' as baud rate.
Showing logs:
[14:02:13] TON_C:RSS
[14:02:13] :Rot
[14:02:13] o  0
[14:02:13] down device00
[14:02:13] BUT SHOT PREACTION eboShutting dwndevice0Shutting  Shutting down dice 00
[14:02:13] g down deie
[14:02:13] evShuttinvc00Shutndevc0
[14:02:13] tngodece00
[14:02:13] tig down ie 0Shuti dwn vi Shuttingon 0
[14:02:13] ti wic
[14:02:13] devehu d
[14:02:13]  dw device0Shutngdon deve 00All ics stown.WIFIENT_STSNCD
[14:02:13] _EVA_DICONETEStopping we service
[14:02:13] bhutdown hlerl
[14:02:13] Sand caledShutting downe
[14:02:13]  devic00Shuttid dee0
[14:02:13] Shug down dce0
[14:02:13] tnonvice 0
[14:02:13] downevic0
[14:02:13] ng ownvic 0ttinevi 0Shutig dw de0Shutting  de 0Shutting ddev00
[14:02:13] uttinw eic
[14:02:13] own ice Shg dondve 00Shg dwn dvie 0
[14:02:13] evcssu on
Serial port closed!
[14:02:13] evcssu on
[14:02:14]
[14:02:14]
[14:02:14] --~--~--~--
[14:02:14] FujiNet 0.5.7073bd03 2023-01-02 02:57:23 Started @ 5
[14:02:14] Starting heap: 4389467
[14:02:14] Detected Hardware Version: 1.6.1 and up
[14:02:14] Enabled Safe Reset Button C
[14:02:14] SPIFFS mounted.
[14:02:14] SD mounted.
[14:02:14] fnConfig::load
[14:02:14] Load fnconfig.ini from SD
[14:02:14] fopen = /fnconfig.ini : ok
[14:02:14] fnConfig::load read 941 bytes from config file
[14:02:14] SPIFFS Config Storage: Enabled
[14:02:14] fnConfig::load read 941 bytes from SPIFFS config file
[14:02:14] SSH client initialized.
[14:02:14] ModemSniffer::ModemSniffer(FS_SDFAT)
[14:02:14] FNJSON::ctor()
[14:02:14] iwmNetwork::iwmNetwork()
[14:02:14] Config General Boot Mode: 0
[14:02:14] disk MOUNT /autorun.po
[14:02:14]
[14:02:14] Media Type PO
[14:02:14] IWM FujiNet based on SmartportSD v1.15
[14:02:14]
[14:02:14] FujiNet Hardware timer started
[14:02:14] SPI configured for smartport I/O
[14:02:14] IWM GPIO configuredAvailable heap: 4290323
[14:02:14] Setup complete @ 380 (375ms)
[14:02:15] WiFiManager::start() complete
Serial port closed!

 

one question, why couldn't you have mentioned doing the Serial Debug Output while it was still plugged into the GS on either Sat or Sun?

When the Apple is talking to the FujiNet, you'll see things like:

 

An init packet:

15:10:16.939 > 
15:10:16.939 > Reset Cleared
15:10:16.950 > f3 fc ff ff ff c3 82 80 80 80 80 82 81 80 85 82 a2 80 b4 80 84 80 b6 80 aa ea c8 cc 
15:10:16.950 > handling init command
15:10:16.950 > Sending INIT Response Packet...
15:10:16.952 > Drive: 82

 

or a block read packet 

15:11:52.869 > f3 fc ff ff ff c3 82 80 80 80 80 82 81 80 81 83 a2 80 dc 9b 80 80 dc 80 ba ee c8 ca 
15:11:52.869 > Decoding 9 bytes
15:11:52.869 > decode data checksum calc 98, packet 98
15:11:52.870 > 0000: 01 03 00 dc 1b 00 00 dc 00                      -................
15:11:52.871 > 
15:11:52.871 > handling read block command
15:11:52.871 > Drive 82  Read block 00001b tnfs_lseek currpos=1536, pos=0, typ=0
15:11:52.872 > _tnfs_cache_seek current=1536, destination=0, cache_start=1024, cache_end=1536
15:11:52.874 > _tnfs_cache_seek outside cached region
15:11:52.879 > tnfs_lseek success, new pos=0, response pos=0
15:11:52.885 > tnfs_lseek currpos=128, pos=0, typ=0
15:11:52.885 > _tnfs_cache_seek current=128, destination=0, cache_start=0, cache_end=512
15:11:52.886 > _tnfs_cache_seek within cached region
15:11:52.886 > tnfs_lseek currpos=0, pos=13824, typ=0
15:11:52.886 > _tnfs_cache_seek current=0, destination=13824, cache_start=0, cache_end=512
15:11:52.889 > _tnfs_cache_seek outside cached region
15:11:52.893 > tnfs_lseek success, new pos=13824, response pos=13824
15:11:52.901 > 
15:11:52.901 > sending block packet ...


 

Link to comment
Share on other sites

1 hour ago, magnusfalkirk said:

okay, so here iswhat I got for Serial Debug Output with the FujiApple pluggd into the IIGS and the microusb still plugged in. I have

 

1 hour ago, magnusfalkirk said:

one question, why couldn't you have mentioned doing the Serial Debug Output while it was still plugged into the GS on either Sat or Sun?

Clearly there is a communication problem here. The entire point of everything done up to now has been to capture debug output from FujiNet WHILE you are using it on the APPLE II. Every command sent to and from FujiNet is spit out on the serial debug monitor. This is the information we need to troubleshoot your issue.

 

Please follow the directions on the wiki, exactly, notably the bold text below:

  • Connect FujiNet to a computer with a MicroUSB cable
  • Run Fujinet-Flasher and select the the correct port used by Fujinet (ie, COM3 on Windows, /dev/ttyUSB0 on linux)
  • Click the Serial Debug Output button in Fujinet-Flasher
  • Press the RESET button on the FujiNet device (Button C, far right)
  • Debug information will appear in the Fujinet-Flasher window
  • Reproduce your problem with FujiNet then select all (CTRL-A) text in the box and copy it (CTRL-C)
  • Paste the debug output to the developer requesting this information
    • If using AtariAge forum, paste the information into a Spoiler box so the debug output does not fill up the thread
    • Optionally, use a paste site such as Pastebin

Perhaps the bold line needs reworded. Suggestions welcome.

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