This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uniflash 3.4.1无法烧录程序

Other Parts Discussed in Thread: CC3100, UNIFLASH, CC3200

按了program之后,在detecting FTDI for device reset之后没多久就返回了

正常情况下要么会重试几次wait,要么就开始出现进度条对话框开始烧录了。但并没有,直接返回,没有烧录,也没报错信息。

使用uniflashcli.bat运行image program,提示java异常,在一个"main" thread  method native int 的时候出现了invalid memory access 的异常。

以上错误请参考附件截图

snapshot.zip
  • 很抱歉,您的图片有些不太清晰,能否给出清晰的截图?

    请问您现在使用的是什么硬件?关于UniFlash您可以先看一下 http://processors.wiki.ti.com/index.php/CCS_UniFlash_-_CC3100/CC3200_Edition

  • Hi Chris,

    你是自己做的板子还是用的TI的DEMO板?仿真器用的什么?如果你用的自己的板子,你板子跟仿真器的连线是怎样的?

    另外,你之前有没有成功烧录过?是不是java环境被破坏了?有没有重装一下试一试?最新Uniflash版本为V4.2.2,当然之前的v3.4.1对于CC3100/CC3200也是可用的。

  • Hi David,

    硬件是我们自己的板子。直接用串口烧录。这个问题在某些电脑上出现,某些电脑上烧录正常,可以排除操作问题和硬件问题;

    uniflash有重装过,没能解决问题。我们是烧录cc3200,所以用的是v3.4.1 300多M那个离线安装版本。

    uniflash点GetVersion的时候,输出如下:

    [16:39:34] Begin GetVersion operation.
    [16:39:35] INFO: > Executing Operation: Connect
    [16:39:37] INFO: setting break signal
    [16:39:38] INFO: detecting FTDI for device reset
    [16:39:38] INFO: > Executing Operation: Disconnect
    [16:39:38] Operation GetVersion returned. 
    

    操作返回了,但是并没有任何输出。

    用命令行uniflashCLI刷的时候,输出如下:

    ***** Texas Instruments Universal Flash Programmer *****
    
    > Configuring UniFlash with the following configuration: D:/Door_Bell/tools/CC3200MP/CC3200MP/CC3200MP.usf
    
    > Device: SimpleLink Wifi CC3100/CC3200
    > Interface: CC3x Serial(UART) Interface
    
    > Template XML: D:\Door_Bell\tools\CC3200MP\CC3200MP\CC3200MP_session\templates\CC3xxx_template.xml
    > Token XML: D:\Door_Bell\tools\CC3200MP\CC3200MP\CC3200MP_session\templates\CC3xxx_token.xml
    > User setting [com]: 3
    > User setting [imagePath]: D:/Door_Bell/tools/CC3200MP/CC3200MP/CC3200MP.bin
    
    > Executing operation: getVersion
    INFO: > Executing Operation: Connect
    INFO: setting break signal
    INFO: detecting FTDI for device reset
    INFO: > Executing Operation: Disconnect
    Exception in thread "main" java.lang.Error: Invalid memory access
    	at com.sun.jna.Native.invokeInt(Native Method)
    	at com.sun.jna.Function.invoke(Function.java:383)
    	at com.sun.jna.Function.invoke(Function.java:315)
    	at com.sun.jna.Library$Handler.invoke(Library.java:212)
    	at com.sun.proxy.$Proxy0.ExecuteOperation(Unknown Source)
    	at com.ti.uniflash.cc3xx.integrationlayer.IntegrationLayerLibraryProxy.ExecuteOperation(IntegrationLayerLibraryProxy.java:43)
    	at com.ti.uniflash.cc3xx.controlflow.UserOperationsHandler.ExecuteOperationHandler(UserOperationsHandler.java:272)
    	at com.ti.uniflash.cc3xx.controlflow.UserOperationsHandler.executeTargetOp(UserOperationsHandler.java:325)
    	at com.ti.uniflash.cc3xx.controlflow.UserOperationsHandler.ExecuteOp(UserOperationsHandler.java:368)
    	at com.ti.uniflash.cc3xx.commands.base.BaseExecuteCommand.execute(BaseExecuteCommand.java:18)
    	at com.ti.uniflash.cc3xx.commands.base.GenericCommandHandler.execute(GenericCommandHandler.java:16)
    	at com.ti.uniflash.commandline.CC3xCommandLineHandler.executeOperation(Unknown Source)
    	at com.ti.uniflash.commandline.CommandLine.executeOperations(Unknown Source)
    	at com.ti.uniflash.commandline.CommandLine.main(Unknown Source)
    
  • 你好,文字输出请看我上一个回复的帖子