I've tried testhal/STM32/STM32F4xx/SDC unmodified on my Olimex board and experience the following:
ch> sdc all
Connecting... OK
Card Info
CSD : 400E0032 5B590000 1D6F7F80 0A4000A0
CID : 27504853 44303447 30001800 4D00D1A8
Mode :
Capacity : 3768MB
Single block aligned ...
Search found 346 matches
- Mon May 11, 2015 12:10 pm
- Forum: Bug Reports
- Topic: [possible BUG] Bug 458 might not be fixed completely
- Replies: 40
- Views: 35522
- Sun May 10, 2015 2:58 pm
- Forum: Bug Reports
- Topic: [possible BUG] Bug 458 might not be fixed completely
- Replies: 40
- Views: 35522
Re: [possible BUG] Bug 458 might not be fixed completely
Oh dear, I've just run into this problem as well. In my case, I can't even get sdcRead(&SDCD1, 0, buf, 1) to work; it fails in sdc_lld_wait_transaction_end() because of:
if ((SDIO->STA & SDIO_STA_DATAEND) == 0)
I'm using a pixhawk board, and the original code works with this card without problem ...
if ((SDIO->STA & SDIO_STA_DATAEND) == 0)
I'm using a pixhawk board, and the original code works with this card without problem ...
- Sat May 10, 2014 8:59 pm
- Forum: Development and Feedback
- Topic: board config
- Replies: 28
- Views: 29098
Re: board config
Does it open in the XML editor? if so, there are two selectable views: text and graphic, there are two tabs on the lower border of the editor.
I worked it out - I didn't have the XML editor plugin installed.
I've written a quick guide on installing the plugins and using the board config generator ...
I worked it out - I didn't have the XML editor plugin installed.
I've written a quick guide on installing the plugins and using the board config generator ...
- Sat May 10, 2014 4:22 pm
- Forum: Development and Feedback
- Topic: board config
- Replies: 28
- Views: 29098
Re: board config
I've installed the chibios tools and the config generator runs. But when I open the .chcfg file it just opens in a text editor, displaying the raw XML. How do I make it open in the fancy screen?
- Thu May 08, 2014 8:32 am
- Forum: General Support
- Topic: Chibios 3.0.0 gcc support
- Replies: 12
- Views: 13184
Re: Chibios 3.0.0 gcc support
Thanks for the help everyone, disabling LTO allowed it to build
Code: Select all
# Enable this if you want link time optimizations (LTO)
ifeq ($(USE_LTO),)
USE_LTO = no
endif
- Wed May 07, 2014 10:42 pm
- Forum: General Support
- Topic: Chibios 3.0.0 gcc support
- Replies: 12
- Views: 13184
Chibios 3.0.0 gcc support
I'm trying to build demos using the latest Chibios trunk but am experiencing compiler problems:
[~/projects/chibios/demos/STM32/RT-STM32F407-DISCOVERY]$ make
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata ...
[~/projects/chibios/demos/STM32/RT-STM32F407-DISCOVERY]$ make
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata ...
- Wed Mar 20, 2013 6:33 pm
- Forum: Development and Feedback
- Topic: [RFC] Killing bool_t, TRUE, FALSE
- Replies: 10
- Views: 10877
Re: [RFC] Killing bool_t, TRUE, FALSE
sounds like a sensible move. It is pretty obvious that bool is a type so no need for the _t prefix, and supporting modern compiler standards gets my vote.
- Mon Feb 18, 2013 9:50 am
- Forum: Development and Feedback
- Topic: STM32F107 OTG Mass Storage ultra slow
- Replies: 24
- Views: 28960
Re: STM32F107 OTG Mass Storage ultra slow
Hi dsigma,
thanks for the comments! I'm afraid I'm so busy at the moment I don't really have time to do any indepth work or analysis on the driver, but I can point you in the direction of the spec I used: Universal Serial Bus Mass Storage Class .
I'd be keen to merge in your optimisations once ...
thanks for the comments! I'm afraid I'm so busy at the moment I don't really have time to do any indepth work or analysis on the driver, but I can point you in the direction of the spec I used: Universal Serial Bus Mass Storage Class .
I'd be keen to merge in your optimisations once ...
- Thu Jan 24, 2013 7:12 pm
- Forum: Development and Feedback
- Topic: USB Mass Storage Device
- Replies: 112
- Views: 112610
Re: USB Mass Storage Device
I'm away from my computer at the moment so I can't answer in much detail, but as far as I'm aware on f4 the ports are only FS unless you use an external PHY, so that's going to limit it severely. I've got an oilmex stm32 e407 that I intend to do proper testing with one day...
- Mon Dec 24, 2012 7:36 pm
- Forum: Development and Feedback
- Topic: The GCC 4.7.1 topic
- Replies: 11
- Views: 11402
Re: The GCC 4.7.1 topic
Tectu wrote:they only work for linux so for Mac OSX you have to compile it yourself
nope, the whole point of what I was quoting is that this is no longer the case, there are mac os x binaries and they work