cancel
Showing results for 
Search instead for 
Did you mean: 

Query about Multiple(upto 8 tokens concurrently) FW loading in STM32F042K6U6 MCU

Yogesh Kaushik
Associate
Posted on June 26, 2018 at 05:42

Hi,

Our team is responsible for automation of all the mass manufacturing for Gemalto’s IDSS division. We are using ST chip STM32F042K6U6 for one of our product,

We are trying 

to support to load  firmware in Multiple chips concurrently with DFU method

, by referring DfuSeDemo application ver 3.0.5. 

We are facing certain issues in the application:

1.

Some tokens fails with unknown error while uploading the firmware in multiple tokens concurrently.

2.

Sometimes after loading F/W in few tokens, System is getting crashed due to crash in STTubeDriver (STTub30.sys) version 3.0.1.0. I am attaching a crash dump.

3. 

After loading F/W in few token (aprox. 150 - 200) USB detection stops and the F/W  loading process stucks in intermediate state.

So, We have few queries regarding the application DfuSeDemo:

1.

Is it theoretically and practically possible to load FW in  multiple concurrent tokens on one computer or are there any limitations on the no. of tokens or some system requirements?

2.

Are ST libraries used in DfuSeDemo  Application threadsafe? (We have changed the global variables used in the code to member variables for multithreading purpose).

3.

Are functions used in DfuSeDemo  Application Projects like (

STDFUFILES_OpenExistingDFUFile, STDFUFILES_FilterImageForOperation, STDFUFILES_DuplicateImag, STDFUPRT_LaunchOperation, STDFUPRT_CreateMappingFromDevice 

etc.) are threadsafe?

4.

Any specific reason for  Why STTube driver is getting crashed?

0 REPLIES 0