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.

MSP430F6638无法写入程序

Other Parts Discussed in Thread: MSP430F6638

大家好:

       我使用的是CCSV5.4做仿真,开发板是德研电科的DY-FFTB6638,前天开始经常无法写入程序,提示的要不然是无法擦出memory,要不就是:

MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0xd8: Could not communicate with FET

MSP430: GEL: File: G:\TI WorkSpace\ADC_PluseSensor\CCS\Debug\ADC_PluseSensor.out: Load failed.

MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0xd8: Could not write device memory

MSP430: GEL: File: E:\MSP430F6638_DemoV3.0\30.ADC_Potentiometer\ADC12_A_ex1\CCS\Debug\ADC12_exercise.out: Load failed.

但今天连上USB线,电脑的设备管理器显示驱动正常,电源已打开,但在debug的时候,总是提示MSP430: Error connecting to the target: Could not find device (or device not supported),无论怎么插拔数据线,或者是更换数据线,均出现上面的提示,说无法连接到设备,请问这是怎么回事?是芯片坏了还是?

  • 排除数据线的问题,考虑是不是板上的单片机坏了。

    其次,如果有IAR的话可以测试一下,用它下载。

    再或者就是仿真器坏了。还有板子上有没有什么开关控制仿真与加载的,你没注意到。

    希望可以帮到你,我会再帮你找找资源。

  • 你好,我在更换了单片机以后就可以写入程序了,但还是时不时地提示:MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0xd8: Could not write device memory

    请问这是我写入的方法不对还是什么?我的操作是:单击build,没有错误以后用数据线连接电脑与单片机,打开单片机的电源,单击debug。请问这个操作有错误么?

    谢谢!

  • 方法的话,你查一下对应你这款芯片仿真的时候,对应的上电顺序:

    一般是先仿真器,因为有时假如仿真器做的质量不是太好的话,目标板上的系统有时可以反写仿真器程式,这样就会把仿真器里程式就会丢失。
    然后是目标板上电。
    
    
    你这个具体问题,页面内存写不进去,应该是比较基本的问题,再仔细检查检查步骤,如果附近有懂的人的话请教一下,因为具体情况也许是小细节没注意。
  • 好的,我知道了,非常感谢!