Recent Posts

Pages: [1] 2 3 ... 10
1
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by mark on June 14, 2019, 09:48:21 PM »
Hi

I haven't used CooCox for a long time and now suspect that also some files from the Kinetis HW folder probably need to be removed from its project and those from the STM32 HW folder added instead. It may be best to take a copy of an older CooCox projejct directory from a working STM32 version and put it into the serial loader directory instead. I'll look later to see whether I need to add two CooCox projects to allow Kinetis and STM32 to be used or else whether different targets can be created to allow easier switching between the two.

For SD card loading only the SDCARD_SUPPORT needs to be enabled.

Regards

Mark

2
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by LuisHS on June 14, 2019, 09:26:45 PM »

5. For SD card operation share the setup with other boards alreadiy using the SD card controller:
    #if defined STM3240G_EVAL || defined ST_MB997A_DISCOVERY || defined STM32F746G_DISCO
        #define SD_CONTROLLER_AVAILABLE                                  // use SDIO rather than SPI (necessary on STM3240G-EVAL board)



For this option, seem I need define also SDCARD_SUPPORT in config.h.
I must to do it here ??

Code: [Select]
#if !defined TWR_K20D50M && !defined FRDM_K20D50M && !defined FRDM_KL46Z && !defined FRDM_KL43Z && !defined TWR_KL46Z48M && !defined FRDM_KL26Z && !defined FRDM_KL27Z && !defined TWR_KL25Z48M && !defined FRDM_KL02Z && !defined FRDM_KL03Z && !defined FRDM_KL05Z && !defined FRDM_KE02Z && !defined FRDM_KE02Z40M && !defined FRDM_KE04Z && !defined TWR_K20D72M && !defined TWR_K21D50M && !defined TWR_K22F120M && !defined TWR_K24F120M && !defined K24FN1M0_120 && !defined FRDM_K22F && !defined TWR_KV10Z32 && !defined TWR_KV31F120M && !defined K66FX1M0 // boards have no SD card socket
  //#define SDCARD_SUPPORT                                               // SD-card interface (only choose one of these options at a time)
  //#define SPI_FLASH_FAT                                                // SPI flash
        #define SIMPLE_FLASH                                             // don't perform block management and wear-levelling
        #define FLASH_FAT_MANAGEMENT_ADDRESS     (SIZE_OF_FLASH)
  //#define DELETE_SDCARD_FILE_AFTER_UPDATE


I must enable only one of the four options ?
Now there are enable two options

Code: [Select]
  //#define SDCARD_SUPPORT                                               // SD-card interface (only choose one of these options at a time)
  //#define SPI_FLASH_FAT                                                // SPI flash
    #define SIMPLE_FLASH                                             // don't perform block management and wear-levelling
    #define FLASH_FAT_MANAGEMENT_ADDRESS     (SIZE_OF_FLASH)




3
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by LuisHS on June 13, 2019, 11:21:12 PM »
 
I have add manually the app_hw_stm32.h file to the project, but though I have enable the define STM32F746G_DISCO, when I go to the app_hw_stm32.h, all the instructions for STM32F746G_DISCO are disabled.

I have closed and reopened the project, but they are always disabled.

4
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by LuisHS on June 13, 2019, 10:54:07 PM »
Yes, I saw, thanks.

I have replace _KINETIS by _STM32 and enable the define for the STM32F746G_DISCO, but there is none app_hw_stm32.h file to add the rest of parameters that you said in before post.
5
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by mark on June 13, 2019, 10:46:12 PM »
Hi

If using CooCox you need to open up the configuration and change the pre-processor define accordingly. For STM32 change _KINETIS to _STM32. Also change the linker script file to use the correct STM32 linker script file.

There are otherwise two separate IAR uTaskerSerialLoader projects - one for STM32 and one for KINETIS.

There are also two serarate GNU folders (with make files and liker scripts) for the two different processor families

Regards

Mark
6
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by LuisHS on June 13, 2019, 10:34:06 PM »

ok, thanks.
I have replace _KINETIS by _STM32 and enable the define for the STM32F746, but there is none app_hw_stm32.h file to add the rest of parameters that you said in before post.



7
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by mark on June 12, 2019, 02:03:21 PM »
Hi

Yes, i.MX RT 1020 is in preparation.

To a previous question:

- debug.c is not a file used by either the uTaskerboot nor uTaskerSerialBoot, which means that the projects must be trying to use the wrong files.
- the project uTaskerSerialBoot includes a mode to load from the SD card[/b]

Regards

Mark
8
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by LuisHS on June 12, 2019, 12:07:24 AM »

Ok, thank you Marc.
Are you planning to add NXP RT1020?

9
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by mark on June 11, 2019, 01:11:31 PM »
Hi

These versions are quite old and some don't have STM32F7xx support in them.

The latest Open Source version of the project is on GIT HUB:
https://github.com/uTasker/uTasker-Kinetis
and allows developing projects that run on both STM32 and Kinetis parts.

To build the serial loader for STM32F746G_DISCO use the "uTaskerSerialBoot" project and not the "uTaskerV1.4" project, where I have just checked in the STM32F746G_DISCO configuration.

Good luck

Regards

Mark

10
STTM STM32 and STR91XF / Re: Compile for STM32F746 fail
« Last post by LuisHS on June 11, 2019, 02:04:47 AM »

Now I have open the uTaskerV1.4.3_STM32, and this compile but there is nothing for the F746
Pages: [1] 2 3 ... 10