ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: ts7200 won't boot into redboot... I erased flash and k

To:
Subject: Re: [ts-7000] Re: ts7200 won't boot into redboot... I erased flash and killed it....
From: Matthieu Crapet <>
Date: Sat, 10 Jun 2006 08:29:33 +0200
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" <> 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 Sponsor --------------------~-->
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU