avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Support for JTAGICE3 on avrdude


From: Juergen Harms
Subject: [avr-chat] Support for JTAGICE3 on avrdude
Date: Sat, 31 May 2014 11:06:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

After a firmware upgrade of my JTAGICE3 (1.25 -> 3.23) my JTAGIC3 had become totally unusable: avrdude 6.0.1 failed top open the USB port (... did not find any device "usb"). Some googling showed that this is a known problem, and which has been fixed on avrdude-6.1.

But, building 6.1 on my Mandriva platform (for a plain install from the tarball and, evidently also for building an rpm package) failed due to compiler errors in the modules flip1.c and flip2.c - which use uint32_t in declarations, but uint32_t is not defined.

Is this a known problem? Intuitively, I added a "typedef int uint32_t", which made the problem go away (easier to implement than expicitely changing all instances of the uint32_t declarations) - or is there an include that should be added?. Result: the programmer works again as it should.

Note: it appears that the upgrade also changed the USB ID from 03eb:2110 to 03eb:2140 - there is also the need to change the udev rules correspondingly, possibly also in the rpm package in case that adds the rule for the JTAGICE3

Question: I do not like to depend on intuition - is this a proper way to fix the compilation problem in avrdude 6.1?

Juergen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]