Electronics > Repair
Fluke 289 not quite sorted.
<< < (41/49) > >>
MihaiV:
Hello,

Before scorching the MXS (again) to reflow it, I played a little with the TTL console at J5.
At power on it sends a "+"  followed by "Entry point: 0x00060040, address range: 0x00060000-0x003bef68".
Ctrl-C during power-up did not get me to RedBoot.
I pulled down E29 with 1k and that solved it.
Here it is:

--- Code: --- RedBoot(tm) bootstrap and debug environment [ROMRAM]
                         
Non-certified release, version v2_0_74 - built 15:56:18, Sep 27 2007)
                                                                               
Platform: Fluke Clem (ARM9)
                                                 
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
                     
Copyright (C) 2003, 2004, 2005, 2006, 2007 eCosCentric Limited
             
                                                                               
RAM: 0x00000000-0x007fb500, [0x0004dcb0-0x005d8500] available
                 
FLASH: 0x10000000-0x107fffff, 63 x 0x20000 blocks, 4 x 0x8000 blocks

--- End code ---

Next, I poked around the console, especially following the lines from frenky (post 59). My returns are the same, except that the app loads, clem.img.fs is ok.

RedBoot>fconfig -l

--- Code: ---                                                                   
Run script at boot: false
                                                     
Use BOOTP for network configuration: false
                                   
Gateway IP address: 0.0.0.0
                                                   
Local IP address: 192.168.9.133
                                               
Local IP address mask: 255.255.0.0
                                           
Default server IP address: 192.168.100.100
                                   
Console baud rate: 115200
                                                     
DNS server IP address: 0.0.0.0
                                               
Set eth0 network hardware address [MAC]: true
                                 
eth0 network hardware address [MAC]: 0x00:0x80:0x40:0x00:0x22:0x85
           
GDB connection port: 9000
                                                     
Force console for special debug messages: false
                               
Network debug at boot time: false

--- End code ---
      
RedBoot>fis list

--- Code: ---                                                             
Name              FLASH addr  Mem addr    Length      Entry point
             
RedBoot           0x10000000  0x10000000  0x00040000  0x00000000
             
fs                0x10040000  0x00000000  0x007A0000  0xFFFFFFFF
             
FIS directory     0x107E0000  0x107E0000  0x0001F000  0x00000000
             
RedBoot config    0x107FF000  0x107FF000  0x00001000  0x00000000

--- End code ---
        
RedBoot> fs info

--- Code: ---                                                                 
Filesystems available:
                                                       
devfs
                                                                         
jffs2
                                                   
Devices available:
                                                           
/dev/flash/
             

--- End code ---
    
RedBoot>  fs list

--- Code: ---                                                                   
fs: No filesystems mounted

--- End code ---

RedBoot>  fs mount -d /dev/flash/ -t jffs2 /hmm1

--- Code: ---                                     
fs mount: mount(/dev/flash/,/hmm1,jffs2) failed 2

--- End code ---

RedBoot> fs mount -d /dev/flash/ -t devfs /hmm1
                     
RedBoot> fs info

--- Code: ---                                                         
Filesystems available:
                                                       
devfs
                                                                         
jffs2
                                                               
Devices available:
                                                           
/dev/flash/
                                                                                                   
Mounted filesystems:
                                                         
            Device               Filesystem Mounted on
                       
                     /dev/flash/      devfs /hmm1

--- End code ---
                           
RedBoot> fs list

--- Code: ---                                                           
fs list: no such directory /

--- End code ---
   
 
RedBoot>  d -b 0x107FF000 -l 0x00001000

--- Code: ---                                           
107FF000: 00 10 00 00 CE FA AD 0B  01 0C 01 00 62 6F 6F 74  |............boot|

107FF010: 5F 73 63 72 69 70 74 00  00 00 00 00 04 11 01 0C  |_script.........|

107FF020: 62 6F 6F 74 5F 73 63 72  69 70 74 5F 64 61 74 61  |boot_script_data|

107FF030: 00 62 6F 6F 74 5F 73 63  72 69 70 74 00 66 69 73  |.boot_script.fis|

107FF040: 20 75 6E 6C 6F 63 6B 20  66 73 0A 66 73 20 6D 6F  | unlock fs.fs mo|

107FF050: 75 6E 74 20 2D 64 20 2F  64 65 76 2F 66 6C 61 73  |unt -d /dev/flas|

107FF060: 68 2F 66 69 73 2F 66 73  20 2D 74 20 6A 66 66 73  |h/fis/fs -t jffs|

107FF070: 32 20 2F 0A 6C 6F 61 64  20 2D 6D 20 66 69 6C 65  |2 /.load -m file|

107FF080: 20 2F 73 79 73 74 65 6D  2F 61 70 70 73 2F 63 6C  | /system/apps/cl|

107FF090: 65 6D 2E 69 6D 67 0A 66  73 20 75 6D 6F 75 6E 74  |em.img.fs umount|

107FF0A0: 20 2F 0A 67 6F 20 2D 63  20 2D 6E 0A 0A 00 00 00  | /.go -c -n.....|

107FF0B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF0C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF0D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF0E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF0F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF100: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF110: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF120: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF130: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF140: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF150: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF160: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF170: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF180: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF190: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF1A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF1B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF1C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF1D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF1E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF1F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF200: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF210: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF220: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF230: 00 00 00 00 00 00 00 00  00 00 00 00 00 02 14 01  |................|

107FF240: 0C 62 6F 6F 74 5F 73 63  72 69 70 74 5F 74 69 6D  |.boot_script_tim|

107FF250: 65 6F 75 74 00 62 6F 6F  74 5F 73 63 72 69 70 74  |eout.boot_script|

107FF260: 00 01 00 00 00 01 06 01  00 62 6F 6F 74 70 00 00  |.........bootp..|

107FF270: 00 00 00 05 14 00 06 62  6F 6F 74 70 5F 6D 79 5F  |.......bootp_my_|

107FF280: 67 61 74 65 77 61 79 5F  69 70 00 62 6F 6F 74 70  |gateway_ip.bootp|

107FF290: 00 00 00 00 00 05 0C 00  06 62 6F 6F 74 70 5F 6D  |.........bootp_m|

107FF2A0: 79 5F 69 70 00 62 6F 6F  74 70 00 C0 A8 09 85 05  |y_ip.bootp......|

107FF2B0: 11 00 06 62 6F 6F 74 70  5F 6D 79 5F 69 70 5F 6D  |...bootp_my_ip_m|

107FF2C0: 61 73 6B 00 62 6F 6F 74  70 00 FF FF 00 00 05 10  |ask.bootp.......|

107FF2D0: 01 00 62 6F 6F 74 70 5F  73 65 72 76 65 72 5F 69  |..bootp_server_i|

107FF2E0: 70 00 C0 A8 64 64 02 12  01 00 63 6F 6E 73 6F 6C  |p...dd....consol|

107FF2F0: 65 5F 62 61 75 64 5F 72  61 74 65 00 00 C2 01 00  |e_baud_rate.....|

107FF300: 05 07 01 00 64 6E 73 5F  69 70 00 00 00 00 00 01  |....dns_ip......|

107FF310: 09 01 00 65 74 68 30 5F  65 73 61 00 01 00 00 00  |...eth0_esa.....|

107FF320: 06 0E 01 09 65 74 68 30  5F 65 73 61 5F 64 61 74  |....eth0_esa_dat|

107FF330: 61 00 65 74 68 30 5F 65  73 61 00 00 80 40 00 22  |a.eth0_esa...@."|

107FF340: 85 00 00 02 09 01 00 67  64 62 5F 70 6F 72 74 00  |.......gdb_port.|

107FF350: 28 23 00 00 01 13 01 00  69 6E 66 6F 5F 63 6F 6E  |(#......info_con|

107FF360: 73 6F 6C 65 5F 66 6F 72  63 65 00 00 00 00 00 02  |sole_force......|

107FF370: 14 01 13 69 6E 66 6F 5F  63 6F 6E 73 6F 6C 65 5F  |...info_console_|

107FF380: 6E 75 6D 62 65 72 00 69  6E 66 6F 5F 63 6F 6E 73  |number.info_cons|

107FF390: 6F 6C 65 5F 66 6F 72 63  65 00 00 00 00 00 01 0A  |ole_force.......|

107FF3A0: 01 00 6E 65 74 5F 64 65  62 75 67 00 00 00 00 00  |..net_debug.....|

107FF3B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF3C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF3D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF3E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF3F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF400: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF410: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF420: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF430: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF440: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF450: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF460: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF470: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF480: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF490: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF4A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF4B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF4C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF4D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF4E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF4F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF500: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF510: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF520: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF530: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF540: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF550: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF560: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF570: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF580: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF590: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF5A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF5B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF5C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF5D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF5E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF5F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF600: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF610: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF620: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF630: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF640: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF650: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF660: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF670: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF680: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF690: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF6A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF6B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF6C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF6D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF6E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF6F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF700: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF710: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF720: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF730: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF740: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF750: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF760: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF770: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF780: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF790: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF7A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF7B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF7C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF7D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF7E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF7F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF800: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF810: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF820: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF830: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF840: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF850: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF860: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF870: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF880: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF890: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF8A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF8B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF8C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF8D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF8E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF8F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF900: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF910: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF920: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF930: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF940: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF950: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF960: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF970: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF980: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF990: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF9A0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF9B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF9C0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF9D0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF9E0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FF9F0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFA90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFAA0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFAB0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFAC0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFAD0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFAE0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFAF0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFB90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFBA0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFBB0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFBC0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFBD0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFBE0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFBF0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFC90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFCA0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFCB0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFCC0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFCD0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFCE0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFCF0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFD90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFDA0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFDB0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFDC0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFDD0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFDE0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFDF0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFE90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFEA0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFEB0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFEC0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFED0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFEE0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFEF0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF00: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF30: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFF90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFFA0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFFB0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFFC0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFFD0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFFE0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

107FFFF0: 00 00 00 00 00 00 00 00  AD DE AD DE C2 D7 ED EA  |................|

--- End code ---

The script from RedBoot Config

--- Code: ---fis unlock fs
fs mount -d /dev/flash/fis/fs -t jffs2 /
load -m file /system/apps/clem.img
fs umount /
go -c -n

--- End code ---

runs with no errors and brings me to the same result, entry point...

Is there a way to check the RAM? I only found flash operation commands but nothing related to RAM.

kjk24:
Hi MihaiV,

the ram is usable at redboot see older post,
there are some ram commands avail
like
w4   0x00221000   0xa2120200
mem32 0x8000000,1
J-Link>w4 0x221000,0x80000000
Writing 80000000 -> 00221000
J-Link>mem32 0x8000000,10
08000000 = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
08000010 = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
08000020 = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
08000030 = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
J-Link>w4 0x221000,0x80010000
Writing 80010000 -> 00221000

--------------------
bootscript :

4. fconfig -l show config

5. fconfig -i
Initialize non-volatile configuration - continue (y/n)? y
Run script at boot: true
Boot script:
Enter script, terminate with empty line
>> fis unlock fs
>> fs mount -d /dev/flash/fis/fs -t jffs2 /
>> load -m file /system/apps/clem.img
>> fs umount /
>> go -c -n -w 10000
>>
Boot script timeout (1000ms resolution): 10
Use BOOTP for network configuration: false
Gateway IP address: 0.0.0.0
Local IP address: 192.168.9.133
Local IP address mask: 255.255.0.0
Default server IP address: 192.168.100.100
Console baud rate: 115200
DNS server IP address: 0.0.0.0
Set eth0 network hardware address [MAC]: true
eth0 network hardware address [MAC]: 0x00:0x80:0x40:0x00:0x22:0x85
GDB connection port: 9000
Force console for special debug messages: true
Console number for special debug messages: 0
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue (y/n)? y

@ cristaux66
you need jtag to the msp and MSPFlasher, the hex file for it.
and flash it.


MihaiV:
Hello kjk24,

We are lucky enough to have a J-link Pro at work! Unfortunately I suck at programming, so I will certainly need more help on setup, commands and such.
I understand that I must install J-MEM and J-Flash from Segger.
I see a file at post 163, (MC9328MXS_1.jflash), with some "steps" inside it (various write and read commands) . Is it a script that runs RAM tests or just a configuration file?

I ran the boot script in redboot step by step and it runs without errors. It loads the clem.img, it mounts it and after the "go -c -n" it prints a "+" and "Entry point ..." and the green led turns off. I see something more at the "go" command, the -w and 10000 that is not in the boot script inside my meter. I'll try it again.

The meter is a 287/NUC (whatever NUC means).
My PCB is marked as REV 015, but there is also a sticker on the PCB with "287 R.020 AJ764496". So i guess it has REV 20 on it, as R277, R125 and R121 are populated (so assembled ModellA, ID0). Also, VR1, VR2, VR3, VR4 and other parts are not populated.

I'll get to the J-link after 5th January. Until then I'll read some more about the J-link tools and check the RAM lines with the scope. Play with hardware 'til i get to the software.

By the way, the Micron part marking decoder indicates that PW755 is for Micron MT45W2MW16BGB-701 IT, and it appears to fit the footprint (at least the VCC and VSS pins do). Is this the one? I saw in your photos a part number marked ISSI, but the photo was not clear enough to see hte code itself.

Thank you,
MihaiV.
kjk24:

--- Quote from: MihaiV on December 30, 2021, 08:41:17 pm ---Hello kjk24,

We are lucky enough to have a J-link Pro at work! Unfortunately I suck at programming, so I will certainly need more help on setup, commands and such.
I understand that I must install J-MEM and J-Flash from Segger.
I see a file at post 163, (MC9328MXS_1.jflash), with some "steps" inside it (various write and read commands) . Is it a script that runs RAM tests or just a configuration file?

Not sure what you mean, the bootscript execute and the device is booting without ram tests.

I ran the boot script in redboot step by step and it runs without errors. It loads the clem.img, it mounts it and after the "go -c -n" it prints a "+" and "Entry point ..." and the green led turns off. I see something more at the "go" command, the -w and 10000 that is not in the boot script inside my meter. I'll try it again.

W is wait, see documentation for redboot.
+ is from the chip bootloader (press somthing and you are in....) after that redboot is loading....

The meter is a 287/NUC (whatever NUC means).
My PCB is marked as REV 015, but there is also a sticker on the PCB with "287 R.020 AJ764496". So i guess it has REV 20 on it, as R277, R125 and R121 are populated (so assembled ModellA, ID0). Also, VR1, VR2, VR3, VR4 and other parts are not populated.

I'll get to the J-link after 5th January. Until then I'll read some more about the J-link tools and check the RAM lines with the scope. Play with hardware 'til i get to the software.

By the way, the Micron part marking decoder indicates that PW755 is for Micron MT45W2MW16BGB-701 IT, and it appears to fit the footprint (at least the VCC and VSS pins do). Is this the one? I saw in your photos a part number marked ISSI, but the photo was not clear enough to see hte code itself.
i have pdfs i dont remamber exactly. i have parts left and a hole DMM without display to sell
MT45W2MW16BGB-708-WT-TR
MT45W4MW16BCGB-701-IT-Micron

Thank you,
MihaiV.

--- End quote ---
MihaiV:
Hello kjk24,

I checked the fs_info.txt and I found the same things inside my DMM with few exceptions.
My clem.img has a different size (3594744). Yours has 3593752.
In my health directory are two files, one named SysHealthLog (size 35750) and a BackupSysHealthLog (size 4096). Yours has only the SysHealthLog (size 3933).
The contents of fs is listed below:


--- Code: ---RedBoot> fis unlock fs
RedBoot> fs mount -d /dev/flash/fis/fs -t jffs2 /
RedBoot> fs list
   1 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
   4 drwxr-xr-x  1 size      0 tmp
   5 drwxr-xr-x  1 size      0 user
   3 drwxr-xr-x  1 size      0 system
   2 drwxr-xr-x  1 size      0 checkpoint
RedBoot> fs cd tmp
RedBoot> fs list
   4 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
RedBoot> fs cd ./
RedBoot> fs list
   1 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
   4 drwxr-xr-x  1 size      0 tmp
   5 drwxr-xr-x  1 size      0 user
   3 drwxr-xr-x  1 size      0 system
   2 drwxr-xr-x  1 size      0 checkpoint
RedBoot> fs cd user
RedBoot> fs list
   5 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
  10 drwxr-xr-x  1 size      0 setup
  11 drwxr-xr-x  1 size      0 stored
   9 drwxr-xr-x  1 size      0 calibration
RedBoot> fs cd setup
RedBoot> fs list
  10 drwxr-xr-x  1 size      0 .
   5 drwxr-xr-x  1 size      0 ..
1051 -rwxr-xr-x  1 size    371 BackupSetupResetData
1052 -rwxr-xr-x  1 size     44 SetupNonResetData
1053 -rwxr-xr-x  1 size    371 SetupResetData
1050 -rwxr-xr-x  1 size     44 BackupSetupNonResetData
RedBoot> fs cd ..
RedBoot> fs list
   5 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
  10 drwxr-xr-x  1 size      0 setup
  11 drwxr-xr-x  1 size      0 stored
   9 drwxr-xr-x  1 size      0 calibration
RedBoot> fs cd stored
RedBoot> fs list
  11 drwxr-xr-x  1 size      0 .
   5 drwxr-xr-x  1 size      0 ..
  12 drwxr-xr-x  1 size      0 meas
  14 drwxr-xr-x  1 size      0 peak
  13 drwxr-xr-x  1 size      0 minmax
  15 drwxr-xr-x  1 size      0 recording
  16 drwxr-xr-x  1 size      0 records
RedBoot> fs cd ..
RedBoot> fs list
   5 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
  10 drwxr-xr-x  1 size      0 setup
  11 drwxr-xr-x  1 size      0 stored
   9 drwxr-xr-x  1 size      0 calibration
RedBoot> fs cd calibration
RedBoot> fs list
   9 drwxr-xr-x  1 size      0 .
   5 drwxr-xr-x  1 size      0 ..
  28 -rwxr-xr-x  1 size   1098 CalConstant
RedBoot> fs cd ./
RedBoot> fs list
   5 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
  10 drwxr-xr-x  1 size      0 setup
  11 drwxr-xr-x  1 size      0 stored
   9 drwxr-xr-x  1 size      0 calibration
RedBoot> fs cd ./ !!!!!!!! nu merge
RedBoot> fs list
   1 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
   4 drwxr-xr-x  1 size      0 tmp
   5 drwxr-xr-x  1 size      0 user
   3 drwxr-xr-x  1 size      0 system
   2 drwxr-xr-x  1 size      0 checkpoint
RedBoot> fs cd system
RedBoot> fs list
   3 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
   6 drwxr-xr-x  1 size      0 apps
   7 drwxr-xr-x  1 size      0 health
RedBoot> fs cd apps
RedBoot> fs list
   6 drwxr-xr-x  1 size      0 .
   3 drwxr-xr-x  1 size      0 ..
   8 -rw-r--r--  1 size 3594744 clem.img // different size
RedBoot> fs cd ..
RedBoot> fs list
   3 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
   6 drwxr-xr-x  1 size      0 apps
   7 drwxr-xr-x  1 size      0 health
RedBoot> fs cd health
RedBoot> fs list
   7 drwxr-xr-x  1 size      0 .
   3 drwxr-xr-x  1 size      0 ..
 904 -rwxr-xr-x  1 size  35750 SysHealthLog // different size
  41 -rwxr-xr-x  1 size   4096 BackupSysHealthLog // new file
RedBoot> fs cd ./
RedBoot> fs list
   1 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
   4 drwxr-xr-x  1 size      0 tmp
   5 drwxr-xr-x  1 size      0 user
   3 drwxr-xr-x  1 size      0 system
   2 drwxr-xr-x  1 size      0 checkpoint
 
RedBoot> fs cd checkpoint
RedBoot> fs list
   2 drwxr-xr-x  1 size      0 .
   1 drwxr-xr-x  1 size      0 ..
  40 -rwxr-xr-x  1 size      4 uid
  17 -rwxr-xr-x  1 size      4 sysFilesBytes

--- End code ---

Next, I updated the bootscript with the one from the redboot info.txt file you attached.
I introduced the exact instructions, keeping the MAC address:

--- Code: ---RedBoot> fconfig -i
Initialize non-volatile configuration - continue (y/n)? y
Run script at boot: true
Boot script:
Enter script, terminate with empty line
>> fis unlock fs
>> fs mount -d /dev/flash/fis/fs -t jffs2 /
>> load -m file /system/apps/clem.img
>> fs umount /
>> go -c -n -w 10000
>>
Boot script timeout (1000ms resolution): 10
Use BOOTP for network configuration: false
Gateway IP address: 0.0.0.0
Local IP address: 192.168.9.133
Local IP address mask: 255.255.0.0
Default server IP address: 192.168.100.100
Console baud rate: 115200
DNS server IP address: 0.0.0.0
Set eth0 network hardware address [MAC]: true
eth0 network hardware address [MAC]: 0x0E:0x00:0x00:0xEA:0x18:0xF0
GDB connection port: 9000
Force console for special debug messages: true
Console number for special debug messages: 0
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue (y/n)? y
RedBoot> reset
... Resetting.

--- End code ---

And reset. Here is the output:

--- Code: ---+Aborted RBINIT
No network interfaces found

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version v2_0_74 - built 15:56:18, Sep 27 2007

Platform: Fluke Clem (ARM9)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2003, 2004, 2005, 2006, 2007 eCosCentric Limited

RAM: 0x00000000-0x007fb500, [0x0004dcb0-0x005d8500] available
FLASH: 0x10000000-0x107fffff, 63 x 0x20000 blocks, 4 x 0x8000 blocks
== Executing boot script in 10.000 seconds - enter ^C to abort
RedBoot> fis unlock fs
RedBoot> fs mount -d /dev/flash/fis/fs -t jffs2 /
RedBoot> load -m file /system/apps/clem.img
Entry point: 0x00060040, address range: 0x00060000-0x003bef68
RedBoot> fs umount /
RedBoot> go -c -n -w 5
About to start execution at 0x00060040 - abort with ^C within 5 seconds

--- End code ---

It start execution in 5s because I wanted to see what happens after: nothing different, the green led turns off and the same gray screen appears.

Here is what I don't understand (please correct where I am wrong):
- the clem.img is the application that manages everything and is stored in Flash.
- At boot, the script mounts the JFFS2 partition that contains the clem.img
- Next, we load the clem.img itself. This means it is now loaded in RAM, right?
- Next, the go command initiates execution.

Now about the the redboot_info.txt (also correct me where I am wrong):
- The " fis create fs -n -f 0x10040000 -l 0x007A0000 " command will create in FLASH a new file system, starting at address 0x10040000, with length 0x007A0000. The -n will not alter the flash contents, so there is no danger to overwrite important stuff, right?
- The next instructions load the newly created file system in RAM, starting at the lowest free RAM address and write the clem.img in RAM, correct?:

--- Code: ---
load fs -r -b %{FREEMEMLO} -m ymodem
fis unlock fs
fis create fs

load clem.img -r -b 0x00050000 -m ymodem
fs write -b 0x00050000 -l 0x003bd617 clem.img

RedBoot>fis list

Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x10000000  0x10000000  0x00040000  0x00000000
fs                0x10040000  0x00000000  0x007A0000  0xFFFFFFFF
FIS directory     0x107E0000  0x107E0000  0x0001F000  0x00000000
RedBoot config    0x107FF000  0x107FF000  0x00001000  0x00000000


--- End code ---
- Next, we run "by hand" the boot script:

--- Code: ---RedBoot config:
fis unlock fs
fs mount -d /dev/flash/fis/fs -t jffs2 /
load -m file /system/apps/clem.img
fs umount /
go -c -n -w 10000

--- End code ---

- The "fis init" command appears to format the FLASH. Won't I loose the clem.img and everything in flash?
- The "copy files to device" commands at the end of the file appear to duplicate the clem.img and save it to BackupClem.img. Where do I get the "new" clem.img and how do I ulopad it? What exactly happens here?

--- Code: ---copy file to device:

boot to redboot
fis unlock fs
fs mount -d /dev/flash/fis/fs -t jffs2 /
fs cd /system/apps/
fs list
fs move clem.img BackupClem.img
load clem.img -r -b 0x00050000 -m ymodem
fs write -b 0x00050000 -l 0x003bd617 clem.img
RedBoot> fs list
   6 drwxr-xr-x  1 size      0 .
   3 drwxr-xr-x  1 size      0 ..
 621 -rwxr-xr-x  1 size 3921431 clem.img
 596 -rwxr-xr-x  1 size 3922423 BackupClem.img
RedBoot> reset

--- End code ---

Sorry for my lack of computer knowledge, they were overwritten long ago.
Thank you for your time and patience,
MihaiV.







Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod