Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
yzhu
PostPosted: Sep 05, 2007 - 07:52 AM
Newbie


Joined: Jul 10, 2007
Posts: 13


I have developed a NGW100 flash programmer runing on Windows. It can work with the cable wiggler or byteblaster.
For using byteblaster, just plug directly on the JTAG port of NGW100. For using wiggler, linkage should be used between the *same name* of the signals, such as nTRST, TCK, TMS, TDI, TDO. The wiggler cable's circuit see http://jtag-arm9.sourceforge.net/circuit.txt Smile

Just type 'avr32prog' for help.
'avr32prog blink' will blink the SYS led.
'avr32prog id' will read the CPU's ID code.

Note: I have tested that it may take about 40 min. when programing a 91624 bytes u-boot binary image file. It's too slow, isn't it?

The programmer referances from JTAGER ( http://jtager.sourceforge.net/ ).
For Linux user, there is avr32fjtag ( http://sfinx.od.ua/index.php?id=avr32 ).

At last, I must announce that the programmer may damage the hardware, there is absolutely no warranty!
 
 View user's profile Send private message  
Reply with quote Back to top
yzhu
PostPosted: Sep 05, 2007 - 08:12 AM
Newbie


Joined: Jul 10, 2007
Posts: 13


I am sorry the attachemented file always be short several bytes.
Who can tell me how to attachement whole file?
 
 View user's profile Send private message  
Reply with quote Back to top
microchip
PostPosted: Sep 05, 2007 - 03:29 PM
Hangaround


Joined: Sep 04, 2004
Posts: 106
Location: Netherlands

This is great news! Is there anywhere I can find the source?

What do you think the bottleneck is in the transfer speed? Is it the speed the parallel port can twiddle bits? If so, wouldn't it be an idea to send the program over RS232 (115200 baud = 14400 B/s) to, for example, an AVR which then twiddles the bits a lot faster?

And what exactly do you mean when you say "For using wiggler, linkage should be used between the *same name* of the signals, such as nTRST, TCK, TMS, TDI, TDO."?
 
 View user's profile Send private message  
Reply with quote Back to top
yzhu
PostPosted: Sep 06, 2007 - 07:35 AM
Newbie


Joined: Jul 10, 2007
Posts: 13


Wiggler is used for ARM mostly, the JTAG if ARM is defined on a 20-pin port, and the AVR32 JTAG port is 10-pin, so the linkage must be used.

The source is under development, I plan to use FT2232 as the cable master such as OpenOCD.
 
 View user's profile Send private message  
Reply with quote Back to top
buserror
PostPosted: Sep 06, 2007 - 04:45 PM
Hangaround


Joined: Apr 12, 2007
Posts: 286
Location: Windsor, UK

Thats great news ! At last a proper JTAG interface, with good tools like openocd...
Keep us posted on how this progresses...

_________________
Author of simavr - Follow me on twitter : @buserror
 
 View user's profile Send private message  
Reply with quote Back to top
ldqmoon
PostPosted: Nov 04, 2007 - 02:56 PM
Rookie


Joined: May 22, 2007
Posts: 26


what about now ?

as you said,
Quote:
The programmer referances from JTAGER ( http://jtager.sourceforge.net/ ).
For Linux user, there is avr32fjtag ( http://sfinx.od.ua/index.php?id=avr32 ).


I find the JTAGER in the first web, and the fjtag-avr32 in the second web, but your attached file is avr32prog, what's the difference between them?
 
 View user's profile Send private message  
Reply with quote Back to top
yzhu
PostPosted: Jan 22, 2008 - 12:43 PM
Newbie


Joined: Jul 10, 2007
Posts: 13


Now it's here
http://194.204.26.104/~andrei/avrfreaks/avr32prog.zip
 
 View user's profile Send private message  
Reply with quote Back to top
cbecker
PostPosted: Mar 05, 2008 - 02:00 PM
Hangaround


Joined: Jun 27, 2005
Posts: 288
Location: Santa Fe - Argentina

yzhu, did you set up the PLL before starting flash erase/write? Otherwise I think the avr32 is running clocked from the xtal oscillator, which will be fairly slow, explaining why it takes so long to transfer 90kB.

jtager is GPL, right? can you post the source code? I would be glad to help developing a avr32 tool, specially this one being this cheap.

thanks
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
boomer
PostPosted: Mar 07, 2008 - 05:50 PM
Newbie


Joined: Oct 31, 2007
Posts: 1


Hi Yzhu,

I am trying to use the tool with the following command:
avr32prog.exe -c wiggler -p LPT1 id

But I am getting those:
Error: unknow target (ID: 0x21E82030)!
Error: unknow target (ID: 0x21E8204C)!

In other words the last 2 bytes of ID are different, changeable and apparently wrong

Where could the problem be?

Thanks in advance for the help,
Boomer
 
 View user's profile Send private message  
Reply with quote Back to top
frankpp
PostPosted: Jan 23, 2009 - 10:58 PM
Wannabe


Joined: Aug 12, 2007
Posts: 83
Location: Walsdorf

Hey,

I' ve worked with this program fpr some times. It's really nice!

But it's a bit slow. So what's about putting the source here and see, if we can get it a bit faster.

Thanks Frank
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
brag32
PostPosted: Nov 30, 2009 - 03:35 AM
Newbie


Joined: Sep 27, 2009
Posts: 7


Hi all!
i've made support for flash programming avr32uc for urjtag.
 
 View user's profile Send private message  
Reply with quote Back to top
Tomaok
PostPosted: Dec 02, 2009 - 10:33 AM
Newbie


Joined: Jun 06, 2009
Posts: 1


hello guys,

i'm interesting about this prog.,
but the sfinx site doesn't seems to work fine.
is there another way to get the linux software.
or is there a way to get source code?

bye
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits