Hello all,
Today I encountered a problem. First of all, it used to be fine with mikroBASIC for AVR with AVRFLASH 2.0x
Now I have the 2 new betas installed: mikroC Pro for AVR and mikroBASIC Pro vor AVR. Along came AVRFLASH v2.11a with its drivers.
Now if I try to programm the AVR, I got this error:
'USB Transfer error'
and when I hit 'OK', there's an additional message:
'Can not read signature bytes.'
The programm that is currently running is stopped during re-programming, and is resuming after hitting 'OK' at the 'USB Transfer error'-message
First I thought I had it wrong with the installation of the new software, so I removed all of the AVRFLASH programs (there were 3 of them, all in respect to 'their' compiler...) and its drivers.
Now I have only 1: v2.11a with driver.
mikroBASIC (not the Pro) can't find this new AVRFLASH, but the Pro (I upgraded my license) can. But still the error persists.
Also mikroC Pro can't programm as it is using the same AVRFLASH....
It used to be fine with mikroBASIC and mikroC Pro (and AVRFLASH v2.10) before I installed mikroBASIC Pro with AVRFLASH v2.11a
So:
mikroBASIC Pro for AVR
AVRFLASH v2.11a with usb18f driver (v1.20)
UNI-DS3 with ATmega128 (AT FLASH prog: 02.06.02.28)
Anyone?
Regards,
Marc
UNI-DS3 with AVRFLASH error: USB Transfer error
- marko.medic
- mikroElektronika team
- Posts: 173
- Joined: 05 Jun 2008 08:07
Hi,
I guess that you have some collision between software versions.
So I recommend to uninstall older version of software's
(AVR Flash programmer and mikroBasic compiler), and then install new one's.
Regards
I tested mentioned situation and I wasn't able to reproduce problem. All is working fine.mikroBASIC Pro for AVR
AVRFLASH v2.11a with usb18f driver (v1.20)
UNI-DS3 with ATmega128 (AT FLASH prog: 02.06.02.28)
I guess that you have some collision between software versions.
So I recommend to uninstall older version of software's
(AVR Flash programmer and mikroBasic compiler), and then install new one's.
Regards
Thanks for checking.
I'll try uninstalling and install only the latest versions. I will post the results after the weekend.
[weekend]
Well,
Still in the weekend, but couldn't just wait.... I uninstalled all software and drivers. Rebooted and installed just mikroBASIC Pro for AVR + AVRFLASH 2.11a with drivers.
But... Still no luck.
The USB LINK led is on. When programming, the current running software stops (I have software filling the graph-lcd) and after a while (21 seconds) the message 'USB Transfer error' appears. When I click 'OK' the previous programmed software starts filling the lcd again. And the message 'Can not read signature bytes' pops up.
So there is some kind of communication with the board (otherwise the software wouldn't stop, right?), and somewhere on the line it must go wrong....
Could it be a faulty ATmega128 board?
The USB ports on my laptop are functioning, I've tested every port with mouse, scanner and harddisk.
The UNI-DS3 board is powerd by external powersource.
Well... It beats me.... I haven't got a JTAG programmer, or I would have tried that...
Anything I can measure on the AVR 64 pin Card? (rev. 1.01)
Marc
I'll try uninstalling and install only the latest versions. I will post the results after the weekend.
[weekend]
Well,
Still in the weekend, but couldn't just wait.... I uninstalled all software and drivers. Rebooted and installed just mikroBASIC Pro for AVR + AVRFLASH 2.11a with drivers.
But... Still no luck.
The USB LINK led is on. When programming, the current running software stops (I have software filling the graph-lcd) and after a while (21 seconds) the message 'USB Transfer error' appears. When I click 'OK' the previous programmed software starts filling the lcd again. And the message 'Can not read signature bytes' pops up.
So there is some kind of communication with the board (otherwise the software wouldn't stop, right?), and somewhere on the line it must go wrong....
Could it be a faulty ATmega128 board?
The USB ports on my laptop are functioning, I've tested every port with mouse, scanner and harddisk.
The UNI-DS3 board is powerd by external powersource.
Well... It beats me.... I haven't got a JTAG programmer, or I would have tried that...
Anything I can measure on the AVR 64 pin Card? (rev. 1.01)
Marc
- marko.medic
- mikroElektronika team
- Posts: 173
- Joined: 05 Jun 2008 08:07
Hi,
Please try with removing all peripherals from development board(LCD, GLCD...).
Also pay attention on Jumpers and switches on your board,
try to turn all board modules off with mentioned switches and jumpers.
Some of peripherals could interfere with programming lines for your MCU.
Please inform me about results.
Regards
Please try with removing all peripherals from development board(LCD, GLCD...).
Also pay attention on Jumpers and switches on your board,
try to turn all board modules off with mentioned switches and jumpers.
Some of peripherals could interfere with programming lines for your MCU.
Please inform me about results.
Regards
Hi,
I removed all peripherals, dipswitches all off, jumpers in original setup. But still the error.
I uninstalled the mikroBASIC Pro and AVR FLASH 2.11a and installed my original mikroBASIC 4.02 with AVR FLASH 2.09. But also here the error.
I start to think there's something wrong with the AVR 64 pin Card.... :-(
Are there any pins I can measure (multimeter or with scope (40Mhz))?
Regards,
Marc
I removed all peripherals, dipswitches all off, jumpers in original setup. But still the error.
I uninstalled the mikroBASIC Pro and AVR FLASH 2.11a and installed my original mikroBASIC 4.02 with AVR FLASH 2.09. But also here the error.
I start to think there's something wrong with the AVR 64 pin Card.... :-(
Are there any pins I can measure (multimeter or with scope (40Mhz))?
Regards,
Marc