Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | Sending image through RTDX

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

Sending image through RTDX - m_vldmr - Nov 13 7:06:41 2006

Hello,
I have problem, when I send image through RTDX to TMS320C6416T I 
recieve black image (array with all 0), while on functional simulator 
everything works fine. Image is not greater than 1024 KB. Please 
help, I will be very greatfull.

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

Re: Sending image through RTDX - skuz...@tx.rr.com - Nov 13 9:29:46 2006

Greetings,

First, I recoomend you to use HS-RTDX since it is available on the 6416.

Second, I think you are using the TI host support.  I recommend you to use the
NI plug ins to get your RTDX/HS-RTDX.  The you will be able to see your data
live.

Third, make certain you conigure your INT table correctly to support
RTDX/HS-RTDX.

Here is an example, plug your specific ISRs in their places.

unused  .macro id

        .global unused:id:
unused:id:
        b unused:id:    ; nested branches to block interrupts
        nop 4
        nop
        nop
        nop
        nop
        nop
        nop
        .endm

SP	.set	B15			; Redefine for convenience

; To use standard RTDX, enable next line and include rtdx64xx.lib in project
;JTAGRTDX	.set	1
; To use standard high speed RTDX, enable next line and include rtdxhs.lib in
project
;HSRTDX		.set	1

    .global RESET_RST1
	.ref	_c_int00
  
	.sect "vectors"
RESET_RST1:
    mvkl .S2 _c_int00, B0
    mvkh .S2 _c_int00, B0
    B    .S2 B0
    mvkl .S2 0x10000, B0; as an example, ISTP set at 0x00010000
    mvkh .S2 0x10000, B0
	mvc      B0, ISTP
	NOP
	NOP
	    
    unused 1

    unused 2

	.if $isdefed("HSRTDX")
MSGINT_V:			; Message Interrupt Vector (reserved)
	.ref	_HSRTDX_msgint_isr		; MSGINT interrupt
	STW		B0,*SP--[2]				; save B0 temporarily
||	MVKL 	_HSRTDX_msgint_isr, B0	; load ISR address
	MVKH	_HSRTDX_msgint_isr, B0
	B		B0						; execute ISR;
	LDW		*++SP[2],B0				; restore B0
	NOP 	2
	NOP
	NOP
	.elseif	$isdefed("JTAGRTDX")
MSGINT_V:			; Message Interrupt Vector (reserved)
	.ref	RTEMU_msg
	STW 	B0, *SP--[2]
||	MVKL 	RTEMU_msg, B0
	MVKH	RTEMU_msg, B0
	B		B0
	LDW 	*++SP[2], B0
	NOP 	2
	NOP
	NOP
	.else
    unused 3
	.endif	

    unused 4

    unused 5

    unused 6

    unused 7

    unused 8

	.if	$isdefed("JTAGRTDX")
INT9:				; Maskable Interrupt #9
	.ref	RTEMU_msg
	STW 	B0, *SP--[2]
||	MVKL 	RTEMU_msg, B0
	MVKH	RTEMU_msg, B0
	B		B0
	LDW 	*++SP[2], B0
	NOP 	2
	NOP
	NOP
	.else
    unused 9
	.endif

    unused 10

	.if $isdefed("HSRTDX")
INT11: 				; Maskable Interrupt #11   HSRTDX Xmit Complete
	.ref	_HSRTDX_xmt_isr
	STW		B0,*SP--[2]				; save B0 temporarily
||	MVKL 	_HSRTDX_xmt_isr, B0		; load ISR address
	MVKH	_HSRTDX_xmt_isr, B0
	B		B0						; execute ISR;
	LDW		*++SP[2],B0			; restore B0
	NOP 	2
	NOP
	NOP
	.else
    unused 11
	.endif	

	.if $isdefed("HSRTDX")
INT12: 				; Maskable Interrupt #12   HSRTDX Rcvd Complete
	.ref	_HSRTDX_rec_isr
	STW		B0,*SP--[2]			; save B0 temporarily
||	MVKL 	_HSRTDX_rec_isr, B0		; load ISR address
	MVKH	_HSRTDX_rec_isr, B0
	B		B0						; execute ISR;
	LDW		*++SP[2],B0			; restore B0
	NOP 	2
	NOP
	NOP
	.else
    unused 12
	.endif	

    unused 13

    unused 14

    unused 15

Good luck

Hello,
>I have problem, when I send image through RTDX to TMS320C6416T I 
>recieve black image (array with all 0), while on functional simulator 
>everything works fine. Image is not greater than 1024 KB. Please 
>help, I will be very greatfull.





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