I changed PIN setup in board.h and finally work.
Thank you
Search found 4 matches
- Thu Dec 03, 2015 8:16 am
- Forum: STM32 Support
- Topic: STM32F429 and sdcard
- Replies: 5
- Views: 2411
- Wed Dec 02, 2015 5:33 pm
- Forum: STM32 Support
- Topic: STM32F429 and sdcard
- Replies: 5
- Views: 2411
Re: STM32F429 and sdcard
Thank you for response and sorry Im begginer in Chibios.
My hardware with stm32fcube work good.
I attach my code. Please check my code
I dont know why waiting in connection.
this is my bt of gdb
#0 0x0800185e in sdc_lld_send_cmd_short_crc (sdcp=sdcp@entry=0x20000a04 <SDCD1>, cmd=cmd@entry=16 ...
My hardware with stm32fcube work good.
I attach my code. Please check my code
I dont know why waiting in connection.
this is my bt of gdb
#0 0x0800185e in sdc_lld_send_cmd_short_crc (sdcp=sdcp@entry=0x20000a04 <SDCD1>, cmd=cmd@entry=16 ...
- Tue Dec 01, 2015 2:55 pm
- Forum: STM32 Support
- Topic: STM32F429 and sdcard
- Replies: 5
- Views: 2411
Re: STM32F429 and sdcard
I just use main.c functions. I use stm32f429 configuration file.
I checked with gdb and my program waiting on
//ChibiOS/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c:574
while (((sta = sdcp->sdio->STA) & (SDIO_STA_CMDREND | SDIO_STA_CTIMEOUT |
SDIO_STA_CCRCFAIL)) == 0)
I checked with gdb and my program waiting on
//ChibiOS/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c:574
while (((sta = sdcp->sdio->STA) & (SDIO_STA_CMDREND | SDIO_STA_CTIMEOUT |
SDIO_STA_CCRCFAIL)) == 0)
- Tue Dec 01, 2015 2:07 pm
- Forum: STM32 Support
- Topic: STM32F429 and sdcard
- Replies: 5
- Views: 2411
STM32F429 and sdcard
I used testhal to test sdcard(SDIO). But fail on connecting.
I try to change Pal Model to
palSetPadMode(GPIOC, 8, PAL_MODE_ALTERNATE(12));
palSetPadMode(GPIOC, 9, PAL_MODE_ALTERNATE(12));
palSetPadMode(GPIOC, 10, PAL_MODE_ALTERNATE(12));
palSetPadMode(GPIOC, 11, PAL_MODE_ALTERNATE(12 ...
I try to change Pal Model to
palSetPadMode(GPIOC, 8, PAL_MODE_ALTERNATE(12));
palSetPadMode(GPIOC, 9, PAL_MODE_ALTERNATE(12));
palSetPadMode(GPIOC, 10, PAL_MODE_ALTERNATE(12));
palSetPadMode(GPIOC, 11, PAL_MODE_ALTERNATE(12 ...