teiram / dandanator-cpc

Romset generator for the Dandanator CPC Version
4 stars 1 forks source link

Exception Whilst Trying to Write Recovery ROM - macOS #2

Closed muckypaws closed 3 years ago

muckypaws commented 3 years ago

When trying to write via USB the following exception occurs.

Using Catalina, Java Version

java version "1.8.0_251" Java(TM) SE Runtime Environment (build 1.8.0_251-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode) jason@Jasons-iMac ~ %

Please advise.

Kind Regards

94292 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Turbo Speed block[leaderLength=2340, sync1Length=1190, sync2Length=1190, zeroLength=1187, oneLength=2375, leaderPulses=4096, bitsLastByte=8, endBlockPause=2000ms, currentBlockLength=263, tapePosition=304] 97774 [JavaFX Application Thread] DEBUG EepromWriterController - Got rescue eewriter of size 4101 97779 [JavaFX Application Thread] ERROR EepromWriterController - Preparing Data Producer java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.sendUsbRescue(EepromWriterController.java:223) at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$9(EepromWriterController.java:368) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Node.fireEvent(Node.java:8411) at javafx.scene.control.Button.fire(Button.java:185) at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182) at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96) at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89) at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:432) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:410) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:937)

teiram commented 3 years ago

I think the issue is that you didn't set any serial port in the preferences. As improvement the USB send button should be disabled in that case. Will have it in mind for future releases. Try to go to the settings and in the Loader tab choose the serial port that matches your connected dandanator: image

Once the serial port is set, you should be able to use the USB send functionality. Take into account that no action is needed to upload a standard romset. The procedure is controlled by the CPC computer.

muckypaws commented 3 years ago

Hey Manuel,

in this instance the serial port was set and checked.

On V2.4 I’m unable to flash the rom. V2.3 gets as far as the first block but more often than not 2.3 crashes when switching to the eeprom screen.

Sent from my iPhone

On 29 Jun 2021, at 19:13, Manuel Teira @.***> wrote:

 I think the issue is that you didn't set any serial port in the preferences. As improvement the USB send button should be disabled in that case. Will have it in mind for future releases. Try to go to the settings and in the Loader tab choose the serial port that matches your connected dandanator:

Once the serial port is set, you should be able to use the USB send functionality. Take into account that no action is needed to upload a standard romset. The procedure is controlled by the CPC computer.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

teiram commented 3 years ago

That is weird. The only reason for the application to crash at that point is that the serial port is not defined. Take into account that the serial port is opened/closed when you enter/leave the eeprom screen, so don't leave that screen while the programming is taking place. The procedure to upload a new romset should be:

muckypaws commented 3 years ago

That's the issue I'm facing, on v2.4 the Dandanator doesn't seem to recognise the first block and crashes. On 2.3 it writes the first block but then sits in a holding state.

I'll try and do a screen cap to show what is happening.

2.4 Doesn't want to flash on Windows 10 or macOS.

muckypaws commented 3 years ago

Video of issue: https://drive.google.com/file/d/1ze5KFTkn5Pem-ru_h11fJLk0gPpFPglB/view?usp=sharing

75855 [RomGenerator executor service] DEBUG GameMapperV2 - Game generated as SnapshotGame{gameType=RAM128, name=Spellbound Dizzy, holdScreen=true, compressed=true, hardwareMode=HW_CPC6128, gameHeader=GameHeader{snapshotVersion=0, afRegister=0x0043, bcRegister=0xc481, deRegister=0x0004, hlRegister=0x63bb, ixRegister=0x7951, iyRegister=0x0000, iRegister=0x00, rRegister=0x56, pc=0xff40, sp=0xff95, iff0=0, interruptMode=1, altAfRegister=0x7e69, altBcRegister=0xf510, altDeRegister=0x1e45, altHlRegister=0xbb20, gateArraySelectedPen=16, gateArrayCurrentPalette=[0x14 0x0E 0x0C 0x0B 0x0B 0x14 0x15 0x0D 0x06 0x1E 0x1F 0x07 0x12 0x19 0x0A 0x07 0x0A ], gateArrayMultiConfiguration=0x8d, currentRamConfiguration=0xc7, crtcSelectedRegisterIndex=13, crtcRegisterData=[0x3F 0x20 0x2A 0x8E 0x26 0x00 0x18 0x1E 0x00 0x07 0x00 0x00 0x30 0x00 0xC0 0x00 ], currentRomSelection=0, ppiPortA=0x3f, ppiPortB=0xbe, ppiPortC=0x10, ppiControlPort=0x82, psgSelectedRegisterIndex=7, psgRegisterData=[0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3F 0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0x00 ], memoryDumpSize=128, cpcType=2, fddMotorDriveState=0}} 76089 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 62499 , total size: 507904 76089 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.12305278162802419 76090 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 62499 , total size: 507904 76097 [JavaFX Application Thread] DEBUG GameUtil - Used size is 102 from 3170 76097 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 76097 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 76097 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 76337 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 94186 , total size: 507904 76337 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.18544055569556453 76337 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 94186 , total size: 507904 76338 [JavaFX Application Thread] DEBUG GameUtil - Used size is 158 from 3170 76338 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 76338 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 76338 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 76599 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 120621 , total size: 507904 76599 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.23748779296875 76599 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 120621 , total size: 507904 76600 [JavaFX Application Thread] DEBUG GameUtil - Used size is 158 from 3170 76600 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 76600 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 76600 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 76848 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 140094 , total size: 507904 76848 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.2758277154737903 76848 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 140094 , total size: 507904 76849 [JavaFX Application Thread] DEBUG GameUtil - Used size is 158 from 3170 76849 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 76849 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 76849 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 77103 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 162508 , total size: 507904 77104 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.3199581023185484 77104 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 162508 , total size: 507904 77105 [JavaFX Application Thread] DEBUG GameUtil - Used size is 214 from 3170 77105 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 77105 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 77105 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 77362 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 229908 , total size: 507904 77362 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.45266034526209675 77362 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 229908 , total size: 507904 77373 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Asking for record with remaining 39 77375 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Asking for record with remaining 39 77375 [JavaFX Application Thread] DEBUG BinaryRecordIterator - segments 1, dataLength 39, currentRecord 0 77375 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Writing segment with remaining 39 77375 [JavaFX Application Thread] DEBUG BinaryRecordIterator - CRC to position 257 77375 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Calculated CRC 0x87b7 77375 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Asking for record with remaining -2009 77380 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Found 3 blocks in tape 77383 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Block offsets are [0, 3, 285] 77383 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Pause or Stop the Tape block 77398 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Turbo Speed block[leaderLength=2340, sync1Length=1190, sync2Length=1190, zeroLength=1187, oneLength=2375, leaderPulses=4096, bitsLastByte=8, endBlockPause=14ms, currentBlockLength=263, tapePosition=22] 77405 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Turbo Speed block[leaderLength=2340, sync1Length=1190, sync2Length=1190, zeroLength=1187, oneLength=2375, leaderPulses=4096, bitsLastByte=8, endBlockPause=2000ms, currentBlockLength=263, tapePosition=304] 77437 [JavaFX Application Thread] DEBUG GameUtil - Used size is 242 from 3170 77437 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 77437 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 77437 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 77701 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 240823 , total size: 507904 77702 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.47415062689012094 77702 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 240823 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 77703 [JavaFX Application Thread] DEBUG GameUtil - Used size is 298 from 3170 77703 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 77703 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 77703 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 77977 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 263439 , total size: 507904 77977 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.5186787266885081 77977 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 263439 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 77979 [JavaFX Application Thread] DEBUG GameUtil - Used size is 385 from 3170 77979 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 77979 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 77979 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 78268 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 334148 , total size: 507904 78268 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.6578959803427419 78268 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 334148 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 78269 [JavaFX Application Thread] DEBUG GameUtil - Used size is 385 from 3170 78269 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 78269 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 78269 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 78550 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 364415 , total size: 507904 78550 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.7174879504788306 78550 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 364415 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 78551 [JavaFX Application Thread] DEBUG GameUtil - Used size is 385 from 3170 78551 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 78551 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 78551 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 78832 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 78832 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 78846 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 384669 , total size: 507904 78846 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.7573655651461694 78846 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 384669 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 78847 [JavaFX Application Thread] DEBUG GameUtil - Used size is 385 from 3170 78848 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 78848 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 78848 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 79127 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 79127 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 79142 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 409122 , total size: 507904 79142 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.805510490171371 79142 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 409122 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 79143 [JavaFX Application Thread] DEBUG GameUtil - Used size is 385 from 3170 79143 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 79143 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 79143 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 79422 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 79422 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 79437 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 430707 , total size: 507904 79437 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.8480086788054435 79437 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 430707 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 79438 [JavaFX Application Thread] DEBUG GameUtil - Used size is 385 from 3170 79438 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 79438 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 79438 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 79714 [JavaFX Application Thread] DEBUG ImageUtil - Is there still data available: 0 79714 [JavaFX Application Thread] DEBUG ImageUtil - scrLoader with screenMode 0, crtcDisplayData CrtcDisplayData{visibleWidth=40, visibleHeight=25, displayOffset=0} 79730 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 490262 , total size: 507904 79730 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.9652650894657258 79730 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 490262 , total size: 507904 Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$1(EepromWriterController.java:305) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:321) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233) at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482) at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541) at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205) at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155) at java.util.AbstractList.add(AbstractList.java:108) at com.grelobites.romgenerator.handlers.dandanatorcpc.v2.DandanatorCpcV2RomSetHandler.lambda$addGame$2(DandanatorCpcV2RomSetHandler.java:617) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) 84569 [JavaFX Application Thread] DEBUG EepromWriterController - Got rescue eewriter of size 4101 84570 [JavaFX Application Thread] ERROR EepromWriterController - Preparing Data Producer java.lang.NullPointerException at com.grelobites.romgenerator.view.EepromWriterController.sendUsbRescue(EepromWriterController.java:223) at com.grelobites.romgenerator.view.EepromWriterController.lambda$initialize$9(EepromWriterController.java:368) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Node.fireEvent(Node.java:8411) at javafx.scene.control.Button.fire(Button.java:185) at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182) at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96) at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89) at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:432) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:410) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:937)

muckypaws commented 3 years ago

Trying V2.3

The first block is attempted to be sent... however different error

jason@Jasons-iMac Incoming % java -jar dandanator-cpc-2.3.jar 347 [JavaFX Application Thread] DEBUG PreferencesProvider - Adding preferences provider PreferencesProvider{name='General', fXmlLocation='/com/grelobites/romgenerator/view/preferences.fxml', precedence=1} 347 [JavaFX Application Thread] DEBUG PreferencesProvider - Adding preferences provider PreferencesProvider{name='Loader', fXmlLocation='/com/grelobites/romgenerator/view/eepromwriterconfiguration.fxml', precedence=3} 620 [JavaFX Application Thread] DEBUG ApplicationContext - setRomSetHandlerInfoPane Pane[id=romSetHandlerInfoPane, styleClass=gameInfoPane] 639 [JavaFX Application Thread] DEBUG CharSetFactory - CharSetFactory initialized with [charsets/IKARI WARRIORS.CHR, charsets/KNIGHTLORE.CHR, charsets/LODERUNNER.CHR, charsets/LORDMIDNI.CHR, charsets/PROJECT F.CHR, charsets/ROM.CHR, charsets/SPRINT.CHR, charsets/TERRACRESTA.CHR, charsets/ZZOOM.CHR] 653 [JavaFX Application Thread] DEBUG Configuration - persistConfigurationValue tapeLoaderTarget, HW_CPC6128 654 [JavaFX Application Thread] DEBUG Configuration - persistConfigurationValue lastUsedDirectory, /Users/jason/Downloads/Incoming/Cart_images 654 [JavaFX Application Thread] DEBUG ScreenshotGameRenderer - Loading default image cpc6128.scr 787 [JavaFX Application Thread] DEBUG ApplicationContext - Changing RomSetHandler to DDNTR_V2 787 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Binding RomSetHandler to ApplicationContext 818 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Initializing DandanatorCpcFrameController 826 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - onGameSelection oldGame=null, newGame=null 827 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 844 [JavaFX Application Thread] DEBUG PreferencesProvider - Adding preferences provider PreferencesProvider{name='Dandanator CPC', fXmlLocation='/com/grelobites/romgenerator/handlers/dandanatorcpc/view/dandanatorcpcpreferences.fxml', precedence=2} 849 [JavaFX Application Thread] DEBUG EepromWriterConfiguration - persistConfigurationValue serialPort, /dev/tty.usbserial-14320 850 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 16384 , total size: 507904 852 [JavaFX Application Thread] DEBUG DandanatorCpcFrameController - Changing bar style on romUsage change to 0.03225806451612903 852 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - Used size: 16384 , total size: 507904 854 [JavaFX Application Thread] DEBUG MainAppController - onGameSelection oldGame=null, newGame=null 964 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 978 [JavaFX Application Thread] DEBUG DandanatorCpcV2RomSetHandler - updateMenuPreview 993 [JavaFX Application Thread] DEBUG DandanatorCpcPreferencesController - Executing toString on null 1012 [JavaFX Application Thread] DEBUG EepromWriterConfigurationController - Executing toString on null 1064 [JavaFX Application Thread] DEBUG Util - Serial Port Names are [/dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbserial-14320] 9022 [JavaFX Application Thread] DEBUG EepromWriterConfiguration - persistConfigurationValue serialPort, null 9045 [JavaFX Application Thread] DEBUG Util - Serial Port Names are [/dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbserial-14320] 11126 [JavaFX Application Thread] DEBUG EepromWriterConfiguration - persistConfigurationValue serialPort, /dev/tty.usbserial-14320 15604 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Asking for record with remaining 39 15605 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Asking for record with remaining 39 15605 [JavaFX Application Thread] DEBUG BinaryRecordIterator - segments 1, dataLength 39, currentRecord 0 15605 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Writing segment with remaining 39 15605 [JavaFX Application Thread] DEBUG BinaryRecordIterator - CRC to position 257 15605 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Calculated CRC 0x87b7 15605 [JavaFX Application Thread] DEBUG BinaryRecordIterator - Asking for record with remaining -2009 15609 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Found 3 blocks in tape 15611 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Block offsets are [0, 3, 285] 15611 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Pause or Stop the Tape block 15624 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Turbo Speed block[leaderLength=2340, sync1Length=1190, sync2Length=1190, zeroLength=1187, oneLength=2375, leaderPulses=4096, bitsLastByte=8, endBlockPause=14ms, currentBlockLength=263, tapePosition=22] 15630 [JavaFX Application Thread] DEBUG CdtWavOutputStream - Turbo Speed block[leaderLength=2340, sync1Length=1190, sync2Length=1190, zeroLength=1187, oneLength=2375, leaderPulses=4096, bitsLastByte=8, endBlockPause=2000ms, currentBlockLength=263, tapePosition=304] 15652 [JavaFX Application Thread] DEBUG EepromWriterController - Initializing Serial Consumer 15654 [JavaFX Application Thread] DEBUG SerialBlockService - Creating serial port on /dev/tty.usbserial-14320 15660 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=57600, dataBits=8, stopBits=2, parity=0} 17650 [JavaFX Application Thread] DEBUG EepromWriterController - Got rescue eewriter of size 4101 17651 [JavaFX Application Thread] DEBUG EepromWriterController - Binding data producer com.grelobites.romgenerator.util.eewriter.SerialDataProducer@56e2fe25 17653 [RomGenerator executor service] DEBUG SerialDataProducer - Sending block of 1024 bytes 17654 [RomGenerator executor service] DEBUG SerialDataProducer - Sending block of 1024 bytes 17654 [RomGenerator executor service] DEBUG SerialDataProducer - Sending block of 1024 bytes 17654 [RomGenerator executor service] DEBUG SerialDataProducer - Sending block of 1024 bytes 17654 [RomGenerator executor service] DEBUG SerialDataProducer - Sending block of 5 bytes 17655 [JavaFX Application Thread] DEBUG EepromWriterController - Unbinding data producer 18698 [SerialBlockService] DEBUG SerialBlockService - Received 115200 SYNC 18698 [SerialBlockService] DEBUG SerialBlockService - Dandanator ready to request data 18708 [SerialBlockService] DEBUG SerialBlockService - Block 0 Requested by serial port 18709 [SerialBlockService] INFO SerialBlockService - Generation of romset byte array currently unavailable 18709 [SerialBlockService] ERROR SerialBlockService - Unable to send block 0

muckypaws commented 3 years ago

Finally: V2.3 Seems to be caught in a loop of sending Block 0.

This goes further than V2.4 can for reasons unknown.

143080 [JavaFX Application Thread] DEBUG EepromWriterController - Binding data producer com.grelobites.romgenerator.util.eewriter.SerialDataProducer@1a2955eb 143082 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 143082 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144019 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 3 bytes 144021 [JavaFX Application Thread] DEBUG EepromWriterController - Unbinding data producer 144522 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=57600, dataBits=8, stopBits=2, parity=0} 144928 [SerialBlockService] DEBUG SerialBlockService - Block 0 Requested by serial port 144928 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=114000, dataBits=8, stopBits=2, parity=0} 144929 [JavaFX Application Thread] DEBUG EepromWriterController - Binding data producer com.grelobites.romgenerator.util.eewriter.SerialDataProducer@68a31b5b 144931 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 144931 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145807 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145807 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 145808 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 3 bytes 145809 [JavaFX Application Thread] DEBUG EepromWriterController - Unbinding data producer 146312 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=57600, dataBits=8, stopBits=2, parity=0} 146513 [SerialBlockService] DEBUG SerialBlockService - Block 0 Requested by serial port 146513 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=114000, dataBits=8, stopBits=2, parity=0} 146513 [JavaFX Application Thread] DEBUG EepromWriterController - Binding data producer com.grelobites.romgenerator.util.eewriter.SerialDataProducer@61529cd3 146515 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 146515 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 147495 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 3 bytes 147497 [JavaFX Application Thread] DEBUG EepromWriterController - Unbinding data producer 147999 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=57600, dataBits=8, stopBits=2, parity=0} 148101 [SerialBlockService] DEBUG SerialBlockService - Block 0 Requested by serial port 148101 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=114000, dataBits=8, stopBits=2, parity=0} 148101 [JavaFX Application Thread] DEBUG EepromWriterController - Binding data producer com.grelobites.romgenerator.util.eewriter.SerialDataProducer@5fe29cf1 148103 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 148103 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149135 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 3 bytes 149137 [JavaFX Application Thread] DEBUG EepromWriterController - Unbinding data producer 149638 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=57600, dataBits=8, stopBits=2, parity=0} 149951 [SerialBlockService] DEBUG SerialBlockService - Block 0 Requested by serial port 149951 [SerialBlockService] DEBUG SerialPortConfiguration - Applying serial port configuration SerialPortConfiguration{baudrate=114000, dataBits=8, stopBits=2, parity=0} 149952 [JavaFX Application Thread] DEBUG EepromWriterController - Binding data producer com.grelobites.romgenerator.util.eewriter.SerialDataProducer@fb41ceb 149954 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes 149954 [SerialBlockService] DEBUG SerialDataProducer - Sending block of 1024 bytes

muckypaws commented 3 years ago

Doesn't move from this point forward (2.3) - 2.4 Doesn't get this far!

Dandanator - 1

teiram commented 3 years ago

Can you please tell me what dandanator hardware are you using? In your log from 2.3, I think you are trying to perform a rescue operation but the game list is empty. Try to add first at least one game to the list and then proceed with the rescue procedure, otherwise the generator won't be able to generate and send a valid romset when the rescue starts. Your log from 2.4 is weird, seems that the CPC is asking again and again for the same block, what makes me think you could have some hardware issue. Were you ever able to upload romsets to that dandanator unit using the generator?

muckypaws commented 3 years ago

Hey, I am using a Dandanator Mini V1.3b.

I've contacted the person that supplied me the hardware and he's reflashed the ROM using a PIC Programmer and again tested transmission using USB Cable and 2.4 of the program without issue. Though he was using Windows 10.

I am waiting the return of the unit to retry, but seems odd that using two macOS Catalina and El Capitan, and my windows 10 machine on 21H1 release were unable to successfully send anything to the same unit.

Dandanator - 1 (1)

ddandare commented 3 years ago

That board is incomplete. It's lacking the oscillator that makes the USB chip work (12MHz crystal) and the 22pF capacitors (C1 and C3). There is NO WAY this could communicate using USB. Please, finish the board first.

muckypaws commented 2 years ago

Response back from the Board Developer:

Hi Jason, the board is complete but the reason for the confusion is this. There are a few versions of the CH340 serial chip. The original design used a CH340G chip that needs the capacitors and crystal. I fitted these with a CH340C where those parts are internal to the chip soo those parts aren't fitted, The two chips are otherwise identical.

I think the fact that I'm able to read what's on the Dandanator proves that a serial connection is correctly made, the software just won't allow an update without exceptions.