2020-03-31 04:45 PM
when i try and flash the board through the designer it keeps failing. I have tried removing the files and creating a new folder and linking that one but no success, i am desperate my project is due to be presented on Friday, i have experimented with all parts separately and now i am combining the code, the last piece if the FatFS SDMMC, data logging, the code works perfectly as it is tried and tested, i simply dont understand why this is happening, it should be a simple process just to add code that has already worked on the 746 Disco board, although that was without the screen, but this part of the project is just data logging and has no interaction with the screen apart from sharing a task in main.c. the header is there as CubeIDE complies can someone please get back to me ASAP, it is important. here is the log from TouchGFX designer
Image is not available
Image is not available
2020-03-31 07:41 PM
Make sure the file is in your include path.
Your images are not displaying.
2020-04-01 12:22 AM
Thanks For getting back to me TDK, i am sorry if i wasn't clear in ,my post but yes the file path IS included, the code complies without error in CUBEIDE by it wont flash to the board through TouchGFX designer.
a separate issue is that my ST link fails when i try and enter Debug mode in CUBEIBE, that is why i have to flash the board through ToughGFX. Everything has worked ok up until i added this FatFS part to my code.
i will go through the steps of linking the includes files again, i have attached the pictures again lets hope they upload properly this time .
2020-04-01 01:26 AM
If you have additional files you must modify the Makefile the designer uses, accordingly.
/Martin
2020-04-01 04:32 AM
thanks for getting back to me Martin,
what modification should i make to MakeFile and which one, there seems to be 4, 2 are Simulation related ,1 debug and 1GCC.
i have attached copy of section of MakeFile, should i create a path like the one highlighted
Barry
2020-04-01 05:16 AM
The Makefile has the following two variables you can add to.
include_paths :=
source_paths :=
/Martin
2020-04-01 06:29 AM
thanks Martin,
i know your probably busy, here is what i added but it hasnt worked , so its probably wrong any advice?
Barry
2020-04-01 06:37 AM
I wrote about this exact thing a while back. See if that helps.
2020-04-01 07:08 AM
ya that is the same, my issue now is how to format
do i put it in as complete file path i.e.
Application/User/FATFS
could you give an example , please
thanks
Barry
2020-04-01 08:42 AM
From that Post:
"Add your includepath to include_paths. It's relative to the application."
So if "Application" is in the root folder, then "Application/User/FATFS" is right.
/Martin