Hi,
Using FAT controller, I can init the card and read CSD but that's all I can do. CID doesn't work. I formatted the card FAT16 and put your autoexec file for the touch screen on it and that worked when I powered up the display. Then I tried to read the directory using FAT controller and after that the script no longer works. There are no other files on the card, just the autoexec. I was expecting the @d command to show the autoexec.4ds file, but I just get
Card is SanDisk 4GB SDHC
I also wanted to use FAT controller to copy a .bmp file to the display (done this fine) and then copy it to the card using the @c command (doesn't work).
Also, if I want to display a .bmp image from the card, what do I put in imagePos ? How do I know the sector address of the image? (Command @m or 40,6D).
Thanks for your help.
Dave.
Using FAT controller, I can init the card and read CSD but that's all I can do. CID doesn't work. I formatted the card FAT16 and put your autoexec file for the touch screen on it and that worked when I powered up the display. Then I tried to read the directory using FAT controller and after that the script no longer works. There are no other files on the card, just the autoexec. I was expecting the @d command to show the autoexec.4ds file, but I just get
Card is SanDisk 4GB SDHC
I also wanted to use FAT controller to copy a .bmp file to the display (done this fine) and then copy it to the card using the @c command (doesn't work).
Also, if I want to display a .bmp image from the card, what do I put in imagePos ? How do I know the sector address of the image? (Command @m or 40,6D).
Thanks for your help.
Dave.
Comment