AnsweredAssumed Answered

ADSP-SC589 EZBRD: Flashing Uboot for the first time

Question asked by pj0585 on Dec 26, 2016
Latest reply on Dec 27, 2016 by pj0585



On my ADSP-SC589 EZBRD I'm trying to program linux (I'm using ICE1000). I have install CCES 2.3.0 and Linux Addin 1.1.0.


I'm following the instructions in the help "Linux Addin Users Guide -> A Quick start Guide -> SC58x EZ-Kit Linux Quick Start Guide -> 3 Flashing Uboot for the First time"


On doing the following:

cd /opt/analog/cces-linux-add-in/1.1.0/uboot-sc58x-1.1.0/bin

$ arm-none-eabi-gdb u-boot-sc58x-ezkit-hpc

(gdb) target remote :3333

I see the following output:

root@cceslinux:/opt/analog/cces/2.3.0/ARM/arm-none-eabi/share/openocd/scripts# /opt/analog/cces/2.3.0/ARM/arm-none-eabi/bin/openocd -f interface/ice1000.cfg -f target/adspsc58x.cfg
Open On-Chip Debugger (Analog Devices CCES 2.3.0 OpenOCD 0.9.0-gb1bed08) 0.9.0
Licensed under GNU GPL v2
Report bugs to <>
adapter speed: 1000 kHz
trst_only separate trst_push_pull
Info : ICE-1000 firmware version is 1.0.2
Info : clock speed 1000 kHz
Info : JTAG tap: adspsc58x.adjc tap/device found: 0x128080cb (mfg: 0x065, part: 0x2808, ver: 0x1)
Info : JTAG tap: adspsc58x.dap enabled
Info : adspsc58x.dap: hardware has 3 breakpoints, 2 watchpoints
Info : adspsc58x.dap: but you can only set 1 watchpoint
Info : accepting 'gdb' connection on tcp/3333
Info : ttbcr 0ttbr0 81234000ttbr1 0
Info : adspsc58x.dap rev 1, partnum c05, arch f, variant 0, implementor 41
Info : number of cache level 1
Info : adspsc58x.dap cluster 0 core 0 mono core
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x000701d7 pc: 0x200b3070
MMU: enabled, D-Cache: enabled, I-Cache: enabled
Data fault registers        DFSR: 00000807, DFAR: 2007fffc
Instruction fault registers IFSR: 00000404, IFAR: 7d867d45
semihosting is enabled
Error: data abort at 0x00000002, dfsr = 0x00000005



When I do this:

(gdb) load init-sc58x-ezkit-hpc.elf
Loading section .text, size 0x33c lma 0x20080000
Start address 0x20080024, load size 828
Transfer rate: 727 bytes/sec, 828 bytes/write.
(gdb) c
Program received signal SIGINT, Interrupt.
0x200b3070 in ?? ()
(gdb) load u-boot-sc58x-ezkit-hpc
Loading section .text, size 0x2d864 lma 0xc2200000
Load failed


I see this:

Error: data abort at 0x00000002, dfsr = 0x00000005
Error: data abort at 0x00000002, dfsr = 0x00000005
Error: data abort at 0xc2200000, dfsr = 0x00000805
Error: Memory write failure!



And I'm not seeing anything (expecting UBoot start log) on the serial lines.


In previous attempts (few months back) I have successfully executed this steps and gone past this point. I don't know why this is failing today.


Any idea what I may be doing wrong. Any inputs will be of help to me.


Thanks & regards, Pj