Hello,
I am trying to do exactly what you have done, any chance you could
send me your changes to boot.S/serial_blaster.c in a diff?
Regards,
Ahmed Ammar
--- In Matthieu Crapet <> wrote:
>
> Greetings,
>
> I don't know if it will help you, but I also crashed my TS-7200 SBC
(Rev
> C PLD) few days ago.
> With the help of serial_blaster (and Curtis Monroe), I modified boot.S
> and added two functions: one to erase and another to write a NOR flash
> block (0x20000 = 128kb). It's less than 80 lines of assembly code.
>
> The process is:
> - load (from serial) and execute boot.bin
> - load the file to flash in memory (addresse 0x00008000), write it
to flash
> - mov pc, #0x60000000 @ jump to TS-BOOTROM
>
> I even loaded the whole 1.9mb redboot partition, writed it in flashed,
> executed it :
> ldr r0, =0x60620000 @ redboot entry point (8MB flash)
> mov pc, r0
>
> Note: that you can also jump to load redboot and execute it directly in
> memory.
>
> I had some more difficulties because I have an old 166MHz system clock
> so I had to change the system speed and SDRAM timings, fortunately
> Curtis has commented the dead listings of a ts-bootrom (see
> ts7250-bootrom.S).
>
> Matthieu
>
> PS: Few answers:
> - 3 : Eddie said me (in a mail) that the TS-7200 will not work with a
> Disk On Chip(DOC).
> - 4 : You can't, I had to send back my SBC from Paris (France) to
> Arizona to get my Rev C PLD ! :-)
>
>
> yur_grampa wrote:
> > Jesse:
> > This answers most of my questions.
> > >From what you said, it appears the 9420 is the most cost effective
> > alternative. Please answer these questions for me:
> > 1. Will the 9420 be able to recover a ts7xxx board from any form of
> > fis erase command from redboot (say there are some over curious
users)?
> > (assume no hardware failure/operator error)...
> >
> > 2. is an 8 or 16 pc104 bit pass thru connector required to use the
9420?
> >
> > 3. I noted on http://www.embedded.com/epc/prod_PER.htm that the
> > description states 32 mB Disk on Chip for storage***BUT*** the actual
> > hardware description of the 9240 says 8mB flash used for
> > bootloader,linux and flash... Is there an error on the site?
> >
> > 4. How can the customer(if they can) reprogram the CPLD? If they
> > cannot then how do you do it?(eg. jtag?)
> >
> > 5. What function does the reserved flash address 0x60000000 -
> > 0x60062000 perform???
> >
> > 6. What is the major factor that is holding up the release of the
> > little board (1" x 1") you've created that sits on the DI"?
> >
> > Thank you in advance....
> >
> > --- In "Jesse Off" <joff@> wrote:
> >
> >>> Wow!
> >>>
> >>> I guess Technologic would be the first place to start.... The job
> >>> would be much easier if they would provide detailed info about the
> >>> jtag interface - starting with: "Is this a good idea? Will it work
> >>>
> >> to
> >>
> >>> reflash the boards?" :-)
> >>>
> >> We would gladly accept contract work projects whose end-goal is
> >> something open-source.
> >>
> >> The flash JTAG interface is not hooked up anywhere, so you can't
> >> program flash using that. If you hook up the embedded trace JTAG on
> >> the CPU-- well then perhaps you could make the processor run opcodes
> >> to program flash but that sounds complicated.
> >>
> >> We use TS-9420 boards to write the initial flash in production.
> >> http://www.embeddedarm.com/epc/ts9420.htm. This contains a 8Mbyte
> >> strataflash that overrides the bootup of the processor. We use this
> >> because its fast and we can just boot to Linux and pull the latest
> >> images off NFS and use the MTD drivers to write the flash rather
> >> than rolling our own low-level flash write code.
> >>
> >> We also can boot the boards with a little board (1" x 1") we've
> >> created that sits on the DIO header and can override the CPU bootup
> >> through SPI. This isn't for sale yet though we have been toying
> >> with the idea of releasing it as a lower-cost alternative to using
> >> the TS-9420 blast board. Currently we use it for custom boards that
> >> don't have the PC104 bus or as a way to save about 20 LUTs on the
> >> glue logic CPLD.
> >>
> >> All new boards we've created we arm the watchdog for 8 second expiry
> >> to give time to serial bootup. The 1 second arming at bootup was an
> >> unfortunate "feature" on the TS-7200.
> >>
> >> If the price of the TS-9420 board is at issue, perhaps this
> >> community could purchase 1 together and mail it around/rent it out
> >> as needed among members?
> >>
> >> //Jesse Off
> >>
> >>
> >>
> >>> I'm not sure what you call jtag-ICE - what I have is a simple flash
> >>> utility. It is not a debugger or emulator by any means; it has no
> >>> hooks for runtime debugging.
> >>>
> >>> If the intent is to reflash a dead board or flash a custom image
> >>>
> >> to a
> >>
> >>> new board, the debrick utility I've worked with would make a good
> >>> starting point; AFAIK all it would need is some detailed
> >>>
> >> information
> >>
> >>> on the type and organization of the various TS boards.
> >>>
> >>> --Yan
> >>>
> >>>
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|