0

我有一个在 SAM3S(cortex-m3) 上运行的旧项目,我需要将它用作应该在 Sam4S cortex-M4 上运行的新项目的基础。更改 o 后,opeocd.cfg 我收到此错误,但我不明白它们的真正含义:

Error: Target not examined yet
in procedure 'halt'

Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: at91sam3s4.cpu: IR capture error; saw 0x00 not 0x01
Error: Target not examined yet

这里有人可以提示我应该在哪里看吗?

更新

现在我得到这个错误:

Error: SAM4 ChipID 0x28ab07e0 not found in table (perhaps you can ID this chip?)
         Version:     0 [0x0000] 
           EPROC:     7 [0x0007] cortex-m4
         NVPSIZE:     7 [0x0007] 128K bytes
        NVPSIZE2:     0 [0x0000] none
        SRAMSIZE:    11 [0x000b] 64K Bytes
            ARCH:   138 [0x008a] ATSAM3S/SAM4S xC Series (100-pin version)
          NVPTYP:     2 [0x0002] embedded flash memory
           EXTID:     0 [0x0000] (exists: NO)
Error: auto_probe fail

知道现在有什么问题吗

4

1 回答 1

1
Error: at91sam3s4.cpu: IR capture error; saw 0x00 not 0x01

您需要 cortex-M4 的体系结构和 BSP 文件。然后您可以将您现有的项目合并到 cortex M4 的 BSP。

at91sam3s4.cpu似乎它属于皮质 M3。所以,它不会在那里。

但是,您会在 atmel 网站 http://www.atmel.com/tools/SAM4S-EK.aspx上获得更多答案

于 2015-07-30T09:23:34.253 回答