9 years, 8 months ago.

Kinetis Interface Tool V2 KIT 2 Rev. 2.1. Problem With Example Command Interface File(s)

Hello,

I get errors when I test the command interface in the Kinetis Interface Tool Using the sample command list files.
The problem only occurs with 

'0x01 0x02 0x02 0x00 0x01 0x52  // Start APP Streaming' 

commands listed in the files.

Are these 'Sub<n>_Data.txt' files the correct command files for testing?
Is this the correct byte-code command for the 'Start APP Streaming' command
for this version of 'FRDM-STBC-AGM01'   on 'FRDM-K64F'  (FRDM-K64F-AGM01)?

The details are listed below.

Thanks.


Path: CommandListFiles/

Files: 
Sub1_Data.txt
Sub2_Data.txt
Sub3_Data.txt
Sub4_Data.txt
Sub5_Data.txt

The following are sample returned text from using 'Sub1_Data.txt' as input:

Device connected at COM5
Writing To Device-
01  01  06  00  00  
Protocol: ISF Command Interpreter - Device Response
01  01  80  00  00  
Writing To Device-
01  02  06  00  00  
Protocol: ISF Command Interpreter - Device Response
01  02  80  00  00  
Writing To Device-
01  01  02  2C  0C  02  0A  02  0B  02  0C  02  0D  02  0E  02  0F  
Protocol: ISF Command Interpreter - Device Response
01  01  80  0C  0C  
Writing To Device-
01  01  02  18  14  02  00  02  01  02  02  02  03  02  04  02  05  02  06  02  07  02  08  02  09  
Protocol: ISF Command Interpreter - Device Response
01  01  80  14  14  
Writing To Device-
01  01  02  38  01  04  
Protocol: ISF Command Interpreter - Device Response
01  01  80  01  01  
Writing To Device-
01  02  02  00  01  52  
Protocol: ISF Command Interpreter - Device Response Error! 

The text of 'Sub1_Data.txt' is as follows:

0x01 0x01 0x06 0x00 0x00  // Reset MBOX
0x01 0x02 0x06 0x00 0x00  // Reset APP
0x01 0x01 0x02 0x2C 0x0C 0x02 0x0A 0x02 0x0B 0x02 0x0C 0x02 0x0D 0x02 0x0E 0x02 0x0F  // TS + ACCEL #1
0x01 0x01 0x02 0x18 0x14 0x02 0x00 0x02 0x01 0x02 0x02 0x02 0x03 0x02 0x04 0x02 0x05 0x02 0x06 0x02 0x07 0x02 0x08 0x02 0x09  // TS + ACCEL #2
0x01 0x01 0x02 0x38 0x01 0x04  // Enable CI Streaming
0x01 0x02 0x02 0x00 0x01 0x52  // Start APP Streaming
0x01 0x02 0x02 0x00 0x01 0x50  // Stop APP Streaming

Question relating to:

This has been resolved. I simply downloaded Sensor Fusion Toolbox and used that instead.

Here is the link to the download for windows: https://community.freescale.com/docs/DOC-104000

P

posted by Peter Willis 28 Mar 2015

1 Answer

9 years, 4 months ago.

Hello Peter,

I get exactly the same error message with a K64 board. When using a KL25, the interface works properly. I believe there is a bug at the firmware for the K64 board.

I have just reported that to the adequate forum at the Freescale Community, where probably the creators of the toolbox may answer that. I suggest you to follow it:

https://community.freescale.com/message/532315#532315

Cheers,

Antonio

Accepted Answer