Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TeeYi

Pages: [1]
1
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: November 29, 2022, 05:19:31 AM »
Hi Mark,
    Thanks for your reply.
     So if I pay for the license fee, I can get the professional version for STM32 with ADC & external interrupt feature with reference application? If  yes, how can I proceed for here?
     Thanks.

2
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: November 18, 2022, 06:05:43 AM »
Hi Mark,
    Another question, I saw you mention about the open source version (currently I am using this version) and professional version. What is the different between those two version? Will the professional version support all the ADC & external port interrupt function, and how can I get this professional version?
    Thanks.
   

3
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: November 16, 2022, 03:02:12 AM »
Hi Mark,
    For this project I need to use the ADC & Interrupt, which I enable

#define SUPPORT_ADC      (in app_hw_stm32.h file)

and


       #define IRQ_TEST                                                 // test IRQ port interrupts
     (in Port_Interrupts.h file)

But same error during compiling the project.

Updating build tree...
application.c 
Error[Pe020]: identifier "INTERRUPT_LEVEL_1" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 466
Error[Pe020]: identifier "IRQ_BOTH_EDGES" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 468
Error[Pe020]: identifier "INTERRUPT_LEVEL_4" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 471
Error[Pe020]: identifier "INTERRUPT_LEVEL_5" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 477
Error[Pe020]: identifier "INTERRUPT_LEVEL_7" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 483
Error[Pe020]: identifier "test_nmi_7" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 484
Error[Pe020]: identifier "IRQ11_INTERRUPT_PRIORITY" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\Port_Interrupts.h 489
Error[Pe136]: struct "stADC_INTERRUPT_RESULT" (declared at line 8340 of "F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ADC_Timers.h 653
../../Hardware/STM32/STM32.h") has no field "ucADC_flags"
Error[Pe020]: identifier "ADC_ERR_PRIORITY" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ADC_Timers.h 851
Error[Pe020]: identifier "ADC_SINGLE_ENDED" is undefined F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ADC_Timers.h 857
Error[Pe136]: struct "stADC_SETUP" (declared at line 8358 of "F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ADC_Timers.h 860
../../Hardware/STM32/STM32.h") has no field "int_adc_speed"
Warning[Pe223]: function "ADC_SAMPLING_SPEED" declared implicitly F:\Utasker\uTasker-Kinetis-master\Applications\uTaskerV1.4\ADC_Timers.h 860
Error while running C/C++ Compiler
arp.c 

     Just want check with you, this STM32 project is not ready for ADC & port interrupt function?
     Please advice.
     Thanks.
     Tee

4
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: December 28, 2021, 07:35:59 AM »
Hi Mark,
    Thanks for your reply.
    I already found the problem which cause the firmware halt (when call this function fnCheckNewCode(&file_header)). Basically it cause by stack overflow, and it can be solved by increase the stack size (in .lcf file)

define symbol __ICFEDIT_size_cstack__ = 0x400;
    Thanks.
    Tee

5
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: December 14, 2021, 03:24:23 PM »
Hi Mark,
    Thanks for your clarification.

    By using Segger J-Flash, I manage to combine the both file & program on the MCU. But it still not working.
    After that by using IAR, I try to debug on the uTaskerBoot which I found two problem on (uTaskerBootLoader.c):

1)   The firmware never run the " start_application(UTASKER_CODE_START) " when compile for STM32, so I add defined _SMT32  as
       as below for the compiler.


#elif defined _STM32 || defined _HW_AVR32 || defined _RX6XX || defined _KINETIS || defined _LM3SXXXX || defined _LPC17XX || (defined _M5223X && (defined _GNU || defined _COMPILE_IAR)) // {14}{17}{19}{20}{21}
    #if !defined _WINDOWS
    start_application(UTASKER_CODE_START);                               // jump to the application
    #endif
#endif


2) when the program run  [ if (fnCheckNewCode(&file_header))], it will cause HardFault exception
    static void irq_hard_fault(void)
   {
    }
   I attached the print screen (IAR) for your reference.

   When I change the routine as below,

static int fnCheckNewCode(UPLOAD_HEADER *file_header)
{
    return 0;
   
}
      After compile again & combine both file (uTaskserBM and uTaskerBoot), my board success boot up and running my program.
   
      Please advice how to solve the problem for fnCheckNewCode(UPLOAD_HEADER *file_header) routine.
     
      For your information, I am using SMT32F407ZET6 .
      Thanks & best regards.
   
       Tee
     
   

6
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: December 10, 2021, 10:36:25 AM »
Hi Mark,
    I try to use uTaskerCombine tool to combine the uTaskerBoot.bin (from uTaskerBoot Project) with uTakserBM.bin (from uTaskerV1.4 Project) as below: (STM32)

   uTaskerCombine uTaskerboot.bin uTaskerBM.bin 0x1000 STM32.bin STM32.out 0x80000000

and 

   uTaskerCombine uTaskerboot.bin uTaskerBM.bin 0x1000 STM32.bin

but both command only generated STM32.bin file with 0 byte size.


    I attached both file for your reference & testing. Please advice how to generate the .out format file that required by IAR to program the firmware into the STM32 MCU.
    I am using Window 7 Professional (64bit) & uTaskerCombine V1.6 .

     Thanks.
     Tee
     
       
   

7
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: November 30, 2021, 02:12:33 PM »
Hi Mark,
   Successful compile the project using IAR9.2.
   Thanks.
    Tee

8
STTM STM32 and STR91XF / Re: STM32 uTaskerBoot Project
« on: November 29, 2021, 11:52:08 AM »
Hi Mark,
    Thanks for your reply. Could you please create the project for IAR which I'm using IAR for this STM32 uTaskerBoot.
    Thanks & best regards.
     Tee

9
STTM STM32 and STR91XF / STM32 uTaskerBoot Project
« on: November 23, 2021, 03:03:05 PM »
Hello Mark,
   I download the STM32 package from its GIT repository (V1.4.11)  which in uTasker-Kinetic-master/Applications/uTaskerBoot/ only have the project file for for Kinetis, but don't have project file for SMT32. And in the uTaskerSerialBoot folder & uTaskerV1.4 folder have project file for both Kinetis & SMT32.
    Is this  uTaskerBoot support for STM32? If yes, where I can get the project file for this STM32 uTaskerBoot?
    Thanks.
    Tee 

Pages: [1]