Atmel Studio atprogram.exe抛出TCF错误代码131120

时间:2017-06-07 11:21:53

标签: command-line-interface atmel atmelstudio

我尝试从这样的AT32UC3B1128(使用jtagicemkii)读取设备信息

atprogram.exe -v -i JTAG -d AT32UC3B1128 -cl 100khz info

在我的工作站上执行此操作,我得到以下输出(底部包含错误消息):

StdOut: 

Firmware check OK
Tool jtagicemkii has firmware version: 07.27
Target voltage: 3.35 V

Device information:

Name:       AT32UC3B1128  
JtagId:     0x81ee703f    
Revision:   I             
CPU arch.:  AVR32_UC3     
Series:     

Security bit is not set.

Memory Information:

Address Space    StartAddress            Size

sysreg                    0x0           0x400

dbgreg                    0x0           0x400

base                      0x0     0x100000000
  FLASH            0x80000000         0x20000
  USER_PAGE        0x80800000           0x200
  SRAM                    0x0          0x8000
  USBB_SLAVE       0xd0000000        0x800000
  IO               0xfffe0000         0x20000

fuses              0xfffe1410             0x4


Fuses:
FGPFRLO (0b11111111111111111111111111111111):
   BODEN         0x3L
   BODHYST       OFF
   BODLEVEL      0x3fL
   BOOTPROT      0x7L
   EPFL          OFF
   LOCK15        OFF
   LOCK14        OFF
   LOCK13        OFF
   LOCK12        OFF
   LOCK11        OFF
   LOCK10        OFF
   LOCK9         OFF
   LOCK8         OFF
   LOCK7         OFF
   LOCK6         OFF
   LOCK5         OFF
   LOCK4         OFF
   LOCK3         OFF
   LOCK2         OFF
   LOCK1         OFF
   LOCK0         OFF

StdErr: 

[DEBUG] Starting execution of "info"
[DEBUG] Starting process 'C:\Program Files (x86)\Atmel\Studio\7.0\atbackend\atbackend.exe'
[DEBUG] Connecting to TCP:127.0.0.1:49811
[INFO] Connected to jtagicemkii, fw version: 7.27
[INFO] Firmware check OK
[ERROR] Error in TCF lockbit format. Missed key Could not get Module LOCKBIT for AT32UC3B1128. (TCF Error code: 131120)
[DEBUG] Command "info" finished with return code 0
[DEBUG] Exit successfully.

如您所见,以下错误消息输出到标准错误:

[ERROR] Error in TCF lockbit format. Missed key Could not get Module LOCKBIT for AT32UC3B1128. (TCF Error code: 131120)

我不知道如何解决此错误,并且无法找到有用的搜索类似错误消息的内容。

我在另一台具有相同编程器和硬件的PC上尝试过,它运行正常。唯一明显的区别是Atmel Studio的不同版本。我安装了最新版本7.0.1417,而另一台PC使用7.0.1006。

有什么想法吗?

PS:Atmel Studio本身似乎工作正常。我可以从GUI中读取保险丝和锁定位置。此外,从命令行擦除/编程也很好。从错误来看,它似乎是"锁定格式"由于缺少"锁定模块"。

1 个答案:

答案 0 :(得分:0)

我在AvrFreaks上找到了关于此问题的官方response from Atmel

  

我们已经在内部解决了这个问题。不幸的是,它将在下一个版本发布之前无法使用(不仅仅是DFP广告管理系统更新,错误AVRSV-7837)。