STM32F407 Discovery Compiling Issues

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
User avatar
mrburnette
Posts: 1774
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: STM32F407 Discovery Compiling Issues

Postby mrburnette » Thu Jun 09, 2016 12:26 am

martinayotte wrote:And the chip can answer "meoww !" :lol:

8-)

User avatar
martinayotte
Posts: 1161
Joined: Mon Apr 27, 2015 1:45 pm

Re: STM32F407 Discovery Compiling Issues

Postby martinayotte » Thu Jun 09, 2016 2:23 am

Hi Ray !
Don't get me wrong here ... It is not me that going to shout "meow !" ... :lol:
Here, in Quebec, there is currently a commercial on TV, from charity Org, that wish people to donate unused wearing.
We can see this big fat man wearing a leather clothe, we don't see his women around using the "miniature whip", but the man is screaming "meow !" ... :lol:
He concluded that he doesn't need this wearing anymore ...
In fact, the comedian doing this is a well known artist, he support the campaign for donation ! :ugeek:
I'm always laft when I see that commercial ... :lol:

User avatar
mrburnette
Posts: 1774
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: STM32F407 Discovery Compiling Issues

Postby mrburnette » Thu Jun 09, 2016 12:07 pm

martinayotte wrote:<...>
I'm always laft when I see that commercial ... :lol:



Well, Martin, laughter is said to be the 'best medicine' but I'm more inclined to seek out a good single malt although my daughter's in-laws in France did provide a most delightful cognac.

Ray

User avatar
ahull
Posts: 1422
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: STM32F407 Discovery Compiling Issues

Postby ahull » Fri Jun 10, 2016 11:12 am

Never mind all that French nonsense... http://www.glengoyne.com/
- Andy Hull -

User avatar
mrburnette
Posts: 1774
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: STM32F407 Discovery Compiling Issues

Postby mrburnette » Fri Jun 10, 2016 12:07 pm

ahull wrote:Never mind all that French nonsense... http://www.glengoyne.com/


Yes ... many years ago while on the sleeper train out of London's Euston Station to Inverness, I was in the drinking car that evening and asked the waiter for the best whiskey they had on the train... and it was worth every pound I paid. In the mid-90's there were many small, local brands that I found rather tasty, too, as we traveled around Edinburgh and Aberdeen.

Ray

Sandrine
Posts: 15
Joined: Tue Jun 28, 2016 8:06 pm

Re: STM32F407 Discovery Compiling Issues

Postby Sandrine » Wed Jun 29, 2016 2:56 pm

It looks to me like that STK link thingy isn't even coming up as a serial port, rather a proprietary USB connection that only links to the ST IDE. Perhaps an interface soft like Serial Emulator would be able to deal with it. I myself can't try that as I haven't a discovery board (yet)

Also, a question I'll pose here:
I have chosen the STM32F407 chip because (mostly) it has SDIO implemented. It's too bad the 'duino development isn't up to snuff yet, so does anyone know of a lesser, more supported STM32F chip that still has SDIO?
I know the 103 fall short on that bus, unless I'm missing part of the datasheet :lol:

Cheers!!

User avatar
RogerClark
Posts: 5470
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: STM32F407 Discovery Compiling Issues

Postby RogerClark » Wed Jun 29, 2016 9:55 pm

Some F103 versions have SDIO, but it is only available on the F103RC or better e.g F103RE, F103Vxx and F103Zxx

unfortunately we do not have any code for libmaple that supports it.

But...

There are 2 possibilities to remedy this shortcomming.

Arduino.cc are working on SDIO code for the STAR OTTO and it will be published to github, we can then take this code and port it into the HAL MX core.
(@vassilis has already, kindly, ported the STAR OTTO I2C (Wire) library to the HAL MX core)

Alternatively, I made an experimental HAL library for the libmaple F103 code, so it may be possible to use STMs example SDIO code ( which uses the HAL) by making use of the HAL library.


But, the bottom line is at the moment, we do not have support for SDIO :-(

Sandrine
Posts: 15
Joined: Tue Jun 28, 2016 8:06 pm

Re: STM32F407 Discovery Compiling Issues

Postby Sandrine » Thu Jun 30, 2016 4:09 am

Thanks so much for taking the time to reply Roger!
You have saved me a lot of research time for sure. I won't be developing until end of summer so fingers crossed.

I need a solution to transfer parallel 16 bit data (16MB) to an SD Card in a timely (not minutes) fashion under FATfs and looks like SPI is just too variable for it.

Cheers!

_BTW excellent work Roger!!

User avatar
RogerClark
Posts: 5470
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: STM32F407 Discovery Compiling Issues

Postby RogerClark » Thu Jun 30, 2016 4:28 am

No worries

In that timeframe, I suspect the HAL MX core may be your best bet, as hopefully by then Arduino.org will have written the code for the OTTO which we can port.

Francesco @ Arduino.org is in fairly regular contact, via email, so I should know as soon as they have SD working.

BTW.
I think we have DMA transfer to SD card via SPI, but I can't recall whether its working or not at the moment. i.e I thought at one point it was working, but we sometimes have setbacks and things stop working due changes in dependencies (other libs).

User avatar
martinayotte
Posts: 1161
Joined: Mon Apr 27, 2015 1:45 pm

Re: STM32F407 Discovery Compiling Issues

Postby martinayotte » Thu Jun 30, 2016 12:58 pm

Could I ask what kind of data which takes such huge space ?


Return to “STM32F4 Boards”

Who is online

Users browsing this forum: Pito and 1 guest