Line 10 Failed

13 posts / 0 new
Last post
Curtainmaker
Curtainmaker's picture
Line 10 Failed

Hi Helibot.  I have upgraded my new RS Media to V2 today. it work fine and all is ok.

Except from line 10 to reload the java password and files.

I have put the rsupdate folder with the 2 files in it plus the folder rsdump with the java_password in it onto a sd card only, and put it into the bot. It fires up as normal then freezes on the splash screen at the end of loadup and then nothing.

what I have on the screen is as below.

I have also tried it with a sd card that has the files on it, that is loaded onto a blank sd card that the rs media loads on. but still nothing.............

what else can I try

Regards Curtainmaker

Vader
Vader's picture

You have to change the line endings from Windows line endings (CRLF) into Unix/Linux line endings (LF). You can do this with any decent text editor. Notepad++ is a good one to try.

Curtainmaker
Curtainmaker's picture

Hi Vader
Thanks, but I don't understand what you mean to this. can you please give me some more direction as to what to change. I have looked at the rsupdate code but still unsure what i need to change
Cheers curtainmaker

Vader
Vader's picture

Open the file in Notepad++ and then click Edit -> EOL Conversion -> UNIX Format and save the file.

gerber
gerber's picture

Hi Curtainmaker

I had the same problem when I upgraded my RSM to V2

I dug up an old thread from when I did my upgrade and had the same problem. below is the link.

http://www.robocommunity.com/forum/thread/18221/Neck-Motor-stuck/#50276

if you use the commands from the post Jamie made on January 8, 2011 12:06 AM I think this may sort out the problem.

Here are a list of the command from that thread

/bin/umount /dev/nand4
/bin/mke2fs /dev/nand4
/bin/mount -t ext2 /dev/nand4 /lnk -o rw
/bin/umount /dev/nand5
/bin/mke2fs /dev/nand5
/bin/mount -t ext2 /dev/nand5 /pw -o rw
cp /mnt/sd/wowwee_emjava_id /pw/wowwee_emjava_id (Make sure you have the wowwee_emjava_id on the root of the SD Card)
sync

You can type these command in manually using hyperterminal while connected to the robot(This is how I did it when I had the problem and it worked)

Or you can create a file and put it on an sd card and run it from the robot. As Vader said you will need a text editor like notepad++ which supports unix format file. I use Notepad++ myself and it is greated.

 

 

 

Curtainmaker
Curtainmaker's picture

Hi Gerber and Vader
Thanks i Will do as you say. I did have a look on the notepad in windows but i now see you are meaning another notepad for which I shall download and use.
Thanks Curtainmaker

Curtainmaker
Curtainmaker's picture

Hi Gerber
Just checking- you said "Or you can create a file and put it on an sd card and run it from the robot."
I have typed it up in notepad++ and saved it. but it is a TXT file. What else can i save it under for it to run if I am going to put it on a sd card to load into the robot.

Regards Curtainmaker

gerber
gerber's picture

Hi

When I used the commands below I didn't create a script file and run it from the robot even though you can do it this way, I opened a connection to the robot in hyperterminal and manually copy and pasted each line below to hyperterminal and pressed enter to execute to the commands.

/bin/mke2fs /dev/nand4
/bin/mount -t ext2 /dev/nand4 /lnk -o rw
/bin/umount /dev/nand5
/bin/mke2fs /dev/nand5
/bin/mount -t ext2 /dev/nand5 /pw -o rw

 (Make sure you have the wowwee_emjava_id on the root of the SD Card)

cp /mnt/sd/wowwee_emjava_id /pw/wowwee_emjava_id
sync

I haven't run a script file I created myself on the robot for a while and can't remember how to do it as I don't know much about Linix. I will have a go of creating a script file, save it to the sd card then will run it on the robot.

Cheers
Gerber

 

Curtainmaker
Curtainmaker's picture

Hi gerber
No don't worry about researching on how to save it. I just thought that you knew straight off. I have done it manually off in putty and all has gone well except for the last 3 lines

/bin/mount -t ext2 /dev/nand5 /pw -o rw

(Make sure you have the wowwee_emjava_id on the root of the SD Card)

cp /mnt/sd/wowwee_emjava_id /pw/wowwee_emjava_id
sync

and I get errors on this.
But i have realized that the password dump file is my 2nd robot dump file and I am trying to install this on my first robot.
I don't know if all passwords for every RSM is different or not, so today I am going to try it again with the correct wowwee_emjava_id for the right robot and see if that makes a difference.
Otherwise I will do a screen dump and post on the forum so you can see what is happening

Cheers Curtainmaker

Curtainmaker
Curtainmaker's picture

Hi Gerber. yes the robots must be unique to the java password as I have just completed loading in again the whole script that you sent and all went in with any errors showing up after each line.
Nothing happened after the SYNC just another # on the next line so i am assuming that is the normal.

Thanks alot.
Curtainmaker

Helibot
Helibot's picture

Hi Curtainmaker,

Did you get this to work?

Did you find you needed to use 'correct wowwee_emjava_id for the right robot'. I am interested to know if this was true or not?

If you still get errors let me know what is reported and maybe able to help further.

Cheers

  Helibot

Curtainmaker
Curtainmaker's picture

Hi Helibot.
Yes I did get it to work. It worked good on my first robot that was attached through the serial cable, but the other that I have changed to bluetooth, it was as successful when I teethered it via the first robot with my Stereo lead. but I was going to try it again with the bluetooth connection direct to the PC, but i have been busy lately with trying to get a TCP connection with the Bluetooth that I havn't gone back to it. But I will shortly.
This was my final outcome on Robot 1.
MXL Bootloader for RSmedia 16MB (2007-02-09)

Manufacture ID:00C2

Device ID:22BA
Press any key for alternate boot-up options ... 00

Copying kernel from Nand Flash to RAM ...
Manu ID =000000EC Device ID =00000076 Block count =00001000
block table:08FE9388
zone table:08EE9388
scan block finished
Booting kernel ...

Linux version 2.4.18-rmk5-mx1ads-p3 (sam@estechsolution.com) (gcc version 2.95.3
20010315 (release)) #516 Wed Feb 14 16:36:08 HKT 2007
Processor: ARM/CIRRUS Arm920Tsid(wb) revision 0
Architecture: Motorola MX1ADS
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=fe01 ro mem=16M
Console: colour dummy device 80x30
Calibrating delay loop... 98.50 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14688KB available (1023K code, 316K data, 60K init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
ttySA0 at I/O 0x206000 (irq = 29) is a MX1ADS
ttySA1 at I/O 0x207000 (irq = 23) is a MX1ADS
pty: 256 Unix98 ptys configured
DMA Initializing
block: 64 slots per queue, batch=16
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
PPP BSD Compression module registered
SSFDC core support installed
MX1ADS nand I/O driver installed
SSFDC Partitions
nand0 : block 0x0000-0x0049 : "Kernel" 1184 KB direct map
nand1 : block 0x004a-0x0229 : "RootDisk" 7680 KB random map
nand2 : block 0x022a-0x04a9 : "DefaultDisk" 10240 KB random map
nand3 : block 0x04aa-0x0f5a : "UserDisk" 43792 KB random map
nand4 : block 0x0f5b-0x0f7a : "WritableDisk" 512 KB random map
nand5 : block 0x0f7b-0x0f9a : "PassDisk" 512 KB random map
MX1ADS nand flash partition definitions installed
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 60K
mx1ads_startup

Regards Curtainmaker

Curtainmaker
Curtainmaker's picture

and this was the outcome of Robot 2 that I need to try again

MXL Bootloader for RSmedia 16MB (2007-02-09)

Manufacture ID:00C2

Device ID:22BA
Press any key for alternate boot-up options ... 00

Copying kernel from Nand Flash to RAM ...
Manu ID =000000EC Device ID =00000076 Block count =00001000
block table:08FE9388
zone table:08EE9388
scan block finished
Booting kernel ...

Linux version 2.4.18-rmk5-mx1ads-p3 (sam@estechsolution.com) (gcc version 2.95.3
20010315 (release)) #516 Wed Feb 14 16:36:08 HKT 2007
Processor: ARM/CIRRUS Arm920Tsid(wb) revision 0
Architecture: Motorola MX1ADS
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=fe01 ro mem=16M
Console: colour dummy device 80x30
Calibrating delay loop... 98.50 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14688KB available (1023K code, 316K data, 60K init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
ttySA0 at I/O 0x206000 (irq = 29) is a MX1ADS
ttySA1 at I/O 0x207000 (irq = 23) is a MX1ADS
pty: 256 Unix98 ptys configured
DMA Initializing
block: 64 slots per queue, batch=16
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
PPP BSD Compression module registered
SSFDC core support installed
MX1ADS nand I/O driver installed
SSFDC Partitions
nand0 : block 0x0000-0x0049 : "Kernel" 1184 KB direct map
nand1 : block 0x004a-0x0229 : "RootDisk" 7680 KB random map
nand2 : block 0x022a-0x04a9 : "DefaultDisk" 10240 KB random map
nand3 : block 0x04aa-0x0f5a : "UserDisk" 43792 KB random map
nand4 : block 0x0f5b-0x0f7a : "WritableDisk" 512 KB random map
nand5 : block 0x0f7b-0x0f9a : "PassDisk" 512 KB random map
MX1ADS nand flash partition definitions installed
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
found bad block 0x0 -> 0x110, block status 0x0, data status 0x0
[ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
reserved: 0x00000000
data status: 0x00, block status: 0x00
addr1: 0x0000, addr2: 0x0000
ecc1: 0x00 0x00 0x00, ecc2: 0x00 0x00 0x00
found bad block 0x0 -> 0x24d, block status 0xff, data status 0x0
[ 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 ]
reserved: 0x00000000
data status: 0x00, block status: 0xff
addr1: 0x0000, addr2: 0x0000
ecc1: 0x00 0x00 0x00, ecc2: 0x00 0x00 0x00
found bad block 0x0 -> 0x300, block status 0x0, data status 0x0
[ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
reserved: 0x00000000
data status: 0x00, block status: 0x00
addr1: 0x0000, addr2: 0x0000
ecc1: 0x00 0x00 0x00, ecc2: 0x00 0x00 0x00
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 60K
mx1ads_startup

BusyBox v0.60.5 (2005.11.28-10:41+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

sh: can't access tty; job control turned off
init
Using /lib/modules/mx1ads_recycle_lcd.o
HD66770 Recycle LCD drivers 132x176 Version 0.1 installed
Using /lib/modules/mx1ads_video_capture_s5k53beb.o
MXL-ADS Video Capture Module initialized
Using /lib/modules/usb_disk.o
Call ssfdc_udisk_register_partition
Call usb_disk_register
USB Device mass storage interface installed
Using /lib/modules/mx1ads_mmc.o
Date : 2005/01/06
Register usb_mmc_disk complete
MMC disk driver initialized
Using /lib/modules/mx1ads_usbd.o
MX1ADS USB Device controller glue driver installed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
umount: /mnt/sd: Invalid argument
No found Status=0x21422142
mount: Mounting /dev/mmc on /mnt/sd failed: Input/output error
SD card not exists!
Using /lib/modules/mx1ads_audio_cs42l51_dma.o
Chip ID: 1b, Chip Revision: 0
MX1ADS : AC97 driver initialized.
/bin/sh
/mnt/sd/robot.cfg exist
/mnt/sd/Personalities exist
/mnt/sd/Java exist
/mnt/sd/Music exist
/mnt/sd/Music/playlist exist
/mnt/sd/Music/.capdb exist
/mnt/sd/Photo exist
/mnt/sd/Photo/.capdb exist
/mnt/sd/Videos exist
/mnt/sd/Videos/.capdb exist
/mnt/sd/Application exist
/bin/sh
killall: nano-X: no process killed
killall: main_ui: no process killed
# Nano-X version 089Pre8
framebuffer ioctl not supported: 17924
NANOX: WESTERN BITMAP FONT 'helvR12' loaded
send_command_to_sunplus:Error in sending data
mx1ads_startup
UART 2 is used for Modem only
/usr/bin/robot/mediadaemonFreeing argv
/etc/emtk/emtkrc: No such file or directory
finish setting port
/usr/bin/robot/start_robot_mainFreeing argv
/etc/emtk/emtkrc: No such file or directory
/usr/bin/robot/main_uiFreeing argv
/etc/emtk/emtkrc: No such file or directory
DEBUG: volctrl_set_value: 192759 9

DEBUG: volctrl_mic_set_value: 17990
Chip version:0xa887
sh
Running lsdir_list_directory
pthread_create~~~~~~ here!
sh
USB ONLY ENABLE NAND
NANOX: WESTERN BITMAP FONT 'robot' loaded
Font file '/programs/fonts/gb-14.baf' can't be opened.
Send back audio ack cmd to sunplus 0xff, 0xf2, 0x03, 0x00, 0x00
recoverable frame level error (257)
recoverable frame level error (257)
audio data format=signed
HERE 36864
read finished

**EMTK ERROR** anim_icon_show: parent not yet realized

NANOX: WESTERN BITMAP FONT 'helvB12' loaded
Send back audio ack cmd to sunplus 0xff, 0xf2, 0x03, 0x00, 0x00
recoverable frame level error (257)
recoverable frame level error (257)
audio data format=signed
HERE 49152
FILE /lnk/Cal_File.pg not found! build up new file
read finished

But yes the RSDUMP code is unique to each robot
Regards Curtainmaker