I'm going to design a PCB where the VS1005 uses the SD card only.
- It boots from internal flash.
- Without external flash.
- There is no NAND flash.
If I understood correctly, on the hardware side, I have to:
- Leave GPIO1_15, NFCE and XCS0 disconnected.
- Connect a GPIO to enable SD card power supply (EN3VSD)
- Maybe EN3VSD pin could be GPIO1_15 or NFCE?
How can I do that. Should I modify the kernel?
Is a call to SetHandler enough? Something like:
Code: Select all
SetHandler(SetPower, MySetPower);
Code: Select all
symResetSdCard = SymbolFind("_ResetSdCard");
origResetSdCard = symResetSdCard->addr;
symResetSdCard->addr = (u_int16)AmpResetSdCard;
Thanks in advance
Marco