2009-03-10 22:14:30     Loading U-boot via JTAG

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2009-03-10 22:14:30     Loading U-boot via JTAG

Lukasz Jaruszewski (POLAND)

Message: 70730   

 

Hi,

 

I have 533-Stamp Board. U-boot on this board never has been upgrade (U-boot v. 1.1.1 was there when I got this stuff). When I tried to upgrade old U-boot to version 1.1.6 a problem occured. It turned out that old version has a bug and when I tried to erase flash memory regarding with U-boot and replace with new one (which I had into RAM and tested through "go 0x......" command) application hanged up upon exit. I wasn't able to do anything else as board reset and as You guess my board is 'dead' now. I have to reflash board via JTAG and actually I don't know how exactly do this. I read part of documentation ragarding with loading U-boot via JTAG but I don't have such equipment as USB JTAG ICE or JTAG Blue. Is there any other way to  load U-boot into Flash instead of these equipment? Does the standard JTAG programmer (LPT-JTAG) support loading f.e. u-boot to 533-Stamp Board? If yes, what application must I use to load it into Flash?

 

I will be very grateful for any suggestions and pieces of advice.

 

Thanks in advance.

 

Lukasz Jaruszewski

QuoteReplyEditDelete

 

 

2009-03-10 22:21:12     Re: Loading U-boot via JTAG

Mike Frysinger (UNITED STATES)

Message: 70731   

 

the only supported methods are documented in the wiki

 

the specific cable doesnt matter ... if urjtag supports it, it should work fine.  if it doesnt, then you'll need a new ICE.

QuoteReplyEditDelete

 

 

2009-03-11 00:29:04     Re: Loading U-boot via JTAG

Lukasz Jaruszewski (POLAND)

Message: 70734   

 

Thank You Mike for quick reply.

 

I'll test my jtag programmer and try to connect with Stamp. When I'll do this and use appropriote load application I'll leave a post. I'll do the same when I'll have more questions.

 

Best regards

QuoteReplyEditDelete

 

 

2009-03-12 00:31:20     Re: Loading U-boot via JTAG

Lukasz Jaruszewski (POLAND)

Message: 70809   

 

I have some more questions in regard to loading U-boot .

 

Assuming that I have JTAG Wiggler, the most appriopriate applicaton to connect and load new u-boot into flash iwould be IGLOO Parallel Port JTAG?  docs.blackfin.uclinux.org/doku.php

 

What file must I use? Is this a  u-boot *.bin file - bypass mode (the same file which I used to U-boot upgrading)?

 

Which JTAG interface is appropriate at Blackfin 533-STAMP? Is this a JTAG-CPLD or self JTAG (14 pins) interface? docs.blackfin.uclinux.org/doku.php

 

I'm sorry for thise trivial questions but I want to be 100% sure before I'll do u-boot loading.

 

Thanks in advance.

 

Lukasz Jaruszewski

QuoteReplyEditDelete

 

 

2009-03-12 01:03:55     Re: Loading U-boot via JTAG

Mike Frysinger (UNITED STATES)

Message: 70810   

 

the IGLOO JTAG cable is just a wiggler.  so all wigglers operate that way.

 

the jtag page tells you how u-boot binaries get used:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:compiling#binaries

 

the JTAG CPLD is for programming the CPLD only

QuoteReplyEditDelete

 

 

2009-03-24 13:57:33     Re: Loading U-boot via JTAG

Lukasz Jaruszewski (POLAND)

Message: 71460   

 

I had some problems in loading U-boot regarding with my programer (there was an issue with integrated circuit which was broken - I buyed new one and I exchanged it).

 

Fortunately this resolved all problems and I'm enjoying new version of U-boot and uClinux as well.

 

Thank You for all suggestions which were very helpful. Appreciate your help!!!

 

Best regards.

 

Lukasz Jaruszewski.

Attachments

    Outcomes