The Shop > CNC
DDCSV1.1 4 Axis controller
<< < (31/202) > >>
Merlin201314:

--- Quote from: Benedikt M. on November 16, 2016, 10:57:25 AM ---
--- Quote from: Merlin201314 on November 16, 2016, 10:52:50 AM ---I was wonder if there is any combination in the keyboard to press at the startup than can boot in some programming mode? :med:

--- End quote ---
If there is a way, then it is through the internal serial console or jtag. The device also always tries to boot from sd card first. I have not inspected the Mainboard too carefully, but maybe there is a header or even an unpopulated sd slot?

Also we can always try fixing the userland stuff. This would fix most problems except for the bootscreen and the axis configuration (i guess at least).

--- End quote ---
No SD card connections,  just a jumper and 2 touch connectors on the board,  maybe some sort of testing point, nothing on the other side of the board

Sended by my tapatalk
Benedikt:

--- Quote from: Merlin201314 on November 16, 2016, 10:59:58 AM ---i'll have a look now and post some pictures, in the meantime my Probe routine is not working anymore, is the 2nd time that happen, any experience in the matter?
It start probing, but it not sense the touch, the connections are good as before

--- End quote ---
Hmm thanks for checking the SD slot. I am on the train home so I wasn't able to check myself.

Sorry, i am not using probe at all. Instead I manually probe my workpiece.

Here, Merlin201314, the bootlog again:

--- Code: ---recode complete!
ÿ

Init RTC....OK

DDR size: 32MB

SD Port0 Booting Fail - No/Bad Card Insert

NAND Booting (XtraROM 2K-page 4 Address Cycle) Success

Clock Skew

 DQSODS 0x1010

 CKDQSDS 0x888800

Code Executes at 0x00900000

Nand Boot Loader entry (20120921).

Get NANDLoader image from block 0x0 ..

Load file length 0x3DB1C0, execute address 0x0

Linux version 2.6.35.4 (root@localhost.localdomain) (gcc version 4.2.1) #241 PREEMPT Sun Mar 6 03:31:38 CST 2016
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA93
Memory policy: ECC disabled, Data cache writeback
CPU type 0x00fa5c30 is W55FA93
w55fa93_external_clock = 12.0 MHz
w55fa93_apll_clock = 72000 KHz
w55fa93_upll_clock = 192000 KHz
w55fa93_system_clock = 192000 KHz
w55fa93_cpu_clock = 192000 KHz
w55fa93_ahb_clock = 96000 KHz
w55fa93_apb_clock = 48000 KHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=32M vt.global_cursor_default=0
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28140k/28140k available, 4628k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xc2800000 - 0xe0000000   ( 472 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0142000   (1256 kB)
      .text : 0xc0142000 - 0xc03bd000   (2540 kB)
      .data : 0xc03be000 - 0xc03db140   ( 117 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:32
Console: colour dummy device 80x30
console [ttyS1] enabled
Calibrating delay loop... 95.64 BogoMIPS (lpj=478208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource w55fa93-timer1
register clock device
w55fa93_edma_init
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 54
alg: No test for stdrng (krng)
io scheduler noop registered (default)
---w55fa93fb_init ----w55fa93 frame buffer init
###########w55fa93 frame buffer probe############
1*** fbi->fb->fix.smem_len = 0x3fc00
REG_LCM_LCDCInt = 0x20000 !!!
Vsync flag is encountered !!!
check_var(var=c1c3a020, info=c1c3a000)
w55fa93fb_set_par !!! =================
Console: switching to colour frame buffer device 60x34
w55fa93 LCD driver has been installed successfully
W55FA93 uart driver has been initialized successfully!
w55fa93-uart0: ttyS0 at MMIO 0xb8008000 (irq = 13) is a W55FA93
w55fa93-uart1: ttyS1 at MMIO 0xb8008100 (irq = 24) is a W55FA93
brd: module loaded
loop: module loaded
MTD nand init !!!
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
chip->ecc.bytes = 0x22 !!!!
Scanning device for bad blocks
Bad eraseblock 0 at 0x000000000000
Bad eraseblock 1 at 0x000000020000
Bad eraseblock 2 at 0x000000040000
Bad eraseblock 3 at 0x000000060000
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000600000-0x000007e00000 : "NAND FS 0"
0x000007e00000-0x000008000000 : "NAND FS 1"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Init CONFIG_W55FA93_USB_HOST_LIKE_PORT1
ohci_hcd_w55fa93_drv_probe
usb_hcd_w55fa93_probe
get_pll
External clock = 12MHz
NF: 32, NR: 2, NO: 1
PLL is 192   ---
div1 = 1
div0 = 1
div0 = 2
div0 = 3
div0 = 4
Div1 = 0,  Div0 = 3
USBH IP  Reset
CONFIG_W55FA93_USB_HOST_LIKE_PORT1
w55fa93-ohci w55fa93-ohci: Nuvoton W55FA93 OHCI Host Controller
w55fa93-ohci w55fa93-ohci: new USB bus registered, assigned bus number 1
w55fa93-ohci w55fa93-ohci: irq 18, io mem 0xb1009000
ohci_w55fa93_start
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB device plug in
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
<--w55fa93_udc_probe-->
mice: PS/2 mouse device common for all mice
input: W55FA93 TouchScreen as /class/input/input0
input: W55FA93 Keypad as /class/input/input1
W55FA93 keypad driver has been initialized successfully!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Freeing init memory: 1256K
usb 1-1: new full speed USB device using w55fa93-ohci and address 2
jffs2_scan_inode_node(): CRC failed on node at 0x021c57d8: Read 0xffffffff, calculated 0x4f7b911d
input: Telink Wireless Receiver as /class/input/input2
generic-usb 0003:248A:8566.0001: input: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-w55fa93-ohci-1/input0
input: Telink Wireless Receiver as /class/input/input3
generic-usb 0003:248A:8566.0002: input: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-w55fa93-ohci-1/input1
USB device plug in
Empty flash at 0x077341fc ends at 0x07734800
Empty flash at 0x077370cc ends at 0x07737800
jffs2_scan_inode_node(): CRC failed on node at 0x0773afe0: Read 0xffffffff, calculated 0xdf63b2ba
Empty flash at 0x0773b46c ends at 0x0773b800
Empty flash at 0x0773eacc ends at 0x0773f000
w55fa93_gpio_configure()-1,14
w55fa93_gpio_configure()-0,1
w55fa93_gpio_configure()-1,13
w55fa93_gpio_configure()-0,0
w55fa93_gpio_configure()-0,3
w55fa93_gpio_configure()-0,4
w55fa93_gpio_configure()-0,5
w55fa93_gpio_configure()-0,6
w55fa93_gpio_configure()-0,7
w55fa93_gpio_configure()-0,5
w55fa93_gpio_configure()-4,2
w55fa93_gpio_configure()-4,3
w55fa93_gpio_configure()-4,4
w55fa93_gpio_configure()-4,5
w55fa93_gpio_configure()-4,6
w55fa93_gpio_configure()-4,7
w55fa93_gpio_configure()-1,2
w55fa93_gpio_configure()-1,3
w55fa93_gpio_configure()-1,4
w55fa93_gpio_configure()-1,5
w55fa93_gpio_configure()-1,6
w55fa93_gpio_configure()-3,0
w55fa93_gpio_configure()-3,1
w55fa93_gpio_configure()-3,2
w55fa93_gpio_configure()-3,12
w55fa93_gpio_configure()-3,13
w55fa93_gpio_configure()-3,14
w55fa93_gpio_configure()-3,15
motion driver has been initialized successfully!

JFFS2 notice: (291) check_node_data: wrong data CRC in data node at 0x07733c88: read 0x16da4fd0, calculated 0x659bc5b5.




cp: cannot stat '/udisk-sda1/install/*': No such file or directory

Please press Enter to activate this console.

[deleted a few hundred blank new lines here]


set:40000000,io:40001000
GUI_X_InitOS
open /dev/input/mouse1 success,fd is 6
Create thread sucess!
xresis 480
,yresis 272,16,0,0,960
r:11,5,0
g:5,6,0
b:0,5,0
t:0,0,0


recode complete!

--- End code ---
Merlin201314:
i connected a wireless mouse on the usb port and booted, the controller is reading the mouse in the setting page, as the lines are changing when i press the buttons.
It doesen't make ani sense.....
Benedikt:

--- Quote from: Merlin201314 on November 16, 2016, 11:20:19 AM ---i connected a wireless mouse on the usb port and booted, the controller is reading the mouse in the setting page, as the lines are changing when i press the buttons.
It doesen't make ani sense.....

--- End quote ---
Mouse and keyboard are supported.
The application does not really make any use of them though.
Also inside on the connector there is a secondary usb port.
Merlin201314:
Benedikt,
Which program i need to read and modify the "MOTION.OUT" file?
Thanks
Navigation
Message Index
Next page
Previous page

Go to full version