Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | error -2140 working with blackhawk jtag

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

error -2140 working with blackhawk jtag - tal....@gmail.com - Jan 2 11:27:54 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!!!!
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: error -2140 working with blackhawk jtag - Jan Humpl - Jan 3 11:32:31 2008

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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )