RV: Samsung 4510 question

"Alonso" <[email protected]> Sat, 15 Nov 2003 13:28:37 +0100
Newsgroups gmane.linux.drivers.wireless.access-point
Message-ID <000501c3ab74$01ca3150$0401a8c0@ALP4W>
Hi Everybody,

 

            I was looking in page
http://bh.udev.org/filez/wireless/samsung4510/ the hackingparty about AP's
with Samsung 4510, I try to port a Benq AWL 700 AP but I do many attemps to
get it without success, maybe someone could help me, I supposed that you
pass this step, if you have any document or guide I thank you so much. This
is the steps that I follow:

 

1.- FIRST ATTEMPT OCDDEMON FLASH MEMORY PROGRAMMING OF Macraigor Systems FOR
WINDOWS.

 

-          I press the Snoop Target button for reading registers and these
are values: 

 

"S3C4510 System Integration Module Registers:"

Register                       Default Value

SYSCFG                     0x3FFFF91     0x430000AA

EXTACON0               0x0000000      0x0C5187E0

EXTACON1               0x0000000      0x24B095E5

EXTDBWTH              0x0000000      0xFA11D5E1

ROMCON0                0x2000060      0xF08FBDE8

ROMCON1                0x0000060      0x00C0A0E3

ROMCON2                0x0000060      0x4B4FA0E3

ROMCON3                0x0000060      0x08005C01

ROMCON4                0x0000060      0x801080E0

ROMCON5                0x0000060      0x081080E2

DRAMCON0             0x0000000      0x20809DE5

DRAMCON1             0x0000000      0x708101EB

DRAMCON2             0x0000000      0x820180E0

DRAMCON3             0x0000000      0xF3FFFFBA

REFEXTCON            0x00083ED     0x80008DE5

IOPMOD                    0x0000000      0xB600D1E1

IOPCON0                  0x0000000      0x04109DE5

IOPDATA                  0x0000000      0x0800D5E5

 

 

-         If I press the Reset Target button it goes right: Information
Windows with message " Target Reset Asserted".

 

 

-         If I press Program or Upload Flash button the following Windows
are displayed, what's going wrong ? what I must to do ?. FlashPgm Windows
with message " Target Communications Error: Processor Running" and after
other windows appears with message " Unable to Run Target Resident Code".

 

 

2.- SECOND ATTEMPT JTAG V0.5 PROGRAMMING DOWNLOAD OF PAGE
<http://bh.udev.org/filez/projects/uClinux-samsung4510/jtag/>
http://bh.udev.org/filez/projects/uClinux-samsung4510/jtag/ FOR LINUX.

 

         - I execute the commands that emphasized in black but errors
produced, I don't know why ?:

 

jtag 0.5

Copyright (C) 2002, 2003 ETC s.r.o.

jtag is free software, covered by the GNU General Public License, and you
are

welcome to change it and/or distribute copies of it under certain
conditions.

There is absolutely no warranty for jtag.

 

Warning: jtag may damage your hardware! Type "quit" for exit!

 

Type "help" for help.

 

jtag> cable parallel 0x0378 WIGGLER

Initializing Macraigor Wiggler JTAG Cable on parallel port at 0x378

jtag> detect

IR length: 4

Chain length: 1

Device Id: 00011111000011110000111100001111

  Unknown manufacturer!

chain.c(110) Part 0 without active instruction

chain.c(133) Part 0 without active instruction

chain.c(110) Part 0 without active instruction

jtag> include samsung/s3c4510b/s3c4510b

initbus: unknown command

jtag> peek 0x0080

Error: Bus driver missing.

jtag> print

 No. Manufacturer              Part                 Stepping Instruction
Register

----------------------------------------------------------------------------
-----------------

   0                                                         (none)
(none)

jtag>

 

 

3.- THIRD ATTEMPT JTAG-ARM9 PROGRAMMING DOWNLOAD OF PAGE
<http://jtag-arm9.sourceforge.net/> http://jtag-arm9.sourceforge.net/ FOR
LINUX

 

-         The compilation process goes right but the programs doesn't
recognize the commands: 

 

root@alport:~/jtag/jtag-arm9# ./jtag-arm9

Jtag-Arm9 - JTAG interface to the ARM9

by Simon Wood. July 2001

 

Jtag - Using port 0x378

JTAG interface reset.

Jtag:>halt

Requesting HALT..

System HALTED in 32bit State

R0 is 0x0000809C

PC is 0x00008084

Jtag:>ident

Unknown command: ident

Jtag:>regs

registers read

Registers:

  R00 - 0x0000809c   R08 - 0x00000008

  R01 - 0x00000008   R09 - 0x00000008

  R02 - 0x00000008   R10 - 0x00000008

  R03 - 0x00000008   R11 - 0x00000008

  R04 - 0x00000008   R12 - 0x00000008

  R05 - 0x00000008   R13 - 0x00000008

  R06 - 0x00000008   R14 - 0x00000008

  R07 - 0x00000008   R15 - 0x00000008

 

  PC  - 0x00008084

Jtag:>status

Unknown command: status

Jtag:>restart

registers written

Restarting at 0x00008084

Done

Jtag:>status

Unknown command: status

Jtag:>load test.bin 0x00000000 0x00004000

Error opening file : test.bin

Jtag:>dump test.bin 0x00000000 0x00004000

Unknown command: dump

Jtag:>load image.ram 0x00000000 0x00004000

Jtag:>restart

System not halted, don't waste my time

Jtag:>halt

Requesting HALT..

System HALTED in 32bit State

R0 is 0x0000000C

PC is 0xFFFFFFF4

Jtag:>read

Unknown command: read

Jtag:>regs

registers read

Registers:

  R00 - 0x0000000c   R08 - 0x00000008

  R01 - 0x00000008   R09 - 0x00000008

  R02 - 0x00000008   R10 - 0x00000008

  R03 - 0x00000008   R11 - 0x00000008

  R04 - 0x00000008   R12 - 0x00000008

  R05 - 0x00000008   R13 - 0x00000008

  R06 - 0x00000008   R14 - 0x00000008

  R07 - 0x00000008   R15 - 0x00000008

 

  PC  - 0xfffffff4

Jtag:>jtag

JTAG interface reset.

Jtag:>