DSPRelated.com
Forums

error -2140 working with blackhawk jtag

Started by tal....@gmail.com January 2, 2008
I have a program that runs from SRAM (mapped to address 0x100000)
It worked fine on ccstudio 3.1 with serial connection to ezdspf2812.

I installed version 3.3. of code composer studio.
I setup program to continue bh-usb510-c28xx.. I connected the blackhawk JTAG (and disconected the serial port) from ezdsp.

The problem now is that I cannot run a program from the SRAM.
We have a 64K SRAM on the ezdsp and I cant use them.

1. when linking the program into SRAM I get data verification fail. and I get message:
"Trouble writing memory to block ... at .... on page 0 of length ...
Error 0x00000002 / -2140
Error during: Memory, cannot access memory address at 0x....
sequence id: 66
error code: -2140
error class: 0x00000002"
Of course everything worked fine with version 3.1 , without JTAG

2. If I first view memory addr 0x100000 It takes about a minute till I can see the data!
3. After viewing memory link somehow succeeds but then I get stuck in run time and cannot even reach my main program

Please help!!!!
Hi,
I have not F2812 kit, but I think you have not external RAM correctly
initialized. Is XZCS6AND7 pin set correctly? Try to start program in
internal ram, then initialize external RAM, then try to use external RAM.

t...@gmail.com napsal(a):
> I have a program that runs from SRAM (mapped to address 0x100000)
> It worked fine on ccstudio 3.1 with serial connection to ezdspf2812.
>
> I installed version 3.3. of code composer studio.
> I setup program to continue bh-usb510-c28xx.. I connected the blackhawk
> JTAG (and disconected the serial port) from ezdsp.
>
> The problem now is that I cannot run a program from the SRAM.
> We have a 64K SRAM on the ezdsp and I cant use them.
>
> 1. when linking the program into SRAM I get data verification fail. and
> I get message:
> "Trouble writing memory to block ... at .... on page 0 of length ...
> Error 0x00000002 / -2140
> Error during: Memory, cannot access memory address at 0x....
> sequence id: 66
> error code: -2140
> error class: 0x00000002"
> Of course everything worked fine with version 3.1 , without JTAG
>
> 2. If I first view memory addr 0x100000 It takes about a minute till I
> can see the data!
> 3. After viewing memory link somehow succeeds but then I get stuck in
> run time and cannot even reach my main program
>
> Please help!!!!

--
Ing. Jan Humpl
vývojový pracovník / development engineer
tel.: (+420) 251 115 266, (+420) 777 343 884
fax: (+420) 251 115 255
e-mail: h...@poll.cz
http://www.poll.cz

POLL, s.r.o.
Křížová 3/3132, 150 00 Praha 5