Problem? with released QLSD source....
Posted: Tue Oct 21, 2014 9:55 am
Hi all,
Putting this in software as it's the driver source.....
Anyway i have built a ROM from the released QLSD source, there seems to be a problem with it, in that it never asserts the SS on the SD card, tracing with mess and a copy of the ROM that came with the interface it accesses the drive select registers thus :
read of FEF0 : deselect drives
read of FEF1 : select drive 1, and presumably read it
read of FEF0 : deselect.
On the compiled ROM, I get :
read of FEF0 : deselect drives
read of FEF0 : deselect drives
read of FEF0 : deselect drives
in building this I have only changed a couple of lines in sdcard_ver_in :
So somehow it's not selecting the SD device....
Cheers.
Phill.
Putting this in software as it's the driver source.....
Anyway i have built a ROM from the released QLSD source, there seems to be a problem with it, in that it never asserts the SS on the SD card, tracing with mess and a copy of the ROM that came with the interface it accesses the drive select registers thus :
read of FEF0 : deselect drives
read of FEF1 : select drive 1, and presumably read it
read of FEF0 : deselect.
On the compiled ROM, I get :
read of FEF0 : deselect drives
read of FEF0 : deselect drives
read of FEF0 : deselect drives
in building this I have only changed a couple of lines in sdcard_ver_in :
Code: Select all
IS_ROM equ 1 ; Set to 1 to build the ROM version
CHK_LOAD equ 1 ; Set to 1 (for ROM version) to allow the user
Cheers.
Phill.