Hi Yaron,
thanks for your answer.

Yaron Leizrovich (Sightsys) wrote:
> Hello Holger,
> 
> Try set EMU0/1 to L L (0:0) instead of H H that is factory default.
> Now ARM is on scan chain without need to setup ICEPick.
> 
> then disable SCANINIT lines and define scan chain, like this:
> 
> SCANPRED    1 6  ;ICEPick TAP is before ARM926 core
> SCANSUCC    1 4  ;ETB TAP is after ARM926 core
> 

hm I tried this configuration but without success. Here is the BDI config file
we currently use:
[INIT]
WGPR    11              0x00000020      ;set frame pointer to free RAM
WM32    0x00000020      0x00000028      ; dummy stack frame


[TARGET]
CPUTYPE     ARM926E
;CLOCK       1 7                 ;BDI3000: start with 1 MHz then use 32 MHz
CLOCK       4 4                 ;BDI2000: start with 1 MHz then use 1 MHz
; CLOCK       3 3                 ;BDI2000: start with 4 MHz then 4MHz
TRST        PUSHPULL            ;TRST driver type (OPENDRAIN | PUSHPULL)
;POWERUP     2000
WAKEUP      100
RESET       HARD 500           ;NONE | HARD <n> (ms)
; STARTUP     RESET
ENDIAN      LITTLE              ;memory model (LITTLE | BIG)
BREAKMODE   SOFT                ;Use ARM9E BKPT instruction
STEPMODE    HWBP                ;HWBP single step
VECTOR      CATCH 0x02          ;catch D_Abort, P_Abort, SWI, Undef and Reset

SCANPRED        1 6              ; count for ICEPick TAP
SCANSUCC        1 4                 ; no device after ARM926e

[HOST]
;IP          192.168.1.1
PROMPT      AM1707>


[FLASH]


[REGS]
DMM1    0xD0000000              ;Internal Address Space
FILE    bdi_kw88F6281/reg88F6281.def

Any other ideas what is going wrong?

Best regards
Holger

> 
> Best regards,
> 
> Yaron Leizerovich
> Sightsys Ltd. - development tools and instrumentation.
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of
> Holger Brunck
> Sent: Tuesday, March 29, 2011 9:40 AM
> To: [email protected]
> Cc: Heiko Schocher; Detlev Zundel
> Subject: BDI2000 cfg for Sitara AM17x EVM
> 
> 
> Hi all,
> I got an Sitara AM17x EVM on my desk and try to get it up and running with
> an
> BDI2000.
> 
> The BDI comes up with an error msg:
> # JTAG: communication with target failed
> - TARGET: target will be restarted in 10 sec
> - TARGET: processing reset request
> - TARGET: BDI asserts TRST and RESET
> - TARGET: BDI removes TRST
> - TARGET: Bypass check 0x00000001 => 0x00000001
> - TARGET: JTAG exists check passed
> - Core#0: ID code is 0x00000000
> - Core#0: ICEBreaker access check failed
> - Read back is 0x00000000 instead of 0x12345678
> # TARGET: resetting target failed
> # JTAG: communication with target failed
> 
> I know that there is something special to make the TAP from the ARM CPU
> visible. On the DaVinci wiki pages I found the following SCANINIT calls:
> ; Configure ICEPick module to make ARM926 TAP visible
> SCANINIT        r1:w400000:r0       ; toggle reset for 0.4 seconds
> SCANINIT        t1:w1000:t0:w1000:  ; toggle TRST
> SCANINIT        i6=07:d8=89:i6=02:  ; connect and select router
> SCANINIT        d32=81000082:       ; set IP control
> SCANINIT        d32=a018206f:       ; configure TAP0
> SCANINIT        d32=a018216f:cl5:   ; enable TAP0, clock 5 times in RTI
> SCANINIT        d32=a018616f:cl5:   ; enable TAP0, clock 5 times in RTI
> SCANINIT        i10=ffff            ; scan bypass
> 
> Unfortunately it doesn't work with my Sitara EVM. So this sequence seems
> only to
>  work for DaVinci boards. Does anyone has a valid BDI2000 configuration for
> this
> Sitara board up and running?
> 
> Any help is appreciated.
> 
> Best regards
> Holger Brunck
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
> 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to