The busy LED Blinks!

Es gibt 3 Antworten in diesem Thema, welches 936 mal aufgerufen wurde. Der letzte Beitrag (16. November 2008 um 19:09) ist von marcos.

  • Hi everybody, I 'm Marcos Leguizamón from Argentina, I don't speak a work of german (sorry, some day I'll learn) and I'm triyng to make a SD2IEC with firmware 0.66 and an ATmega32.
    I made de MMC2IEC (the lars version) with perfboard and it worked right from the begining.
    Then, as I try to design a cheap PSB (trhou hole) with the components easy to find here in Buenos Aires for other C64 entusiasts (Bitte melde dich an, um diesen Link zu sehen.) , I desided to upgrate to Shadowolf version with firmware 0.6.6, the last one with AT32 (the 644 is not sold here and importing it it's too expensive).

    The problem I have, after changing some wiring to adapt to Configuration 1, and adding the buttons, is:

    The seleccion of device 8,9,... works perfectly
    With Open 15,8,16:inputBitte melde dich an, um diesen Link zu sehen.,a$,b$,... I read ok the version of the frimware
    But when I do Load anything or Save, it returns an error, and the Busy leds keeps blinking, until I press a Button (next or prev)
    It does not matter if there is a card inserted or not, it does the same

    It must be a hardware error, but I can't find it, do anybody knows the cause of the blinking? I read in the source it has to do with the image change, but I don't understand why it's happending here.

    Thanks
    MARCOS

  • The seleccion of device 8,9,... works perfectly
    With Open 15,8,16:inputBitte melde dich an, um diesen Link zu sehen.,a$,b$,... I read ok the version of the frimware
    But when I do Load anything or Save, it returns an error, and the Busy leds keeps blinking, until I press a Button (next or prev)
    It does not matter if there is a card inserted or not, it does the same


    Are you sure it's the busy LED (PC0, pin 22) and not the dirty LED (PC1, pin 23)? If it's the dirty LED, please read the error channel (same OPEN... sequence you used to read the firmware version) and tell us what it says.

    I suspect that the controller thinks that there is no card inserted. Check if pin 16 (PD2) is low while a card is inserted.

    10 x=rnd(-1963):fori=1to81:y=rnd(1):next
    20 forj=1to5:printchr$(rnd(1)*16+70);:next
    30 printint(rnd(1)*328)-217

    Bitte melde dich an, um diesen Link zu sehen. - Bitte melde dich an, um diesen Link zu sehen. - Bitte melde dich an, um diesen Link zu sehen.


  • Are you sure it's the busy LED (PC0, pin 22) and not the dirty LED (PC1, pin 23)? If it's the dirty LED, please read the error channel (same OPEN... sequence you used to read the firmware version) and tell us what it says.

    I suspect that the controller thinks that there is no card inserted. Check if pin 16 (PD2) is low while a card is inserted.

    You're right!!! I swapped PC1 and PC0 when I changed the board design. (it makes me think I didn't verify the connections so well as I thought, I'll do it again).
    Now it has more sense, there is probably a bad connection with the SD, as I broke the connector partially while soldering it in this prototype, and the card detection and write protection are in jumpers (it semmed easier than soldering another connector, wrong desition!)

    Thanks!
    MARCOS

  • It worked!!!! Forget my initial question, it was just that the card has not a good contact, I pressed it with scotch tape and now it reads ok (almost every time).

    This test was just to see it the design as I was doing was correct and the micro was well programmed. The next step is to finish the PCB and test this same micro there, but with a decent SD connector!

    MARCOS