Skip to content
shazz edited this page Nov 5, 2018 · 1 revision

Détail de la carte NKC Electronics sd2iec 1.2

Connectivité

. If you do not use the daughter board, you have to connect DB pins 1,3,4,5,10 for basic functionality. Get the 5V power for pin 1 from the datasette port for example.).

LEDs

  • Rouge ("dirty"):
  • Verte ("busy")
  1. Bootloader

On powerup, red LED is on. If an updated firmware is found on SD card, green light blinks for some seconds during flashing. If no updated firmware is found, green light flashes once. When complete, both LEDs turn off.

  1. Mode veille

If you hold the disk change button down for two seconds, sd2iec will enter "sleep mode". In this mode it doesn't listen to the bus at all until you hold down the disk change button for two seconds again which resumes normal operation. Sleep mode allows you to keep sd2iec connected to the serial bus even when you load something from a different drive that uses a fast loader that doesn't work with more than one device on the bus.

  1. Test de détection de carte SD

Because some SD slots seem to suffer from bad/unreliable card detect switches a test mode for this has been implemented on the units that have SD card support. If you hold down the PREV button during powerup, the red (dirty) LED will reflect the card detect status - if the LED is on the card detect switch is closed. Please note that this does not indicate successful communication with the card but merely that the mechanical switch in the SD card slot is closed.

On units with two sd2iec-controlled LEDs, the green (busy) LED will indicate the state of the write protect switch - if the LED is lit, the write protection is on. Due to the way the write protect notch works on SD cards, the indication is only valid when the card is fully inserted into the slot.

To exit from the diagnostic mode, power-cycle the device or push the NEXT button once.

While sleep mode is active, the red LED will be on and the green LED will be off.

Fast Loaders

Changer d'images de disquette

  • For Shadowolf's sd2iec 1.x PCBs ("sw2"):

The two required pins are available on the pin header which runs parallel to the long side of the board. In the documentation of the board, the NEXT button is named "DISKSWITCH", the PREV button is named "RESERVE".

Mettre à jour le firmware

Attention, le bootloader responsable entre autres de mettre à jour le firmware a un fonctionnement différent du Disk Operating System (DOS, émulation des commandes IEC). En particulier le bootloader ne fonctionne qu'avec:

  • une carte SD formatée en FAT, FAT16, FAT12
  • le fichier contenant le firmware doit s'appeler sd2iec.bin
  • le firmware doit etre compatible sw2 et AVR m644p
  • le descripteur du fichier doit être dans le 1er block de la carte SD
  • Firmware (.bin) needs to reside in the SD card's root directory. Only file size and signature have to match.

On powerup, bootloader scans root directory of primary mass storage device and checks each file size and file signature (which includes version, checksum, and firmware type) If a suitable file is found and the version of the file is 0 or greater than the version installed on the AVR, the flash is reprogrammed with the updated firmware. I an updated firmware is found on SD card, green light blinks for some seconds during flashing. If no updated firmware is found, green light flashes once. When complete, both LEDs turn off.

Mettre à jour le bootloader

Est-ce une bonne idée ?

Clone this wiki locally