| Author |
Message |
|
|
Posted: Jul 02, 2010 - 12:58 PM |
|

Joined: Feb 24, 2008
Posts: 53
|
|
Hello everyone ,
I am new to Zigbit
I am working on a project with ATZB 24 A2 modules .I am facing serious problems with programming those modules.
I have bought the modules and I am programming the module through JTAG using AVR dragon
But the problem is that the programmer does not always program the module and sometimes it shows the message in AVRDUDE that JTAG has been disabled
// ILLEGAL JTAG ID
//IS JTAG DISABLED
the following are the error messages
I have searched a lot for circuit to program it .Is ISP programming possible through Zigbit?
Thanks In Advance |
|
|
| |
|
|
|
|
|
Posted: Jul 02, 2010 - 07:29 PM |
|


Joined: Apr 15, 2009
Posts: 1319
Location: Russia, Moscow
|
|
|
SAINATH wrote:
But the problem is that the programmer does not always program the module and sometimes it shows the message in AVRDUDE that JTAG has been disabled
Looks like hardware problem on your side. What JTAG frequency do you use?
SAINATH wrote:
I have searched a lot for circuit to program it .Is ISP programming possible through Zigbit?
Connections for ISP are following: MISO(38), MOSI(39), RST(8), Vcc(24,25) and GND(9,22,23,35)?
I'm not sure if all Vccs and GNDs are connected internally. |
|
|
| |
|
|
|
|
|
Posted: Jul 03, 2010 - 08:13 AM |
|

Joined: Feb 24, 2008
Posts: 53
|
|
Thank you Alex for the reply.
After seeing the post I have gone through the Avrdude Manual to check the frequency and found it to be 1microsecond bit clock period.
Also I have a query .Is frequency of programming is decided by Avrdude or the AVRDragon with which we program?
Thank you for the ISP connections .Will try it out
Regards
Sainath |
|
|
| |
|
|
|
|
|
Posted: Jul 03, 2010 - 04:02 PM |
|


Joined: Apr 15, 2009
Posts: 1319
Location: Russia, Moscow
|
|
|
SAINATH wrote:
I have gone through the Avrdude Manual to check the frequency and found it to be 1microsecond bit clock period.
So it is 1 MHz frequency. It is rather high frequency, try something like 250 kHz (4 us period).
SAINATH wrote:
Is frequency of programming is decided by Avrdude or the AVRDragon with which we program?
It depends on implementation, I don't know how Dragon is designed. |
|
|
| |
|
|
|
|
|
Posted: Jul 04, 2010 - 03:30 PM |
|

Joined: Feb 24, 2008
Posts: 53
|
|
Thank you Alex,
I was able to program the Zigbit through ISP through Dragon.And sometimes the fuses get changed automatically and Avrdude shows that fuses have been changed.What should be my methodology to avoid that?
I will try ISP on all the chips I have and try to change their fuses for JTAG programming .
Regards
Sainath |
|
|
| |
|
|
|
|
|
Posted: Jul 04, 2010 - 03:42 PM |
|


Joined: Apr 15, 2009
Posts: 1319
Location: Russia, Moscow
|
|
|
SAINATH wrote:
What should be my methodology to avoid that?
I never programed ZigBits with something else than JTAGICEmkII but in my practice I programed a lot of AVR via lots of programmers and never seen fuses changes by themselves.
SAINATH wrote:
I will try ISP on all the chips I have and try to change their fuses for JTAG programming
Both ISP and JTAG are enabled by default on all modules. |
|
|
| |
|
|
|
|
|
Posted: Jul 06, 2010 - 09:38 AM |
|

Joined: Feb 24, 2008
Posts: 53
|
|
Yes both ISP and JTAG is enabled by default.
Do you have any schematic of Zigbit with both JTAG and ISP header and also with USB interface for bootloader.I have many boards and I want to have a generic PCB made for experimenting.
Thank you ,
Regards
Sainath |
|
|
| |
|
|
|
|
|
Posted: Jul 06, 2010 - 09:48 AM |
|


Joined: Apr 15, 2009
Posts: 1319
Location: Russia, Moscow
|
|
| Here is schematic for MeshBean board taken from meshnetics site while it was alive. |
|
|
| |
|
|
|
|
|
Posted: Jul 06, 2010 - 10:46 AM |
|

Joined: Feb 24, 2008
Posts: 53
|
|
Thank you Alex.
I already have the Mesh Bean Board so I have incorporated the test points as well as USB interface from that .I am now only left with the ISP header's .I will incorporate that too with a LED to each GPIO and prepare that .
Regards
Sainath |
|
|
| |
|
|
|
|
|