MEGA65 / m65connect

Cross-Platform Remote Interaction Tool for the MEGA65
GNU General Public License v3.0
8 stars 1 forks source link

SDCARD Always shows Internal - M65Connect 5-JUL-23 Windows Build #20

Open mickstone opened 1 year ago

mickstone commented 1 year ago

Running M65Connect 5-JUL-23 Windows Build the SD Card Manager always lists as Internal with no way to pick internal or external (only internal is available). It appears that when an external card is in, that card shows contents and is listed as internal and if there is no external SD card the behaviour appears correct. i.e. the Internal card is listed and the dropdown shows internal.

Not sure if this is a bug or just normal behavior with the internal card being replaced by the external one when it is present.

Taygair commented 10 months ago

Sorry for late answer, I check here only occasionally...

Just to make that clear. There are two ways of accessing SD cards by M65Connect:

  1. The internal SD card of the MEGA65 (connection to MEGA65 required)
  2. A local attached SD card on your PC (simply attach an SD card to your PC)

-> If you have the situation that you have a valid connection to the MEGA65 AND a local attached SD card (PC) you then will see both SD cards (entries) in the DropDownList (right window on top) inside the SD Card Manager.

So M65Connect tries to be smart: If you are connected to the MEGA65 (and you see the SD card in the list and it's content below) AND you have also a local attached SD card on the PC side which is also in the list, then you can switch between those selecting from the dropdown list. If you now eject the local attached SD card it gets removed from the dropdown list and any displayed content disappears. M65Connect then will select and display the next entry of the list (internal SD card) if present. Same if the connection gets interrupted: Internal SD card of MEGA65 disappears and local attached SD card will be displayed.

So it's not clear to me what you mean by "external card": SD card attached to your PC or SD card attached to the backside of the MEGA65? You may clarify this once with a further post. But anyways, I will once attach an external SD card on the backside of the MEGA65 and check how M65Connect behaves. I never tested this case as the external SD card attached to the backside of MEGA65 is not accessible from PC.

mickstone commented 10 months ago

Sorry for not making the external location clear. I mean the mega65 rear card slot, not PC connected cards.

Taygair commented 7 months ago

While working on V2.3 I have tested this case: External SD Card takes precedence but neither M65Connect nor any other tool can know which SD Card slot is currently active. That's why M65Connect will always name it "... internal". I have discussed this once with Lydon and it may be possible to add a feature which allows to switch between internal and external SD Card (and checking remotely which one is currently active). I keep this ticket open as reminder.

lydon42 commented 7 months ago

Issue tracking mega65_ftp sdslot command: https://github.com/MEGA65/mega65-tools/issues/183