Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

First User Experience... Not having fun!!! RN-1

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
19 postsPage 2 of 21, 2
19 postsPage 2 of 21, 2

Post by i-Bot » Sat Sep 22, 2007 9:21 am

Post by i-Bot
Sat Sep 22, 2007 9:21 am

Can you try reflashing the controller before you remove the chip ?

This will satisfy our question of whether it is the code or the chip which is faulty.

Let me know if you need instructions. Roboflash and the original code are in my file area.

http://robosavvy.com/Builders/i-Bot/roboflash.zip

http://robosavvy.com/Builders/i-Bot/payload2.5.bin
Can you try reflashing the controller before you remove the chip ?

This will satisfy our question of whether it is the code or the chip which is faulty.

Let me know if you need instructions. Roboflash and the original code are in my file area.

http://robosavvy.com/Builders/i-Bot/roboflash.zip

http://robosavvy.com/Builders/i-Bot/payload2.5.bin
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by Voelker » Sat Sep 22, 2007 12:31 pm

Post by Voelker
Sat Sep 22, 2007 12:31 pm

Do you perform this operation by the serial link or do you use Jtag or icsp ?
Thanks
Do you perform this operation by the serial link or do you use Jtag or icsp ?
Thanks
Voelker
Savvy Roboteer
Savvy Roboteer
Posts: 85
Joined: Thu Sep 06, 2007 7:32 pm

Post by Voelker » Sat Sep 22, 2007 12:57 pm

Post by Voelker
Sat Sep 22, 2007 12:57 pm

RoboFlash failed to reprogramm the atmega. The loading bar kept increasing as the controller reset and nothing happens after the complete programming cycle.
RoboFlash failed to reprogramm the atmega. The loading bar kept increasing as the controller reset and nothing happens after the complete programming cycle.
Voelker
Savvy Roboteer
Savvy Roboteer
Posts: 85
Joined: Thu Sep 06, 2007 7:32 pm

Post by i-Bot » Sat Sep 22, 2007 4:58 pm

Post by i-Bot
Sat Sep 22, 2007 4:58 pm

It does look like the ATmega is damaged. The JTAG and ISP are both disabled on the ATmega in my C3024, so no other way to access it.

You have the same problem with new CPU that the JTAG and ISP pins are used for other C3024 functions, so need to be disabled. I did not do this on my test C3024, and retain JTAG, but lose the 4 analog ports. I made an adapter cable from JTAG to 4 servo connectors, and also added an extra pin in the reset pad.

For a new ATmega, you will also need the bootloader code, since the C3024 code checks it is there, and won't run robobasic programs without it. Let me know if you want that too, or just disable the cC3024 ode which checks for the bootloader.

Anyway thanks for trying.
It does look like the ATmega is damaged. The JTAG and ISP are both disabled on the ATmega in my C3024, so no other way to access it.

You have the same problem with new CPU that the JTAG and ISP pins are used for other C3024 functions, so need to be disabled. I did not do this on my test C3024, and retain JTAG, but lose the 4 analog ports. I made an adapter cable from JTAG to 4 servo connectors, and also added an extra pin in the reset pad.

For a new ATmega, you will also need the bootloader code, since the C3024 code checks it is there, and won't run robobasic programs without it. Let me know if you want that too, or just disable the cC3024 ode which checks for the bootloader.

Anyway thanks for trying.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Previous
19 postsPage 2 of 21, 2
19 postsPage 2 of 21, 2