Quantcast
Channel: Processors forum - Recent Threads
Viewing all 17527 articles
Browse latest View live

Triggering EDMA with Timer Question

$
0
0

Hello,

I've research countless forums and the technical reference without any luck. I have a solution but I'm trying to research a more elegant approach. I'm using SYSBIOS, the omapl137 and I'm working on the DSP side.

I would like to trigger a DMA event only when TIMIN12 = one of the CMP (compare registers).

I'm reading: "SPRUH92D" Section: 30.1.9 and the description is a little ambiguous. Please excuse me if I missed something obvious.

30.1.9 DMA Event Support

Each of the timers can send either one of two separate timer events (TEVTn) to the DMA engine, depending on the operating mode of the timer. The timer events are generated when the count value in the counters register reaches the value specified in the period register. When the PLUSEN bit in the timer global control register TGCR) is set, matches between TIM12 and CMPn in dual 32-bit unchained mode will also generate DMA events. Setting the PLUSEN bit also enables additional features for control, status, and generation of dma events are enabled. See Section 30.1.11 for more information.

It states:"will also" does this means that it will trigger a DMA with both conditions: TIM12 = PRD12 and TIM12=CMPx or it will just do one of the two?

I'm trying to generate a pulse at 600 KHz but trigger the DMA 900 ns after the pulse is sent. I already have TMP64_OUT generating such pulse.

Jaime


NAND READ ECC UNCORRECTABLE ERROR

$
0
0

Hi,

    I am using OMAPL-138 package in our project. I am facing nand read ecc uncorrectable error while reading nand page. I am able to write page successfully but not able to read same page after writing. Please do needful for this critical issue asap.

Regards,

Mitul Shinde

Capturing Image with CMOS camera on OMAP l-138 lcdk

$
0
0

Hi experts,


I am using a CMOS camera (DKF 23U274) and the Omap l-138 lcdk board (running linux 3.3) to capture and save an image. I made a small program to get the image on my host PC and everything goes ok, but when i tried to run the same program on the omap-l138 board, the raw image looks weird everytime.

Raw image on the board:

Raw image on the host PC:

Do you have any idea how to solve this?

Thanks for your help,

Regards,

Pedro

Board not booting omapl-137

$
0
0

Hi

Team 

I am trying to boot my custom board omap-l137 !

I tried inline debugging and I am able to read the data content from SPI and i have added a toggle function for debug and it works

Now I am trying to generate a Ais file and write this to flash and trying to boot

I have added my led code in the main function of DSP where the this function executes initially

I have problem here where the board is not booting and no leds blink!

My debugging technique is that if that led blinks so that led blinks so that i can make sure my DSP-UBL IS UP ON BOARD!

nOT SURE Y MY BOARD IS NOT BOOTING!

wHAT COULD BE THE DEBUGGING TECHNIQUE AND CHANGES!

Thank you

Deepak R

Xclkfail in xstat is set automatic after clear also.

$
0
0

MCASP_XCLKCHK = 0x00FF0008;

 
    if(REGR32_FIELD(MCASP_XSTAT,XCKFAIL) == 1){
          MCASP_XSTAT = 0x0000FFFF;
        MCASP_XINTCTL = 0x00000000
    }
    
      
    while(1){
        if(REGR32_FIELD(MCASP_XCLKCHK,XCNT) > 32)
            break;

            if(REGR32_FIELD(MCASP_XSTAT,XCKFAIL) == 1){
              REGW32(MCASP_XSTAT,0x0000FFFF);
            REGW32(MCASP_XINTCTL,0x00000000);
        }
    }
    

OMAP-L138 Nand bad block managment

$
0
0

Hi.

We have OMAP-L138 custom board with Davinci nand controller and Micron MT29F1G08ABCHC 1Gb nand chip. We are using latest psp03.22.00.06.sdk
We have in uboot:

#define CONFIG_SYS_NAND_USE_FLASH_BBT
#define CONFIG_SYS_NAND_ONFI_DETECTION
#undef CONFIG_MTD_NAND_VERIFY_WRITE
#define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
//#define CONFIG_BCH
//#define CONFIG_NAND_ECC_BCH
#define CONFIG_SYS_NAND_PAGE_2K
#undef  CONFIG_SYS_NAND_BUSWIDTH_16_BIT

When I reset the unit, I always get (twice) the line:

Bad block table not found for chip 0

And then:

Bad block table written to 0x000007fe0000, version 0x01
Bad block table written to 0x000007fc0000, version 0x01


The contents of 0x7fe0000:

U-Boot > nand dump 0x7fe0000
Page 07fe0000 dump:
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
OOB:
        ff ff ff ff ff ff 3f 27
        56 f5 29 d8 61 d9 9d 14
        ff ff ff ff ff ff 3f 27
        56 f5 29 d8 61 d9 9d 14
        ff ff ff ff ff ff 3f 27
        56 f5 29 d8 61 d9 9d 14
        ff ff ff ff ff ff 3f 27
        56 f5 29 d8 61 d9 9d 14

And the contents of 0x7fe0000 is exactly the same.

Why is the behavior? Shouldn't the bad block table be written only if not found, and on the next boot it should be read from flash? Why it doesn't find the bad block table after writing it to nand?

Mouse Cursor Doesn't move on QT program

$
0
0

Hi,

I am trying to run a graphic interface, developed with QT, on the omap l-138 lcdk board, but the mouse never moves. I already tried to check the Kernel configuration, but i am not finding anything... Has anyone facing this problem?

When i connect the mouse this appears on the console:
root@omapl138-lcdk:~# usb 1-1: new low-speed USB device number 4 using ohci     
input: USB OPTICAL MOUSE  as /devices/platform/ohci.0/usb1/1-1/1-1:1.0/input/in3
generic-usb 0003:0101:0007.0003: input: USB HID v1.11 Mouse [USB OPTICAL MOUSE 0


Here's my lsusb:
root@omapl138-lcdk:~# lsusb                                                     
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  
Bus 001 Device 003: ID 0101:0007                                                
Bus 002 Device 002: ID 199e:8413 The Imaging Source Europe GmbH

Here's my dmesg:
Booting Linux on physical CPU 0                                                 
Linux version 3.3.0 (pfreire@pfreire-Latitude-E6410) (gcc version 4.5.3 20110316
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
CPU: VIVT data cache, VIVT instruction cache                                    
Machine: AM18x/OMAP-L138 lcdk board                                             
Memory policy: ECC disabled, Data cache writeback                               
BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space                  
DaVinci da850/omap-l138/am18x variant 0x1                                       
On node 0 totalpages: 32768                                                     
free_area_init_node: node 0, pgdat c050cd94, node_mem_map c052c000              
  DMA zone: 256 pages used for memmap                                           
  DMA zone: 0 pages reserved                                                    
  DMA zone: 32512 pages, LIFO batch:7                                           
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768                                   
pcpu-alloc: [0] 0                                                               
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512      
Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=f
PID hash table entries: 512 (order: -1, 2048 bytes)                             
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                  
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                    
Memory: 128MB = 128MB total                                                     
Memory: 124608k/124608k available, 6464k reserved, 0K highmem                   
Virtual kernel memory layout:                                                   
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)                               
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)                               
    modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
      .text : 0xc0008000 - 0xc04a4000   (4720 kB)                               
      .init : 0xc04a4000 - 0xc04d1000   ( 180 kB)                               
      .data : 0xc04d2000 - 0xc050d820   ( 239 kB)                               
       .bss : 0xc050d844 - 0xc052b12c   ( 119 kB)                               
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
NR_IRQS:245                                                                     
Console: colour dummy device 80x30                                              
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)                         
pid_max: default: 32768 minimum: 301                                            
Mount-cache hash table entries: 512                                             
CPU: Testing write buffer coherency: ok                                         
Setting up static identity map for 0xc0384538 - 0xc0384590                      
gpiochip_add: registered GPIOs 0 to 31 on device: DaVinci                       
gpiochip_add: registered GPIOs 32 to 63 on device: DaVinci                      
gpiochip_add: registered GPIOs 64 to 95 on device: DaVinci                      
gpiochip_add: registered GPIOs 96 to 127 on device: DaVinci                     
gpiochip_add: registered GPIOs 128 to 143 on device: DaVinci                    
DaVinci: 144 gpio irqs                                                          
print_constraints: dummy:                                                       
NET: Registered protocol family 16                                              
EMAC: MII PHY configured                                                        
bio: create slab <bio-0> at 0                                                   
SCSI subsystem initialized                                                      
libata version 3.00 loaded.                                                     
usbcore: registered new interface driver usbfs                                  
usbcore: registered new interface driver hub                                    
usbcore: registered new device driver usb                                       
i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)                           
Advanced Linux Sound Architecture Driver Version 1.0.24.                        
Switching to clocksource timer0_1                                               
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)                            
musb-hdrc musb-hdrc: dma type: dma-cppi41                                       
MUSB255 controller's USBSS revision = 4ea11003                                  
Waiting for USB PHY clock good...                                               
musb-hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)                        
musb-hdrc: MHDRC RTL version 1.800                                              
musb-hdrc: setup fifo_mode 2                                                    
musb-hdrc: 7/9 max ep, 2624/4096 memory                                         
musb-hdrc musb-hdrc: USB OTG mode controller at fee00000 using DMA, IRQ 58      
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
TCP established hash table entries: 4096 (order: 3, 32768 bytes)                
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                       
TCP: Hash tables configured (established 4096 bind 4096)                        
TCP reno registered                                                             
UDP hash table entries: 256 (order: 0, 4096 bytes)                              
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
NET: Registered protocol family 1                                               
RPC: Registered named UNIX socket transport module.                             
RPC: Registered udp transport module.                                           
RPC: Registered tcp transport module.                                           
RPC: Registered tcp NFSv4.1 backchannel transport module.                       
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
msgmni has been set to 243                                                      
io scheduler noop registered (default)                                          
da8xx_lcdc da8xx_lcdc.0: GLCD: Found VGA_Monitor panel                          
Console: switching to colour frame buffer device 80x30                          
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled                        
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7                       
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7                       
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7                       
console [ttyS2] enabled                                                         
brd: module loaded                                                              
ahci ahci: forcing PORTS_IMPL to 0x1                                            
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode        
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc                
scsi0 : ahci_platform                                                           
ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67      
No NAND device found                                                            
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5                          
davinci_mdio davinci_mdio.0: detected phy mask ffffff7f                         
davinci_mdio.0: probed                                                          
davinci_mdio davinci_mdio.0: phy[7]: device davinci_mdio-0:07, driver SMSC LAN80
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                          
ohci ohci.0: DA8xx OHCI                                                         
ohci ohci.0: new USB bus registered, assigned bus number 1                      
Waiting for USB PHY clock good...                                               
ohci ohci.0: irq 59, io mem 0x01e25000                                          
hub 1-0:1.0: USB hub found                                                      
hub 1-0:1.0: 1 port detected                                                    
Initializing USB Mass Storage driver...                                         
usbcore: registered new interface driver usb-storage                            
USB Mass Storage support registered.                                            
 gadget: Gadget Zero, version: Cinco de Mayo 2008                               
 gadget: zero ready                                                             
musb-hdrc musb-hdrc: MUSB HDRC host driver                                      
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2              
hub 2-0:1.0: USB hub found                                                      
hub 2-0:1.0: 1 port detected                                                    
input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0    
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0                        
omap_rtc: RTC power up reset detected                                           
omap_rtc: already running                                                       
i2c /dev entries driver                                                         
lirc_dev: IR Remote Control driver registered, major 253                        
IR NEC protocol handler initialized                                             
IR RC5(x) protocol handler initialized                                          
IR RC6 protocol handler initialized                                             
IR JVC protocol handler initialized                                             
IR Sony protocol handler initialized                                            
IR RC5 (streamzap) protocol handler initialized                                 
IR SANYO protocol handler initialized                                           
IR MCE Keyboard/mouse protocol handler initialized                              
IR LIRC bridge handler initialized                                              
Linux video capture interface: v2.00                                            
usbcore: registered new interface driver uvcvideo                               
USB Video Class driver (1.1.1)                                                  
watchdog watchdog: heartbeat 60 sec                                             
cpuidle: using governor ladder                                                  
cpuidle: using governor menu                                                    
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
usbcore: registered new interface driver usbhid                                 
usbhid: USB HID core driver                                                     
usbcore: registered new interface driver snd-usb-audio                          
soc-audio soc-audio.0: ASoC: Failed to create card debugfs directory            
ata1: SATA link down (SStatus 0 SControl 300)                                   
ALSA device list:                                                               
  No soundcards found.                                                          
TCP cubic registered                                                            
NET: Registered protocol family 17                                              
console [netcon0] enabled                                                       
netconsole: network logging started                                             
davinci_emac davinci_emac.1: using random MAC addr: 12:22:67:92:6b:ac           
omap_rtc omap_rtc: setting system clock to 2013-11-06 04:39:27 UTC (1383712767)
Waiting for root device /dev/mmcblk0p2...                                       
mmc0: new high speed SDHC card at address aaaa                                  
mmcblk0: mmc0:aaaa SS08G 7.40 GiB                                               
 mmcblk0: p1 p2 p3                                                              
usb 1-1: new low-speed USB device number 2 using ohci                           
kjournald starting.  Commit interval 5 seconds                                  
EXT3-fs (mmcblk0p2): using internal journal                                     
EXT3-fs (mmcblk0p2): recovery complete                                          
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode                
VFS: Mounted root (ext3 filesystem) on device 179:2.                            
Freeing init memory: 180K                                                       
input: USB OPTICAL MOUSE  as /devices/platform/ohci.0/usb1/1-1/1-1:1.0/input/in1
generic-usb 0003:0101:0007.0001: input: USB HID v1.11 Mouse [USB OPTICAL MOUSE 0
usb 2-1: new high-speed USB device number 2 using musb-hdrc                     
uvcvideo: Unknown video format 42474752-0000-0010-8000-00aa00389b71             
uvcvideo: Found UVC 1.10 device DFK 23U274 (199e:8413)                          
kjournald starting.  Commit interval 5 seconds                                  
EXT3-fs (mmcblk0p3): using internal journal                                     
EXT3-fs (mmcblk0p3): recovery complete                                          
EXT3-fs (mmcblk0p3): mounted filesystem with writeback data mode                
davinci_mdio davinci_mdio.0: resetting idled controller                         
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_)
PHY: davinci_mdio-0:07 - Link is Up - 100/Full                                  
NET: Registered protocol family 10                                              
eth0: no IPv6 routers present                                                   
uvcvideo: Failed to resubmit video URB (-1).                                    
uvcvideo: Failed to resubmit video URB (-1).                                    
uvcvideo: Failed to resubmit video URB (-1).                                    
uvcvideo: Failed to resubmit video URB (-1).                                    
uvcvideo: Failed to resubmit video URB (-1).

Thanks,

SPI0 slave unable to run continuously clocked 16-bit words @ 24MHz+ clock rate

$
0
0

Hello, 

I had a previous ticket where originally it was thought that the some lost words from the SPI peripheral was down to EDMA3 transfer issues (see post here ), but it turns out that the SPI peripheral is flagging issues on the SPI bus and are discarding words due to either bit length errors on SIMO or TX errors on SOMI (both very occasionally, say once every hour). We are running a single master and single slave (OMAP) SPI bus. The PCB line lengths for CS, SOMI, SIMO and CLK are almost identical (+/- 1mm). There is a single in-line 22ohm resistor on CS, with the other lines being directly connected. Clock edges look sharp and there is little or no noise or ripple on the lines.

The master transfers 2 16-bit words separated by a chip select de-assert and assert. This is mainly due to the OMAP limitation of not being able to do 32-bit SPI transfers. The clock rate varies from 24.192 to 24.64MHz. At 24.64MHz the timing slack on a clock-by-clock basis is 580ps. The maximum clock rate according to the OMAP (for 1.3 operation and running at 456MHz) is 25MHz or 40ns per clock cycle. I have verified that when the SPI peripheral flags either of these issues, that the master timing is correct and within specification.

Here is a view showing the CS (magenta), CLK (blue) and MOSI (yellow):

Clock cycle measurement, showing more than 40ns clock cycle time:

Timing from chip select assert to first clock edge (OMAP requirement seems to be 5.88ns)

Timing measurement for last clock edge to CS de-assert (OMAP requirement seems to be 8.4ns)

I have tried modifying the master behaviour (register settings) to essentially concatenate the SPI words, i.e. one 16-bit transfer directly after the other, but the OMAP SPI peripheral almost immediately flags a TX error under these conditions.

Here is a capture, showing the 2x 16-bit transfers that almost immediately causes an issue:

1) Is there an OMAP limitation of running continuous 25MHz SPI operation, i.e. a continuous clock?

2) What is the minimum chip select de-asserted period?

3) SYSCLK2 is 228MHz in this case. Is there any other setup that is important for the SPI peripheral to achieve this operational speed?

Here is the code to initialise the SPI0 peripheral as a slave:

//configure pins
regs->spiPc0|=SPI_SPIPC0_PINSENABLE3;	//enable SOMI,SIMO,CLK
regs->spiGcr1&=~SPI_GRC1_CLKMOD_MASTER; //slave

//configure slave pin directions
regs->spiPc1=SPI_SPIPC1_SLAVEDIR;
//select data word format 0
regs->spiDat1&=~SPI_SPIDAT1_DFSEL;
//clear CSNR[n]
regs->spiDat1&=~SPI_SPIDAT1_CSNR;

//MSB first
regs->spiFmt0&=~SPI_SPIFMT_SHIFTDIR;
//no c2TDELAY and T2CDELAY in chip select timings
regs->spiFmt0|=SPI_SPIFMT_DISCSTIMERS;
//polarity: low active
regs->spiFmt0&=~SPI_SPIFMT_POLARITY;
//phase delayed
regs->spiFmt0|=SPI_SPIFMT_PHASE;
//set valid prescale value (ignored)
regs->spiFmt0|=(2<<8);
//charlen = 16 bits
regs->spiFmt0|=0x10;

//enable overflow interrupt, bit error interrupt, data length error
regs->spiLvl |= SPI_SPILVL_OVRNINTFLG|SPI_SPILVL_BITERRENA|SPI_SPILVL_DLENERRENA;
regs->spiInt0 |= SPI_SPIINT0_OVRNINTFLG|SPI_SPIINT0_BITERRENA|SPI_SPIINT0_DLENERRENA;

Thanks


syslink debugging and modifying on CCSv6

$
0
0

Hello,

I tried to make syslink application using OMAP-L138 LCDK, Now, I have successfully compiled and run basic hello world application provided in '../syslink_2_21_01_05/examples/archive/OMAPL138_linux_elf/' folder.

However, when I import hello world project,  project was built without error. But all the c code got errors with a red underline like above.

Also, I'd like to debug both arm-side and dsp-side using gdb.

Anyone know how to remove the red line and debug multicore simultaneously??

TMS320C6748 StartWare ENET_ECHO examples Problem

$
0
0

I use the startware enet_echo example, It  connect the PC success!  then, a copy of my project, join the Bios. V5.41, as a result, not be able to connect to the PC,

why?

What should I do?

Waiting for reply!

Thanks!

OMAP L-138 LCDK: ARM9 Linux Application + DSP

$
0
0

Hi,

I am developing a Linux Application for image processing using the Omap l-138 LCDK. Right now i am only using the ARM processor (i think, at least i didn't configure anything for this), and i would like to use the DSP processor to process all the images.

It's possible to run a Linux app and some how ask to DSP processor to do some work?

If yes, where will be stored the DSP program? There's any tutorial to help get started with this?


I have been looking for some tutorial but till now couldn't find anything.

Could you please give me some advice and show me the way? :P


Thanks,

Pedro Freire

OMAP L-138 LCDK using eCap modules with linux runing

$
0
0

Hi,

I need to use 4 PWM channels of the omap l-138 lcdk board, but i am only able to use 2 (ehrpwm.1:0 and  ehrpwm.1:1) of the 6 listed. Can you help me out understanding what i am doing wrong?

What i have under /sys/class/pwm/ :

root@omapl138-lcdk:/sys/class/pwm# ls                                           
ecap.1      ecap.2      ehrpwm.0:0  ehrpwm.0:1  ehrpwm.1:0  ehrpwm.1:1 

What i did to configure:

on board-omapl138-lcdk.c:

// Enable eHRPWM1A
#if 1
        if (1) {
            ret = davinci_cfg_reg_list(da850_ehrpwm1_pins);
            if (ret)
                pr_warning("###### da850_evm_init:"
                " eHRPWM module1 output A mux"
                " setup failed %d\n", ret);
            else
                mask = mask | BIT(2);
        }
#endif

// Enable eHRPWM1B
#if 1


        if(1) { 
            ret = davinci_cfg_reg(DA850_EHRPWM1_B);
            if (ret)
                pr_warning("######### da850_evm_init:"
                    " eHRPWM module1 outputB mux"
                    " setup failed %d\n", ret);
        else
            mask =  mask  | BIT(3);
        }
#endif

        //Enable PWM1A.
        da850_register_ehrpwm(mask);


mask = 0;

// Enable eHRPWM0A
#if 1
        if (1) {
            ret = davinci_cfg_reg_list(da850_ehrpwm0_pins);
            if (ret)
                pr_warning("###### da850_evm_init:"
                " eHRPWM module1 output A mux"
                " setup failed %d\n", ret);
            else
                mask = mask | BIT(0);
        }
#endif

// Enable eHRPWM0B
#if 1


        if(1) { 
            ret = davinci_cfg_reg(DA850_EHRPWM0_B);
            if (ret)
                pr_warning("######### da850_evm_init:"
                    " eHRPWM module1 outputB mux"
                    " setup failed %d\n", ret);
        else
            mask =  mask  | BIT(1);
        }
#endif

        //Enable PWM1A.
        da850_register_ehrpwm(mask);

//ecap modules
	da850_register_ecap(1);

	da850_register_ecap(2);

I found this link http://processors.wiki.ti.com/index.php/OMAP-L138_eCAP_Capture_Driver_User_Guide showing how to interact with the ecap modules on user space, but in my case i couldn't find the config file described. Also i tried to run it like a pwm module but no success.


An additional question:

What is the correct way to select the pins to use on the multiplexer? I am trying to use some GPIOs that i have configured on the da850.c file, but when i try to change its value nothing happen, the value remains always the same...

Thanks,

Pedro

C6748 boots from build in ECC NAND

$
0
0

Hello,

I want to use Toshiba build-in ECC NAND (TC58BVG0S3HTA00). Can C6748 boot from the NAND device? Please give me some advice.
toshiba.semicon-storage.com/.../docget.jsp

C6748 RBL calculates 4 bit ECC during NAND boot, whereas the NAND has ECC logic on the chip and 8 bit correction per 528Bytes is executed in a device. Also I'm not sure if the NAND device is applicable about the following description.

- For some of the NANDs, the built in ECC correction defaults to an "off state" upon power-on of the NAND device.
- The NAND flash is specified such that the first block only requires 1-bit ECC correction.
processors.wiki.ti.com/.../Raw_NAND_ECC

Regards,
Kazu

CGT 8.1.2 for C6000 not initializing static variables (even in EABI mode )

$
0
0

Hey,


it seems to be expected that static variables aren't initialized in COFF mode, but all the sources seem to assume that it is different by default for the EABI compiler. Yet I'm still experiencing the problem with the current compiler set to EABI.


I'm running CCS6.2 with XDCtools 3.25.3.72 and sys/bios 6.35.6.56, targeting OMAP L138.


There is custom linker script added to the project in addition to the generated ones. The variables not being initialized do NOT belong to the custom defined sections:

SECTIONS
{

// !!! IMPORTANT: IROM is not programmable on OMAP-L138 !!!

// -------------  ACQ hwi stuff into L2 ------------------------

.text_fast: { *.*(.text.fast*) } > IRAM
.data_fast: { *.*(.data.fast*) } > IRAM
.data_quick: { *.*(.data.quick*) } > L3_CBA_RAM

// ------------- Kernel stuff into fast memory -----------------

/* place all the knl APIs in IRAM */
.knl: { *.*(.text:*ti_sysbios_knl*) } > IRAM

/* place all the Hwi APIs in IROM */
.hwi: { *.*(.text:*ti_sysbios*_Hwi_*) } > IRAM

/* place the remainder of the SYS/BIOS APIs in DDR */
.sysbios: { *.*(.text:*ti_sysbios*) } > DDR

}

The linker script generated by XDCtools under Debug/configPkg looks as follows (I've removed the commented out stuff to reduce size):

-l"/home/maverick/ccsworkspace/_SCARY_PROJECT_NAME_/Debug/configPkg/package/cfg/sysbios_pe674.oe674"
-l"/home/maverick/ti/syslink_2_21_03_11/packages/ti/syslink/ipc/rtos/lib/debug/ti.syslink.ipc.rtos.ae674"
-l"/home/maverick/ccsworkspace/_SCARY_PROJECT_NAME_/src/ipc/ipc.ae674"
-l"/home/maverick/ccsworkspace/_SCARY_PROJECT_NAME_/src/sysbios/sysbios.ae674"
-l"/home/maverick/ti/syslink_2_21_03_11/packages/ti/syslink/utils/rtos/bios6/lib/debug/ti.syslink.utils.rtos.bios6.ae674"
-l"/home/maverick/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/lib/674/debug/edma3_lld_drv.ae674"
-l"/home/maverick/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/rm/lib/omapl138-evm/674/debug/edma3_lld_rm.ae674"
-l"/home/maverick/ti/xdctools_3_25_03_72/packages/ti/targets/rts6000/lib/ti.targets.rts6000.ae674"
-l"/home/maverick/ti/xdctools_3_25_03_72/packages/ti/targets/rts6000/lib/boot.ae674"

--retain="*(xdc.meta)"


--args 0x64
-heap  0x0
-stack 0x1000

MEMORY
{
    IROM (RX) : org = 0x11700000, len = 0x100000
    IRAM (RWX) : org = 0x11800000, len = 0x20000
    L3_CBA_RAM (RWX) : org = 0x80000000, len = 0x20000
    DDR (RWX) : org = 0xc6800000, len = 0x1800000
    DDR_SHARED (RWX) : org = 0xc6000000, len = 0x800000
}


SECTIONS
{
    ti.sdo.ipc.SharedRegion_0:  { . += 0x800000;} run > 0xc6000000, type = NOLOAD

    ti_sdo_ipc_init: load > DDR, type = NOINIT 
}



    /*
     *  Set entry point to the HWI reset vector 0 to automatically satisfy
     *  any alignment constraints for the boot vector.
     */
    -eti_sysbios_family_c64p_Hwi0

    /*
     * We just modified the entry point, so suppress the "entry point symbol other
     * than _c_int00 specified" warning.
     */
    --diag_suppress=10063

    /* Add the flags needed for SysLink ELF build. */
    --dynamic
    --retain=_Ipc_ResetVector

    /* 
     * Added symbol to ensure SysBios code is retained when entrypoint is
     * something other than _c_int00.  This workaround will be removed once
     * fixed in the SysBios package
     */
    -u _c_int00


/*
 * symbolic aliases for static instance objects
 */
xdc_runtime_Startup__EXECFXN__C = 1;
xdc_runtime_Startup__RESETFXN__C = 1;
TSK_idle = ti_sysbios_knl_Task_Object__table__V + 228;

SECTIONS
{
    .text: load >> DDR
    .ti.decompress: load > DDR
    .stack: load > L3_CBA_RAM
    GROUP: load > DDR
    {
        .bss:
        .neardata:
        .rodata:
    }
    .cinit: load > DDR
    .pinit: load >> DDR
    .init_array: load > DDR
    .const: load >> DDR
    .data: load >> DDR
    .fardata: load >> DDR
    .switch: load >> DDR
    .sysmem: load > DDR
    .far: load >> DDR
    .args: load > DDR align = 0x4, fill = 0 {_argsize = 0x64; }
    .cio: load >> DDR
    .ti.handler_table: load > DDR
    .c6xabi.exidx: load > DDR
    .c6xabi.extab: load >> DDR
    .heap: load > DDR
    .vecs: load > DDR
    .plt: load > DDR
    xdc.meta: load > DDR, type = COPY

}



It seems to be an option to add "fill" attribute to the .bss and other sections via sysbios.cfg, but considering the TI documentation says I shouldn't have to change anything for the EABI compiler - I'm confused. The compiler and linker settings seem to be normal:

Compiler flags:
-mv6740 --abi=eabi -Ooff --include_path="/home/maverick/ti/ti-cgt-c6000_8.1.2/include" -g --c99 --define=omapl138 --diag_warning=225 --display_error_number --diag_wrap=off

Linker flags:
-mv6740 --abi=eabi -Ooff -g --c99 --define=omapl138 --diag_warning=225 --display_error_number --diag_wrap=off -z -m"_SCARY_PROJECT_NAME_.map" --heap_size=0x300000 --stack_size=0x1000 -i"/home/maverick/ti/ti-cgt-c6000_8.1.2/lib" -i"/home/maverick/ti/ti-cgt-c6000_8.1.2/include" --reread_libs --define=DSP_CORE=1 --diag_wrap=off --warn_sections --display_error_number --xml_link_info="_SCARY_PROJECT_NAME_linkInfo.xml" --rom_model --zero_init=on



Thank you in advance,
Mav

Not able to connect with JTAG OMAP-L137

$
0
0

Hi

We have two workstations installed in our lab!

On one of my machine on a sudden surprise I am not able to connect to My board to Debug !

I am not sure what went wrong suddenly but on other machine(ccsv5) I am able to debug on other workstation(ccsv6)!

Error connecting to the target:
(Error -1063 @ 0x0)
Device ID is not recognized or is not supported by driver. Confirm device and emulator configuration is correct, or update device driver.
(Emulation package 5.0.747.0)

 

ARM9_0: Error connecting to the target: (Error -1063 @ 0x0) Device ID is not recognized or is not supported by driver. Confirm device and emulator configuration is correct, or update device driver. (Emulation package 5.0.747.0)

Kindly need help soon!

Thank you

Deepak R


ISSUE IN BUILDING ARM CODE

$
0
0

Hi

Team as mentioned in my previous post I have issue in building the ARM-UBL

My version of ccs is ccsv5 Kindly request you to get the ARM-UBL CODE THAT GETS BUILD I already have as code that gets rebuild but build command gives error

  

Request team to send a link of code that gets built CCSV5!

 

Thank you

Deepak R 

L138 NAND driver NAND_STATUS_READ_ECC_UNCORRECTABLE_ERROR

$
0
0

I am trying to run L138 bootloader for ARM from the LCDK omap L138 starterware using the debugger.The NANDPageRead seems to fail always with NAND_STATUS_READ_ECC_UNCORRECTABLE_ERROR error.

I am using the same NAND lib for c6000  core in L138, i see the same problem.
I have ported the NAND lib to compile for C6000, NAND Setup and Open seems to be running without any issues. However when i read a page the ECC computation always seem to throw NAND_STATUS_READ_ECC_UNCORRECTABLE_ERROR.


Need urgent help.  I need to run NAND driver on DSP of L138 and then setup some sort of file system on it.

NandInfo structure as follows.

*(hNandInfo)    struct _NAND_INFO_    {chipSelects=[1,0,0,0],opMode=NAND_XFER_MODE_CPU,eccType=NAND_ECC_ALGO_RS_4BIT,manId=...    0x80006DD8    
    chipSelects    int[4]    [1,0,0,0]    0x80006DD8    
        [0]    int    1    0x80006DD8    
        [1]    int    0    0x80006DDC    
        [2]    int    0    0x80006DE0    
        [3]    int    0    0x80006DE4    
    opMode    enum NAND_XFER_MODE_    NAND_XFER_MODE_CPU    0x80006DE8    
    eccType    enum NAND_ECC_ALGO_    NAND_ECC_ALGO_RS_4BIT    0x80006DE9    
    manId    unsigned char    ,    0x80006DEA    
    devId    unsigned char    .    0x80006DEB    
    chipSelectCnt    int    1    0x80006DEC    
    dieCnt    int    1    0x80006DF0    
    busWidth    enum NAND_BUSWIDTH_    NAND_BUSWIDTH_16BIT    0x80006DF4    
    pageSize    enum NAND_PAGE_SIZE_    NAND_PAGESIZE_2048BYTES    0x80006DF6    
    blkSize    enum NAND_BLOCK_SIZE_    NAND_BLOCKSIZE_128KB    0x80006DF8    
    pagesPerBlk    unsigned int    64    0x80006DFC    
    dataRegAddr    unsigned int    1644167168    0x80006E00    
    addrRegAddr    unsigned int    1644167176    0x80006E04    
    cmdRegAddr    unsigned int    1644167184    0x80006E08    
    hNandCtrlInfo    struct _NAND_CTRL_INFO_ *    0x80006D54 {CtrlInit=0x800042C4,WaitPinStatusGet=0x80004294,hNandTimingInfo=0x80006E40,baseAddr=...    0x80006E0C    
        *(hNandCtrlInfo)    struct _NAND_CTRL_INFO_    {CtrlInit=0x800042C4,WaitPinStatusGet=0x80004294,hNandTimingInfo=0x80006E40,baseAddr=...    0x80006D54    
            CtrlInit    _NAND_STATUS_ (*)(_NAND_INFO_*)    0x800042C4    0x80006D54    
            WaitPinStatusGet    unsigned int (*)(_NAND_INFO_*)    0x80004294    0x80006D58    
            hNandTimingInfo    void *    0x80006E40    0x80006D5C    
            baseAddr    unsigned int    1744830464    0x80006D60    
            eccSupported    unsigned int    3    0x80006D64    
            waitPin    unsigned int    0    0x80006D68    
            waitPinPol    unsigned int    1    0x80006D6C    
            wpPinPol    unsigned int    0    0x80006D70    
            chipSelectBaseAddr    unsigned int[4]    [1644167168,0,0,0]    0x80006D74    
            chipSelectRegionSize    unsigned int[4]    [33554432,0,0,0]    0x80006D84    
            currChipSelect    int    1    0x80006D94    
    hNandEccInfo    struct _NAND_ECC_INFO_ *    0x80006E18 {baseAddr=0,eccOffSet=2048,eccByteCnt=16,ECCInit=0x80004458,ECCEnable=...    0x80006E10    
        *(hNandEccInfo)    struct _NAND_ECC_INFO_    {baseAddr=0,eccOffSet=2048,eccByteCnt=16,ECCInit=0x80004458,ECCEnable=0x800044AC...    0x80006E18    
            baseAddr    unsigned int    0    0x80006E18    
            eccOffSet    unsigned int    2048    0x80006E1C    
            eccByteCnt    unsigned int    16    0x80006E20    
            ECCInit    _NAND_STATUS_ (*)(_NAND_INFO_*)    0x80004458    0x80006E24    
            ECCEnable    void (*)(_NAND_INFO_*)    0x800044AC    0x80006E28    
            ECCDisable    void (*)(_NAND_INFO_*)    0x8000451C    0x80006E2C    
            ECCWriteSet    void (*)(_NAND_INFO_*)    0x8000452C    0x80006E30    
            ECCReadSet    void (*)(_NAND_INFO_*)    0x8000453C    0x80006E34    
            ECCCalculate    void (*)(_NAND_INFO_*,unsigned char*)    0x8000454C    0x80006E38    
            ECCCheckAndCorrect    _NAND_STATUS_ (*)(_NAND_INFO_*,unsigned char*,unsigned char*)    0x80004598    0x80006E3C    
    hNandDmaInfo    struct _NAND_DMA_INFO_ *    0x80006E5C {DMAInit=0x00000000,DMAXfer=0x00000000,DMAXferSetup=0x00000000,DMAXferStatusGet=...    0x80006E14    

C6748 on LCDK stuck in undefined symbold code on DDR RAM?

$
0
0

Hi all,

I am using the LCDK with the C6748 DSP. After compiling code, I load the .out file on the target and try to execute it.

The code uses UART as serial interface for startup messages, etc.

Sometimes my UART messages are incomplete at startup - they are broken in the mid of a sentence and the DSP seems to be stuck. When pressing the pause button I can see that the DSP is executing code at 0xC3D38E84, which according to the memory map summary of the DSP is an address which is located in external DDR RAM. However, there are no symbols defined at that address.

My linker command file only uses this section for constant data and not code, i.e.

.const> DDR2

 

Can I somehow track this strange behaviour?

Is it a bug in my code? A problem with the JTAG emulator?

 

Thank you,
Matthias

EDMA Delay or Jitter Documentation

$
0
0

I'm trying to find any documentation about how long does it take edma to react. We are seeing around 200 ns of jitter on a SPI line that is triggered by edma. We suspect an impedance issue but it will be nice to know how fast is EDMA able to copy data from location to another.

I'm working on sysbios, the omapl137, the dsp side and the only interrupts are for the edma cc and edma errors. Edma is fired every  SPI 1024 samples which should be around 1.7 ms.

Jaime

OMAP l-138 LCDK NFS filesystem

$
0
0

Hi,

I am loading my filesystem via NFS, but i can't pass from the login screen. Using root as the user name and enter an empty password isn't not working....

I am booting from Nand, and my bootargs is this:
setenv bootargs mem=64M ip=192.168.1.101 noinitrd console=ttyUSB0,115200n8 root=/dev/nfs rw nfsroot=192.168.1.100:/home/pfreire

The login should be the same as before right?


Thanks,

Pedro

Viewing all 17527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>